To find our your current shell, do;
tty
Now we know not to kill anything with that tty
We can then do;
ps -ru username
then we can kill the PID with;
kill -HUP PID (for anything that isnt your current tty)
see also here
Heisenberg - Digital Alchemist, Software Architect, Automation Specialist and Mechanical Engineer.
To find our your current shell, do;
tty
Now we know not to kill anything with that tty
We can then do;
ps -ru username
then we can kill the PID with;
kill -HUP PID (for anything that isnt your current tty)
see also here
No comments:
Post a Comment
Note: only a member of this blog may post a comment.