[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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






Reply to: