jlevy / the-art-of-command-line

Master the command line, in one page
150.74k stars 14.4k forks source link

Better coverage of pidof, pgrep, pkill, ps aux | grep ... #475

Open jlevy opened 7 years ago

jlevy commented 7 years ago

Following on to #462... We may want something like this:

Thoughts/elaborations?

sakshamsharma commented 7 years ago

I personally keep an alias:

alias proc='ps -e | grep'

I find this rather very convenient. Also, pkill being pattern kill, it is important to note that it may sometimes do unwanted things. A pkill iref would kill firefox for instance. This ought to be mentioned.