roshi's tutorials

Kill the undesired UNIX processes in one go

Contributed by roshi on October 14, 2004 under UNIX

This recipe is useful when one wants to kill all the processes belonging to one user or having a particular regular expression in the process name.
One can use different options of “ps” and “grep” to kill the undesired process(es).

Comments Continue reading... 
 

Recursive grep

Contributed by roshi on October 7, 2004 under UNIX

This tip is for grepping a pattern even in the sub-directories of a particular directory in addition to the files in the current directory.

Since grep -R <> <> is not available on all flavors, this can be really helpful.

Comments Continue reading...