Linux Command Line (63) kill process

Опубликовано: 20 Октябрь 2024
на канале: MichaelsTechTutorials
3,743
56

We can kill a process in top by pressing the "k" key, then typing in the PID and pressing enter to confirm. Standard Linux users can only kill their own jobs. privileged Linux users can kill their own processes and other Linux users processes. Privileged users can not kill processes started by the kernel.

To kill a process from the command line we would type the full word kill then the PID of the process we want to kill. If the process does not stop, we can add -9 to the kill command to stop the process. We should always try kill before kill -9. Kill -9 could leave some files in an improper state.

See the complete LCL playlist at:    • Linux Command Line  (01) What Is The ...  

Website link:
https://thefrugalcomputerguy.com/linu...