Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I had been working with maybe 6 tabs open in various directories, when I left for a small vacation. Upon returning, I discover a power outage must have rebooted my machine. Is there any way for me to recover my lost tabs? I'm mostly interested in the directories I was in, but also the history for each tab would be very useful.

EDIT: I am using Scientific Linux (SLC5), and the shell I use is bash.

share|improve this question
    
While general questions are fine, in this case it would probably be helpful to provide more information such as what terminal emulator and shell you were using. However, I think you are out of luck because I haven't heard of any tabbed terminal emulators that have such session saving. –  jw013 May 2 '12 at 8:45
    
I'm using scientific linux (SLC5) and bash. I don't need full session saving, just any way of figuring out what directies I was in prior to the crash. –  user1247 May 2 '12 at 9:14
3  
gnome-terminal? I still think you are out of luck. bash doesn't handle history across multiple independent concurrent instances very gracefully. If you had any applications that leave temporary files in the working directory open at the time of the crash searching for those might be one approach. Otherwise I don't think there's much you can do. –  jw013 May 2 '12 at 9:22
    
Yeah, gnome-terminal. OK, that's too bad. Thanks! –  user1247 May 2 '12 at 9:27
    
You can configure your shell for that (at least zsh, not sure what bash can do). If you haven't, you're pretty much screwed. –  Gilles May 2 '12 at 22:46

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.