This commit is contained in:
Andrew Williams 2017-05-02 02:22:34 +00:00 committed by GitHub
commit 85457470f2

View file

@ -0,0 +1,7 @@
# Grep out of ps. Cut to 80 chars
function psgrep
{
/bin/ps alxw |head -1
/bin/ps alxw |grep $1 |grep -v "grep $1" |cut -c 1-$COLUMNS
}