linux:grep

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
linux:grep [2017/04/26 02:24] mguptonlinux:grep [2017/04/26 02:27] (current) mgupton
Line 1: Line 1:
 ======grep====== ======grep======
-  * Use a regex with a character class so that the grep command itself doesn't appear in the output of a //ps// command. 
  
-<code bash> 
-ps -ef | grep -i "[f]oobar" 
-</code> 
  • linux/grep.1493173478.txt.gz
  • Last modified: 2017/04/26 02:24
  • by mgupton