1830142 Members
24055 Online
109999 Solutions
New Discussion

nohup question

 
Allanm
Super Advisor

nohup question


I have this command which I issue to make a code build. How can I issue it with a nohup.

#(build_for_dev develop current 2>&1)|tee logdevelop.082907

Thanks.
2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: nohup question

Shalom,

nohup
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Dennis Handly
Acclaimed Contributor

Re: nohup question

First of all, remove your tee. You shouldn't use that command.
Simply write directly to logdevelop.082907 and if you are snoopy, do a tail on it.
(Unless you wanted that output to nohup.out?)

Also, remove your (). So this ends up as:
nohup build_for_dev develop current > logdevelop.082907 2>&1 &

If you want to look at it, you can use tail -f. When you get bored, control-C. And you can redo the tail later.