[PLUG] nohup output to different out file

Mehul Ved mehul.n.ved at gmail.com
Mon Nov 15 22:53:52 IST 2010


On Mon, Nov 15, 2010 at 7:26 PM, Pranav Peshwe <pranavpeshwe at gmail.com> wrote:
> One notable difference would be - `nohup command`  will *append* to
> nohup.out, while `nohup command > filename` will (owing to the '>') truncate
> the file to zero before writing.

That would be simple enough to solve, right. Just use >> instead of >.
See http://tldp.org/LDP/abs/html/io-redirection.html


-- 
With Regards,
Mehul Ved




More information about the Plug-mail mailing list