Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tutorials/learnshell.org/en/Pipelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Then you want to see only the first 10 results

Grep searches for patterns in each file. Patterns is one or more patterns separated by newline characters, and grep prints each line that matches a pattern. Typically patterns should be quoted when grep is used in a shell command.

ls / | grep # This will grab any line/file that has a matching pattern in it
ls / | grep 'pattern' # This will grab any line/filename that has a matching pattern in it

Exercise
--------
Expand Down