how to log out from all instances of unix?
i have log in to my unix home directory through telnet from windows machine.
While working with vi editor, suddenly it stopped responding to any keystroke. So i have closed the telnet window by clicking on "X" on top right corner. so that window got closed but the instance of unix is still alive. So next time i have log in to unix through telnet. Now i have typed the command 'who' and it shows me two instances of the same user. One is previous and second is that i have just log in. Now if i want to log out from both the instances of unix then how can i do it? Because whenever i typed 'exit' or cntrl D it will exit from current instance but that previous is always alive. Please help me as early as possible. |
First you type
Code:
w Code:
ps aux Code:
kill 123 Code:
kill -9 123 Note that the missing session is harmless and will eventually (after one minute or so) go away by itself, so the above exercise is pretty much useless. Groetjes, Kees-Jan |
All times are GMT -5. The time now is 05:15 PM. |