GenWikiLinux
From birchyHistory
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''' | + | '''egrep''' is replaced with '''grep -E''') |
− | + | '''fgrep''' is replaced with '''grep -F''') | |
− | + | ||
− | + | ||
− | '''fgrep''' | + | |
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" |