GenWikiLinux

From birchyHistory
Jump to: navigation, search
(Created page with " [https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard Standard directory naming]")
 
Line 1: Line 1:
  
 
[https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard Standard directory naming]
 
[https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard Standard directory naming]
 +
 +
== GREP ==
 +
grep [options] "foo" [file(s)]
 +
 +
-i  ignore case
 +
-n  print line #s
 +
-l  just show filenames
 +
-x  exact matches only
 +
 +
foo can be any Regular Expression
 +
 +
 +
egrep supports pipes ("or")
 +
 +
egrep "fruit|bread"
 +
 +
fgrep (fast grep, simple text, no RegEXp)
 +
 +
Can pipe the output of another command

Revision as of 13:06, 12 September 2015

Personal tools
Namespaces

Variants
Actions
Navigation
Tools