a guest Jun 18th, 2019 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- grep 'keyword1' file.log | grep 'keyword2'
- grep 'keyword1' file.log --color=always | grep 'keyword2'
- grep 'keyword1' file.log --color=always | GREP_COLORS="mt=01;34" grep --color=always 'keyword2'
- grep -E "<foo>.*<bar>" file
- grep -E "(foo|bar)" file
RAW Paste Data