lkml.org 
[lkml]   [1996]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Gack, this shouldn't happen under a stable OS I think
Date
In linux.dev.kernel, article <dy8f2e.gp4@bigred.inka.de>,
Olaf Titz <olaf@bigred.inka.de> writes:
>
> If you really need grep on a ps listing, e.g. to find processes of a
> certain program, the standard way to do this is grepping out the grep:
> ps -aux | grep "httpd" | grep -v grep

ps -aux | grep "[h]ttpd"

works just as well.

--
The question of whether a computer can think is no more interesting
than the question of whether a submarine can swim.
-- Edsger W. Dijkstra
--
Matthias Urlichs \ noris network GmbH / Xlink-POP Nürnberg
Schleiermacherstraße 12 \ Linux+Internet / EMail: urlichs@noris.de
90491 Nürnberg (Germany) \ Consulting+Programming+Networking+etc'ing
PGP: 1024/4F578875 1B 89 E2 1C 43 EA 80 44 15 D2 29 CF C6 C7 E0 DE
Click <A HREF="http://info.noris.de/~smurf/finger">here</A>. 42

\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.048 / U:3.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site