2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-17 09:25:32 +00:00
cheat.sheets/sheets/percol

14 lines
288 B
Plaintext
Raw Normal View History

2017-06-07 13:23:13 +00:00
# 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