Tagged Questions
5
votes
4answers
1k views
Finding the ID of a process and killing it
When ever I need to kill a background process I do ps -e | grep <process_name>
Which prints something like this 1766 ? 00:00:13 conky , Then I use the process ID to kill it like so kill 1766 .
...
9
votes
6answers
5k views
pgrep and pkill alternatives on mac os x?
Are there alternatives to pgrep and pkill commands on Mac OS X or should I just create aliases for them using other commands available for me?