This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bash,pentesting one-liners and stuff | |
Basics | |
grep case insensitive | |
grep -i "<this>" <file> | |
grep recursively | |
grep -ir "<this>" <directory> | |
grep with word match only (string starting/ending with non-word constituent character) | |
grep -wi "<this>" <file> | |
remove/delete filename from grep output | |
grep -hi "<this>" <file> |