LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   how to exit a terminal (https://www.linuxquestions.org/questions/linux-general-1/how-to-exit-a-terminal-358432/)

changcheh 08-30-2005 07:23 AM

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.

oneandoneis2 08-30-2005 07:46 AM

Kill the window. . ?

killall aterm. . ?

Write a script that finds the process ID of the original user's login shell & kills it. . ?

$in 08-30-2005 07:47 AM

you can just press Ctrl-D twice

or shut the window with Alt-F4 :)

changcheh 08-30-2005 07:55 AM

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

johnny


All times are GMT -5. The time now is 07:05 AM.