D&C GLug - Home Page

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

Re: [LUG] shrinking nohup.out

 

On 27/04/11 11:52, Dan Dart wrote:
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...

I still want the last few lines though...
Tom te tom te tom

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