$ psg(){ ps aux | grep -v grep | egrep -e "$1|USER"; }Function that searchs a process by its name and shows in the terminal.
* Shows the Header for reference
* Hides the process 'grep' from the list
* Case sensitive
by David Winterbottom (codeinthehole.com)
from All commands http://ift.tt/1zxM3b8
No comments:
Post a Comment