Skip to content

Commit

Permalink
fix: wrong grep params (#222)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbogatzki authored Jul 5, 2022
1 parent 74473b5 commit 5ecc3eb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ ps -a | grep vim
Show all processes, then filter the list down to only `vim` processes.

```
grep -Hv -C 3 -R password ./k8s/**/*.yaml | less
grep -Hn -C 3 -R password ./k8s/**/*.yaml | less
```

Search through all of the `yaml` files in my `k8s` folder, for the text 'password', show three lines of context, as well as the file name and number, and put the output in my pager so that it is easy to search through.
Expand Down

0 comments on commit 5ecc3eb

Please sign in to comment.