Dec 032009

From: Guy Hammer

Here is a script to save a bunch of keystrokes. Make a file /usr/local/bin/psgrep . Paste the following into it:

# psgrep – search for a process by pattern.

ps -ef | grep -v grep | grep $1

Make the script world executable. Now you just have to type ‘psgrep matrix’.

 Posted by at 2:49 am

 Leave a Reply