|
||||||
|
These are some bash/ksh/tcsh/... tricks I've collected. I'm placing them here because, typically I'm away from my personal machine when I most need one.
Fast Process Search (fps) - I'm constantly checking to see if a certain program or process is running. This helps reduce the typing and the clutter.
function fps {
(( $# )) &&
ps -aux | sed -n "1p;/_µµµµ_µµµµ_fps_µµµµ_µµµµ_/d;/$1/p" ||
echo "Usage: fps <search string>"
}
|
|