GenWikiLinux

From birchyHistory
Jump to: navigation, search
Line 26: Line 26:
 
  -iFr ignore case, simple string search, search current directory and subdirectories
 
  -iFr ignore case, simple string search, search current directory and subdirectories
  
'''egrep''' supports pipes ("or") (= grep -E)
+
'''egrep''' is replaced with '''grep -E''')
 
+
'''fgrep''' is replaced with '''grep -F''')
egrep "fruit|bread"
+
 
+
'''fgrep''' (fast grep, simple text, no RegEXp) (= grep -F)
+
  
 
Can pipe the output of another command
 
Can pipe the output of another command
 
 
  ls |grep blah lists all files in the current directory whose names contain the string "blah"
 
  ls |grep blah lists all files in the current directory whose names contain the string "blah"

Revision as of 13:12, 12 September 2015

Personal tools
Namespaces

Variants
Actions
Navigation
Tools