[GREP,NMAP,RM,WGET] Add new cheats

This commit is contained in:
ImmortalPC
2014-07-29 18:01:04 +02:00
parent e5093db169
commit 22a33dc5d3
4 changed files with 24 additions and 3 deletions

View File

@ -24,3 +24,6 @@ grep -rnw 'directory' -e "pattern"
# Exclude grep from your grepped output of ps.
# Add [] to the first letter. Ex: sshd -> [s]shd
ps aux | grep '[h]ttpd'
# Colour in red {bash} and keep all other lines
ps aux | grep -E --color 'bash|$'