Merge branch 'master' of github.com:ImmortalPC/cheat into ImmortalPC-master

* 'master' of github.com:ImmortalPC/cheat:
  [GREP,NMAP,RM,WGET] Add new cheats
This commit is contained in:
Chris Lane
2014-10-18 18:41:32 -04:00
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|$'