> -----Original Message----- > From: Chuck Carson [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 18, 2001 12:33 PM > To: Red Hat Mailing List (E-mail) > Subject: Silly grep problem within script > > > > > I am trying to grep for a process as follows: > > [root@ora3]:/usr/local/admin# ps -ef | grep ntpd > root 24634 1 0 Jan11 ? 00:40:21 /usr/local/bin/ntpd -p > /var/log/ > root 27476 27214 0 09:25 pts/21 00:00:00 grep ntpd > How about ps -ef | grep ntpd | grep -v grep -v tells grep to display all lines that don't match the string. John _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
- Re: SCSI adapter recognizes external or inter... Mikkel L. Ellertson
- Re: SCSI adapter recognizes external or inter... Edward Dekkers
- Re: Silly grep problem within script jcunning
- Re: Silly grep problem within script Cameron Simpson
- Re: Silly grep problem within script John H Darrah
- Re: Silly grep problem within script rpjday
- Re: Silly grep problem within script Bret Hughes
- Re: Silly grep problem within script Cameron Simpson
- Re: Silly grep problem within script Bret Hughes
- Re: Silly grep problem within script Harry Putnam
- RE: Silly grep problem within script John MacLean
- RE: Silly grep problem within script rpjday
- RE: Silly grep problem within script Thierry ITTY
- RE: Silly grep problem within script Matthew Melvin
- RE: Silly grep problem within script Thierry ITTY