Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-26-2007, 09:43 AM   #1
Registered: Apr 2003
Location: Billerica, MA
Posts: 114

Rep: Reputation: 15
Frozen Shell session...

Hey folks,

I have a frozen shell session and I'm not sure how to recover it.

I opened one up a session via CTRL+ALT+F1 (tty1) and while reading about kmsg and attempted to do a 'sudo most /proc/kmsg'. I haven't seen the prompt return.

I can't seem to abort whatever it's doing. CTRL-Z/C doesn't work. If I run 'sudo top' in another console session (I can switch back over to Gnome to run one in a window), I don't see most listed, though I do see lynx which is a paused job in that session, but...

Can anyone offer some suggestions? I'd like to recover the session if possible. As a nifty aside, I'd like to know what I could have done in a situation where I couldn't have switched to Gnome? Reboot?

Thanks everyone!!



Last edited by tcv; 05-26-2007 at 09:59 AM.
Old 05-26-2007, 10:06 AM   #2
Registered: Apr 2003
Location: Billerica, MA
Posts: 114

Original Poster
Rep: Reputation: 15
Ah! I got it.

First, I now understand that CTRL-ALT-F2 brings up a terminal on TTY2.


I ran 'ps' and found the process and PID.

I then ran, as sudo, 'kill 7501'. Of course, 7501 was the PID.

That fixed it! Yay!



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
Automate FTP session using Shell Script kalyanofb Programming 2 04-07-2007 09:44 AM
logging a shell/bash session? JustinHoMi Linux - Software 6 04-10-2005 12:34 AM
Frozen Bubble.. is Frozen!?!?! clearestchannel Linux - Games 2 12-04-2004 08:38 PM
command to open new shell session supergrass Linux - General 3 07-28-2004 02:56 AM
shell script to autologin into a telnet session eastj1974 Linux - General 1 11-17-2003 08:58 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:02 AM.

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