Kill program Mac OSX terminal can sometimes be necessary
For those who don't know what xkill is: it is a Unix tool which basically kills the process of any windows you click on. A Windows port can be downloaded here. Apple OS X 64-bit Application Active@ KillDisk for Mac is an easy-to use & compact freeware utility that allows to sanitize attached media storage with the 24 international data sanitizing standards. It permanently erases all data on Hard Disks, Solid State Drives, Memory Cards & USB drives, SCSI storage & RAID disk arrays.
Even though OS X is a pleasure to work with, we have all had a program or process freeze up. It won’t quit by using “Force quit”. What do you do now? Fortunately, this can be solved quite easily. To kill program Mac OS X terminal on Leopard / Snow leopard / Lion do the following commands:
Get the ID of the program
Xkill For Macbook Pro
Kill the program
This will give you the number of the processes found (if any). Now just close them with this command
Xkill For Mac Os
![Xkill for mac os Xkill for mac os](/uploads/1/1/8/9/118944629/456536576.png)
So, for example to kill my activity monitor program
Now the offending program will shut down immediately, no matter what it was doing. This is, however, a last resort. You will lose any unsaved changes.
![Xkill For Mac Xkill For Mac](/uploads/1/1/8/9/118944629/137765033.gif)
Xkill For Macbook
What happens behind the scenes when you kill the program is a bit different from regular operations. Normally, the operating system asks the program nicely to go away. With the above kill command, it simply shuts it down immediately without asking or telling it anything. There you go. Gone.
Xkill For Macbook Air
Has this post got you interested? Would you like to learn how to do more interesting stuff in OS X’s terminal , than just kill a program. Then read these 10 commands. Even more interested? The OS X terminal is built on top of bash, and you can read more about it in this tutorial.