Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Nohup.out part II

Status
Not open for further replies.

Igaduma

Technical User
Nov 23, 2001
322
BE
Hi all,

The process I started with the nohup script > nohup.out is generating waaay to many data, in 3 days it generated a 100Mb file which is not good.

Before, when I started it without specifying the output file it didn't seem to generate an output file, so no worries about /home being 100% full.

Is there a way to specify the nohup.out file to a location that doesn't exists so it will not increase untill 100% space reached? /dev/null maybe ?

Thanks;
I

 
you could always:
Code:
cd
rm nohup.out
ln -s /dev/null nohup.out
 
Hi Jad,
Just to understand what I'm doing:

That would create a symbolic link from /dev/null to nohup.out so that anything written to nohup.out would end up at /dev/null

How can you actually "describe" /dev/null ?

Will anything thrown at it really end up nowhere ?

Thanks,
I

 
Hi Ken,

Aaha, always thought'd it ment exactly just that..."The Great Bit Bucket In The Sky" but never had a real use for it. untill now.

Thanks for the info, will try it out

I
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top