Re: nohup, but not nohup.out -- how to?



On Sat, Jan 13, 2007 at 09:45:56PM +0100, mouss wrote:
Jhair Tocancipa Triana wrote:
Dave Sherohman writes:


On Fri, Jan 12, 2007 at 10:29:02AM -0500, Nelson Castillo wrote:

On 1/12/07, David Jardine <david@xxxxxxxxxx> wrote:

On Fri, Jan 12, 2007 at 12:45:44PM +0530, vikrant vig wrote:

Nohup.out got larga enough and I don't want to redirect nohup output
neither
to nohup.out nor to any other file.

How can I do it???

nohup <command> > /dev/null

nohup <command> > /dev/null 2>/dev/null &



nohup <command> &>/dev/null &


Do you all mean

nohup command > /dev/null 2>&1

instead?

:)



or for those who don't feel confortable with redirections:

# ln -sf /dev/null nohup.out; nohup command; rm nohup.out

Well, I wasn't aware that the OP wanted to lose his error
messages, but then on re-reading his post it occurred to me
that he might not want to lose anything - he doesn't want
the output redirected so he wants it on the screen. Have we
all been getting it completely wrong? ;-)

--
David Jardine

"Running Debian GNU/Linux and
loving every minute of it." -L. von Sacher-M.(1835-1895)


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: xine under sarge
    ... David Jardine wrote: ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... Trouble? ...
    (Debian-User)
  • Re: your mail
    ... a file in a security-sensitive area has been tampered with. ... David Jardine ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: new kernel panics
    ... David Jardine wrote: ... Sorry, yes menu.lst is correct, the typo was in the email ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... Trouble? ...
    (Debian-User)
  • Re: new kernel panics
    ... David Jardine wrote: ... I refer you to the answer I gave earlier (UK parlimentary joke) ... No need to put yourself to any trouble. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Why Disable Root ssh login?
    ... but I think she meant rat's tail. ... David Jardine ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)