D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] shrinking nohup.out

 

> I'm running a job in nohup and wondering how (without stopping the current
> job) I can empty nohup.out as its getting a bit big but I only want the tail
> of it...

Periodically do echo > nohup.out - which will empty it by echoing
nothing into it, overwriting it...

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq