LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 03-30-2008, 03:30 PM   #1
Thaidog
Member
 
Registered: Sep 2002
Location: Hilton Head, SC
Distribution: Gentoo
Posts: 616

Rep: Reputation: 32
Question 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?
 
Old 03-30-2008, 03:42 PM   #2
ChooseLife
Member
 
Registered: May 2007
Distribution: Ubuntu, RHEL, Slackware
Posts: 46

Rep: Reputation: 17
yes, you can simply kill the terminal/ssh session - use ps to find out PID, and then use kill to terminate the process
 
Old 03-30-2008, 03:51 PM   #3
Thaidog
Member
 
Registered: Sep 2002
Location: Hilton Head, SC
Distribution: Gentoo
Posts: 616

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by ChooseLife View Post
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!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a way to log terminal sessions? bostonantifan Ubuntu 2 10-26-2007 04:30 PM
Logging out and starting new sessions through command terminal Cinematography Linux - General 2 09-26-2007 05:52 PM
kill opened sessions aizkorri Linux - Newbie 3 09-25-2003 09:08 AM
multiple sessions on a dumb terminal rsbecker007 Linux - Hardware 3 06-26-2002 08:00 PM
Terminal Sessions Lcurrah Linux - General 2 09-13-2001 03:17 AM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration