LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-04-2010, 12:45 AM   #1
michaelinux
Member
 
Registered: Apr 2009
Location: El Salvador
Distribution: Slackware -current
Posts: 166

Rep: Reputation: 17
[SOLVED]recover a compiling terminal??


i just had the most horrible experience of my entire life... i'd been compiling for about 3 hours and accidentally closed my terminal
OH!!! it was horrible!!! anyway now im just.... ANGRY!!!
for the next time if this happen again, is there a way to "recover" the process i was doing before closing the terminal, it feels so awful.

well i guess i'm just gonna have to be more careful next time....

Last edited by michaelinux; 07-04-2010 at 06:07 PM.
 
Old 07-04-2010, 01:02 AM   #2
lucmove
Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian Wheezy, Slackware
Posts: 604

Rep: Reputation: 69
If that is the most horrible experience of your entire life, you have a very good life.

What do you mean by "closed your terminal"? Was it a GUI-based virtual terminal, like konsole or gnome-terminal? In that case, the session is lost.

If you were on SSH, the session is lost too.

The next time, I suggest you use GNU screen or nohup.

http://en.wikipedia.org/wiki/GNU_Screen

http://en.wikipedia.org/wiki/Nohup

Just being more careful should be enough, though.
 
Old 07-04-2010, 04:37 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,160

Rep: Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643
*
The good news : compiling usually starts again
with files not compiled in the first session.

Everything will just be run over again with the reply:
" Nothing to do ".
.....
 
Old 07-04-2010, 10:54 AM   #4
arizonagroovejet
Senior Member
 
Registered: Jun 2005
Location: England
Distribution: SLED, openSUSE
Posts: 1,032

Rep: Reputation: 174Reputation: 174
FWIW if I have anything running in a Terminal that I know will take a while and I want to make sure I won't interrupt it I open a new tab in that Terminal window so the tab where the compiling is happening no longer has focus, then I minimize the window, then I put the window on a workspace I'm not using for anything.
 
  


Reply

Tags
compiling, slackware, software, 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
compiling using the terminal elsparko Programming 13 05-18-2010 10:31 PM
Recover/Change UNIX root password from SSH terminal Dopamine Linux - Newbie 13 09-30-2009 07:19 PM
c++ vtk code compiling from terminal njac Programming 3 05-07-2008 11:11 PM
Compiling and launching java from the terminal marcoguillen Linux - Software 7 03-25-2007 04:43 AM
filesystem: recover or not to recover? bdp Linux - General 3 06-06-2003 04:40 AM


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