How do I kill all background processes in Linux?

Việt Quân

New member
How do I kill all background processes in Linux?
Answer
You can use the command ps auxf to view a hierarchical tree of all running processes. Once you have obtained the PID or process name, use
killall
or kill to terminate the process as above. Another option to find the PID is though pgrep .
 

Tìm kiếm

Back
Top