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@jardine.de> 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)
Reply to: