I have seen in few example where the negative pid was used with 'kill' command to kill all process of a user. Could someone please let me know how it can be done?
Will kill all your processes, including the shell you're on/your ssh connection
kill -9 -1 -1
to kill all d process including login shell:
kill -9 0
Could someone please let me know how does it works? using above example how can I kill all the process of a particular uid/user?