Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Try either pidof or killall' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Try either pidof or killall
Authored by: cubal on Jan 14, '04 07:27:27AM

Also check out `pidof` which returns the process id of a named process. However, like another poster said, killall is probably the way to go.

killall iTunes
kill `pidof iTunes`
will do exactly the same thing - and neither need to be checked. If there's no 'iTunes', they'll just not do anything.

[ Reply to This | # ]