logging out leaving a command running

Yuki Cuss celtic at sairyx.org
Mon Jan 23 07:04:49 UTC 2006


email.listen at googlemail.com wrote:

>Am Mon, 23. January 2006 06:03 schrieb Byron Poland:
>  
>
>>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?
>>    
>>
>
>nohup $command
>
>man nohup:
>NAME
>       nohup - run a command immune to hangups, with output to a non-tty
>
>SYNOPSIS
>       nohup COMMAND [ARG]...
>       nohup OPTION
>
>DESCRIPTION
>       Run COMMAND, ignoring hangup signals.
>  
>
screen is still a better idea. It's actually in a pty (where some 
programs will disagree without one), and you can come back to it to see 
how it's going, give it a little push if it wants some interaction ..





More information about the ubuntu-users mailing list