LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Can you kill off other sessions (gui and terminal) (https://www.linuxquestions.org/questions/linux-general-1/can-you-kill-off-other-sessions-gui-and-terminal-631745/)

Thaidog 03-30-2008 03:30 PM

Can you kill off other sessions (gui and terminal)
 
When I do a w or who command from ssh I sse that I am logged in to the gui several times along with a few other ssh sessions. Is there a way, maybe from root, to kill those extra sessions?

ChooseLife 03-30-2008 03:42 PM

yes, you can simply kill the terminal/ssh session - use ps to find out PID, and then use kill to terminate the process

Thaidog 03-30-2008 03:51 PM

Quote:

Originally Posted by ChooseLife (Post 3105201)
yes, you can simply kill the terminal/ssh session - use ps to find out PID, and then use kill to terminate the process

Ok... that was easy enough! thx!


All times are GMT -5. The time now is 04:39 PM.