mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-17 16:00:46 +00:00
Update cheatsheets
This commit is contained in:
@@ -26,7 +26,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Print 3 lines of [C]ontext around, [B]efore or [A]fter each match:
|
||||
|
||||
`grep --{{context|before-context|after-context}} 3 "{{search_pattern}}" {{path/to/file}}`
|
||||
`grep {{--context|--before-context|--after-context}} 3 "{{search_pattern}}" {{path/to/file}}`
|
||||
|
||||
- Print file name and line number for each match with color output:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user