[H-GEN] Detaching in putty (was Re: General Digest, Vol 64, Issue 17 (was Script E-book ?))

Benjamin Fowler somelamer567 at gmail.com
Sun Feb 22 16:20:51 EST 2009


Hello all,

On 22 Feb 2009, at 21:03, John Howell wrote:

> how about nohup
>
> ie:
> nohup myjob.sh > myjob.std 2>myjob.err &
>
> Then you can log on and look at the logs. I don't think you'll be able
> to
> interact with it again.

My favoured solution for long running jobs that I might want to  
interact with again in the future is to use screen(1).  It was more  
useful in the old days when people could only get shell or green- 
screen access to their boxen (or if you, like me, were stuck on  
annoyingly buttoned down university student servers which only ever  
permitted one login at a time).

If interaction isn't needed, consider using cron.  "man crontab" for  
the details.


> On 23/02/2009, at 6:29 AM, general-request at lists.humbug.org.au wrote:
>
>> Send General mailing list submissions to
>> 	general at lists.humbug.org.au
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>> 	http://lists.humbug.org.au/mailman/listinfo/general
>> or, via email, send a message with subject or body 'help' to
>> 	general-request at lists.humbug.org.au
>>
>> You can reach the person managing the list at
>> 	general-owner at lists.humbug.org.au
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of General digest..."

Whoops!

>>
>>
>>
>> Today's Topics:
>>
>>  1. Re: Detaching in putty (was Script E-book ?) (David Duffy)
>>  2. Re: Detaching in putty (was Script E-book ?)
>>     (QuarkAV.com - Hilton Travis)
>>  3. Re: Detaching in putty (was Script E-book ?) (David Duffy)


By the way, top-posting and replying to list digests will get you into  
trouble with some of the more pedantic or anal-retentive subscribers  
on this list.  I recommend familiarizing yourself with the HUMBUG  
Netiquette guidelines that Anthony Towns put together a while back:

http://www.humbug.org.au/netiquette.php

HTH,

Ben.






More information about the General mailing list