We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8767b9 commit fefc3e6Copy full SHA for fefc3e6
README.md
@@ -12,6 +12,7 @@ Handy list of oft-used Linux commands that I will never remember. Not intended t
12
- [Networking](#networking)
13
- [fish](#fish)
14
- [wget](#wget)
15
+ - [grep](#grep)
16
- [System Setup](#system-setup)
17
- [Essential Installs in Ubuntu LTS Minimal](#essential-installs)
18
- [Increasing swap memory](#increasing-swap)
@@ -104,6 +105,14 @@ chsh -s `which fish`
104
105
wget -r -np -R "index.html" -nH -e robots=off --cut-dirs=X <download_URL>
106
```
107
108
+### grep
109
+
110
+```bash
111
+# https://www.grymoire.com/Unix/Grep.html
112
+# find pattern in files
113
+grep --include=\*.{py, c, h} --exclude=\*.o --exclude-dir={dir1,dir2,*.dst} -rnw '/path/to/somewhere/' -e "pattern"
114
+```
115
116
## System Setup
117
### Essential Installs
118
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments