[ Date Index ]
[ Thread Index ]
[ <= Previous by date /
thread ]
[ Next by date /
thread => ]
Re: [LUG] shrinking nohup.out
- To: list@xxxxxxxxxxxxx
- Subject: Re: [LUG] shrinking nohup.out
- From: Dan Dart <dandart@xxxxxxxxxxxxxx>
- Date: Wed, 27 Apr 2011 11:52:04 +0100
- Delivered-to: dclug@xxxxxxxxxxxxxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=YQ+UHxzxoDcy04WgInqO97xAvgjNoH1kL2cEzKAP/WU=; b=WkLJ4A49nOmpoyQF7e94FH7e5B/3JjcjR7sg98gmyzis18t3FYpXB5adWJx8I7aJKX 6yKrCzYDSbyW/y0akDvzWamzwKO0uJE/9DGb2iLal/b1cLSFdOOSlPhqNy4+W50AiWZa HT9JmqGLxlqDRhcV60PjMNF6ff/6R39nyKryk=
> 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