logging out leaving a command running

Peter Lieverdink ubuntu at cafuego.net
Mon Jan 23 05:11:42 UTC 2006


Byron Poland wrote:
> I'm on the road for work.  I have a mythtv box set up at home
> recording HD content.  I can ssh into my network, and execute a script
> on my ubuntu workstation that transcodes shows I chose.  I have to
> stay logged in for the script to continue.
> 
>  I want to beable to log in real quick start the command log out with
> the confidence that the script will continue.
> Any suggestions?

Either use 'screen' to run the command, then detach the screen. (You can 
reattach the screen when you log back in) or use 'nohup' in front of the 
command you want to run. ("nohup script-name &", then logout).

- P.




More information about the ubuntu-users mailing list