Zgodne linux sitnice – kako ubiti proces

1. A list of common Term signals :
SIGHUP (1) – Hangup detected on controlling terminal or death of controlling process. Use SIGHUP to reload configuration files and open/close log files.
SIGKILL (9) – Kill signal. Use SIGKILL as a last resort to kill process. This will not save data or cleaning kill the process.
SIGTERM (15) – Termination signal. This is the default and safest way to kill process.

2. Kill command syntax :
kill [signal] PID
kill -15 PID
kill -9 PID
kill [options] -SIGTERM PID
Ili komanda za ubijanje svih delatnosti vezanih za određeni proces ili servis :
# killall Process-Name-Here

3. Rules for permissions to kill a process :
You can kill all your own process.
Only root user can kill system level process.
Only root user can kill process started by other users.

4. Što je sve lepo i krasno, ali treba pronaći proces PID.
Ako znate kako se zove proces/servis :
# pidof lighttpd
# ps -axf | grep lighttpd
Ako znate koji je fajl/folder proces otvorio :
# lsof /home/velda/Desktop/Turgenjev

Dobar link1 i link2.