This subchapter looks at kill, a UNIX (and Linux) command.
kill is used to stop processes.
kill is a builtin command in csh. There is also an external utility with the same name and functionality.
which processes can be killed
An ordinary user can only kill his or her own processes.
A system administrator running as root (including using sudo) can use kill on any process on the entire system.
frozen process
Sometimes a process (particularly web browsers) will freeze up. The kill command can be used to rmove the frozen program from the system.
If a user finds their display locked up because of a frozen program, he or she can login to another computer, then login to the original system using rlogin, and then use the kill command to stop the offending process using the specific process ID.
killall
killall is a related command. killall program_name will stop all processes with the program name, so the more specific kill with a specific process ID is usually used first.
process isolation
UNIX does a very good job of keeping processes isolated from each other, so that no rogue process can attack or damage any other process.
Unlike Windows, a frozen or crashed program on UNIX or Linux shouldnt be able to bring the entire operating system to a halt.
Most UNIX vendors carefully test their own system software and most of the system software has been running and tested for decades, so those programs rarely cause problems.
Most bugs occur in third party software and in custom software developed for a particular installation.
Coding example: I am making heavily documented and explained open source code for a method to play music for free almost any song, no subscription fees, no download costs, no advertisements, all completely legal. This is done by building a front-end to YouTube (which checks the copyright permissions for you).
Create your own copy from the original source code/ (presented for learning programming).
Work on this project is very slow because I am homeless. I am available for work if someone can provide an indoor place to work in Costa Mesa, California, electricity, internet connections, a flat raised working surface (such as a table or desk), a sitting device (such as a chair or stool), and a fully functional reasonably modern used computer. Im already homeless, so you dont need to pay me (and I understand how much business people hate the minimum wage law). Just give me a chance to work.
Building a free downloadable text book on computer programming for university, college, community college, and high school classes in computer programming.
If you like the idea of this project, then please donate some money.
send donations to: Milo
PO Box 1361
Tustin, California 92781
At the time I am homeless. This greatly interferes with my ability to create this project, which can help nearly 20 million U.S. college students and more than 150 million students world-wide. I am looking for 30 rich people or corporations willing to donate $10 a month to my church so that the church can provide a place indoors for me to continue work. If you want to donate, please see help project. Thanks much.
Supporting the entire project:
If you have a business or organization that can support the entire cost of this project, please contact Pr Ntr Kmt (my church)
UNIX used as a generic term unless specifically used as a trademark (such as in the phrase UNIX certified). UNIX is a registered trademark in the United States and other countries, licensed exclusively through X/Open Company Ltd.
Names and logos of various OSs are trademarks of their respective owners.