Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Can. Google "kill" or "init".
There is no defense against a fool in Shvabodny.
Can.
You can even kill the terminal process itself, from which the command is called.
You can even kill the entire system by deleting one file :)
Direct answer to the question
ps ax | awk '{print $1}' | xargs kill
Why unpredictable? The first in the awk PID 1 list is /sbin/init.
When I ran this full command, my session just ended without warning and without saving data in applications (well, I didn’t open or do anything much, and the tab browser restored itself) .
Interestingly, manually killing a process with PID 1 does not work (operation not allowed).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question