LinuxQuestions.org
Help answer threads with 0 replies.
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 08-30-2005, 07:23 AM   #1
changcheh
Member
 
Registered: Nov 2003
Location: china
Distribution: Linux Mint
Posts: 49

Rep: Reputation: 15
how to exit a terminal


Is there a way to exit a terminal (aterm) immediately if I am sued in as root user?

I don`t want to type exit twice, e.g. once to get back to normal user (quit su mode) and then again to exit as normal user.
 
Old 08-30-2005, 07:46 AM   #2
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 46
Kill the window. . ?

killall aterm. . ?

Write a script that finds the process ID of the original user's login shell & kills it. . ?
 
Old 08-30-2005, 07:47 AM   #3
$in
LQ Newbie
 
Registered: Dec 2003
Distribution: Slackware current
Posts: 27

Rep: Reputation: 15
you can just press Ctrl-D twice

or shut the window with Alt-F4
 
Old 08-30-2005, 07:55 AM   #4
changcheh
Member
 
Registered: Nov 2003
Location: china
Distribution: Linux Mint
Posts: 49

Original Poster
Rep: Reputation: 15
thanks Ctrl-D twice seems the best, as I sometimes have a few aterms running and killall aterm would nuke them.

johnny
 
  


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
difference between exit 1 and exit kushalkoolwal Programming 6 10-20-2005 03:56 PM
Mandrake login won't exit terminal oxwilder Mandriva 2 10-12-2005 05:55 PM
I don't want the terminal to exit! dbcoder Linux - Software 15 07-29-2005 09:39 PM
Terminal Service client full screen exit JVWay Linux - Software 1 03-22-2005 07:51 AM
Loose display on X exit or terminal switch hematose Linux - General 2 08-15-2004 04:22 PM


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