sol.
Sunday, April 21, 2013
grep Boolean Operators
OR (equivalent variations)
grep "foo\|bar" grep -E "foo|bar" egrep "foo|bar" grep -e foo -e bar
AND (use grep twice)
grep foo | grep bar
NOT
grep -v foo
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment