Detach running process?

albi at scii.nl albi at scii.nl
Sun May 15 18:58:33 UTC 2005


On Sun, 15 May 2005 13:49:22 -0500
Jesse Haubrich <jesse.haubrich at gmail.com> wrote:

> 
> > Is there any possibility to detach an already running process from a
> > console/ssh session? 
> 
> If you put double ampersands after the command it'll background it
> i.e. if you wanted to start gedit from the console "gedit &&" would do
> the trick.

as good is :
gedit &

another idea is to start using screen, very handy in combination with
ssh

0) sudo apt-get install screen
1) type : screen
2) type your favorite commands
3) hit ctrl-a and then ctrl-d

then, to reattach a running screen type : screen -r





More information about the ubuntu-users mailing list