cheat-fork-echo/cheatsheets/grep
adelviscio 2592e8face Removed duplicate example, updated description of another example.
Removed cat file | grep pattern as cat file is unnecessary.  The command becomes 'grep pattern file' again - which is the same as the first example.

Updated #Advanced description to be more descriptive.
2013-09-01 16:00:18 -04:00

5 lines
101 B
Text

# Basic
grep pattern file
# Recursively grep for string <pattern> in folder/
grep -R pattern folder