You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
288 B
Plaintext
14 lines
288 B
Plaintext
# percol
|
|
#
|
|
# adds flavor of interactive filtering to the traditional pipe concept of UNIX shell
|
|
|
|
# to install percol
|
|
sudo pip install percol
|
|
|
|
# interactive pgrep version
|
|
ps aux | percol | awk '{ print $2 }'
|
|
|
|
# interactive pkill version
|
|
ps aux | percol | awk '{ print $2 }' | xargs kill
|
|
|