grep

Differences between revisions 1 and 2
Revision 1 as of 2008-08-24 03:38:47
Size: 193
Editor: martin0641
Comment:
Revision 2 as of 2008-08-24 03:40:54
Size: 326
Editor: martin0641
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:

 * Grep is used to search through the output of other commands or sources for strings, the following are some common invocations:

This is a ManXample entry for the "grep" command.

  • Grep is used to search through the output of other commands or sources for strings, the following are some common invocations:

1) To search all running processes and daemons for the string "happy", use the following command:

  • sudo ps -aux | grep happy

ManXamples/grep (last edited 2008-08-24 15:49:22 by martin0641)