LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices

Reply
 
Search this Thread
Old 04-12-2010, 08:51 AM   #1
amit_nsharma
LQ Newbie
 
Registered: Apr 2009
Posts: 2

Rep: Reputation: 0
How to shutdown the command terminal


Hi,

Please consider the following scenario:

1) 5 different terminals are opened on the same physical machine (not using putty) as a user ROOT
2) I need to shutdown only one(1) terminal out of the 5 terminals
3) I do not know the opening time of terminal
4) The only thing I know about the terminal to be closed is the "Title" of every terminal session

This is a practical problem which I need to execute. Please provide me the help at the earliest..

Thanks
Amit
 
Old 04-12-2010, 10:42 AM   #2
ctkroeker
Senior Member
 
Registered: May 2005
Location: Paraguay
Posts: 1,565
Blog Entries: 1

Rep: Reputation: 50
Hi!

What is your question?
 
Old 04-12-2010, 11:53 PM   #3
amit_nsharma
LQ Newbie
 
Registered: Apr 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by amit_nsharma View Post
Hi,

Please consider the following scenario:

1) 5 different terminals are opened on the same physical machine (not using putty) as a user ROOT
2) I need to shutdown only one(1) terminal out of the 5 terminals
3) I do not know the opening time of terminal
4) The only thing I know about the terminal to be closed is the "Title" of every terminal session

This is a practical problem which I need to execute. Please provide me the help at the earliest..

Thanks
Amit

Can anyone please help me close any 1 specific terminal session out of 5 ?
 
Old 04-13-2010, 01:31 AM   #4
bakdong
Member
 
Registered: Apr 2009
Posts: 214

Rep: Reputation: 44
Look at the output of w, who, and/or last to get the tty number, then log that one out.
 
  


Reply

Tags
close, terminal


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I resize the terminal window from the command line in the gnome terminal QuIcKSpArK Linux - Newbie 5 04-21-2012 02:04 PM
[SOLVED] How to Disable the Terminal Beep when running the Shutdown command? Zoot Linux - General 6 09-03-2009 02:06 PM
'shutdown' command causing unclean shutdown silentwol Linux - Software 3 07-01-2009 02:01 AM
Please help on how to save services shutdown or shutdown from the terminal. wambuzz Linux - General 2 03-11-2005 07:38 AM
shutdown and restarting in terminal chrismiceli Linux - General 1 10-26-2002 08:15 PM


All times are GMT -5. The time now is 06:51 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