On Fri, Sep 02, 2005 at 02:03:15PM +0200, Kai Grossjohann wrote:
> David Jardine <[EMAIL PROTECTED]> writes:
> 
> >     nuhup somecommand > somefile & sleep 1; tail -f somefile
> 
> That will write "nohup: appending output to `nohup.out'" to the file
> somefile :-)
> 
> The output from somecommand will still end up in nohup.out.

No it won't.  At least not on my system for a simple command like
'ls':

[EMAIL PROTECTED]:~$ ls
Desktop  Mail  Makefile  News  az  commands  cvs  pl  prog  tmp  web
[EMAIL PROTECTED]:~$ nohup ls > somefile & sleep 1; tail -f somefile
[1] 10084
[1]+  Done                    nohup ls >somefile
Makefile
News
az
commands
cvs
pl
prog
somefile
tmp
web

[EMAIL PROTECTED]:~$ ls
Desktop  Mail  Makefile  News  az  commands  cvs  pl  prog  somefile  tmp  web
[EMAIL PROTECTED]:~$ cat somefile
Desktop
Mail
Makefile
News
az
commands
cvs
pl
prog
somefile
tmp
web
[EMAIL PROTECTED]:~$ ls nohup*
ls: nohup*: No such file or directory
[EMAIL PROTECTED]:~$ nohup --version
nohup (GNU coreutils) 5.2.1

-- 
Maurits van Rees | http://maurits.vanrees.org/ [Dutch/Nederlands] 
Public GnuPG key:  http://maurits.vanrees.org/var/gpgkey.asc
"It can seem like you're doing just fine,
but the creep's creeping into your mind." - Neal Morse

Attachment: signature.asc
Description: Digital signature

Reply via email to