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


Click here to return to the 'Use killall' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Use killall
Authored by: kerbaugh on Jan 11, '03 04:09:06PM

Why not just use the killall command? It has a switch for regular expression match and more important, it has switches to make it interactive and to limit the scope of processes it will kill. I would think this much safer as people unfamiliar with regular expressions might kill a lot more than they bargained for.



[ Reply to This | # ]
Use killall on iTunes
Authored by: strandcos on Jan 11, '03 05:15:15PM

I like to listen to music when I go to bed. I could not find a "sleep" command in iTunes, so I use:
(sleep 3600;killall iTunes)&
From a shell, and it turns off iTunes after an hour. The number, obviously, is seconds.



[ Reply to This | # ]
Sleeping iTunes
Authored by: punkmanandy on Jan 11, '03 08:05:34PM

you can get a simple gui application called "iSleep" which will do the same thing, and more, but with a gui,



[ Reply to This | # ]
Use killall
Authored by: Erik Toh on Jan 11, '03 11:29:10PM

I'm not on OS X now but IIRC Apple does not include `killall` in any of the OS releases.



[ Reply to This | # ]
killall is available
Authored by: mingking on Jan 12, '03 12:52:35AM

It's on my machine. 10.2.3



[ Reply to This | # ]
Use killall
Authored by: thatch on Jan 12, '03 05:25:57PM

Have a look in /usr/bin because it's in there on my rig, 10.2.3.

And bash is in /bin too.



[ Reply to This | # ]