![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| grep command | christine33990 | UNIX for Dummies Questions & Answers | 11 | 05-06-2008 02:45 AM |
| how to exclude the GREP command from GREP | yamsin789 | UNIX for Advanced & Expert Users | 2 | 10-05-2007 02:59 AM |
| grep command help | ishmael^soyuz | Shell Programming and Scripting | 4 | 07-11-2007 09:01 AM |
| grep command | pmsuper | UNIX for Dummies Questions & Answers | 6 | 11-22-2006 07:12 AM |
| grep command | debasis.mishra | Shell Programming and Scripting | 1 | 03-28-2006 01:53 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
ps | grep command
Hi All,
Looking for an explanation. [sayantan:~/mydir$] ps -ef |grep sandipan sayantan 18975 18550 97 14:54 pts/3 00:00:17 ./sandipan sayantan 18981 3700 0 14:54 pts/4 00:00:00 grep sandipan [sayantan:~/mydir$] ps -ef |grep sandipan sayantan 18975 18550 97 14:54 pts/3 00:00:17 ./sandipan |
|
||||
|
When you run "grep sandipan" that becomes an entry in the process listing.
Whether you see it or not depends on whether ps completes before the shell execs the grep. "|" means that processes are executed in parallel, they may or may not actually overlap depending on the scheduler. |
![]() |
| Bookmarks |
| Tags |
| grep, regex |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|