mirror of
https://github.com/cheat/cheat.git
synced 2024-12-18 18:55:06 +01:00
2592e8face
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.
6 lines
101 B
Plaintext
6 lines
101 B
Plaintext
# Basic
|
|
grep pattern file
|
|
|
|
# Recursively grep for string <pattern> in folder/
|
|
grep -R pattern folder
|