Quote (irimi @ Dec 19 2012 09:43pm)
use screen
$ screen
should load up a new shell inside a screen session
while inside the screen session, run whatever command it is that you want
$ foo
Running foo, this is going to take 3 days....
From there, hit ctrl+a ctrl+d to get out of the screen back to your normal shell, and exit.
To return to the screen, in the normal shell, type:
$ screen -r
Google some how-tos and stuff if you want to learn more about using screen.
-----------
Oh, and yes, you can't move an existing shell session into a screen session. You will have to restart the job.
this i dont do anything outside screen really. dont see why anyone would...