parallel bash scripts

Dave Ihnat dihnat at dminet.com
Tue Mar 27 23:00:42 UTC 2012


On Tue, Mar 27, 2012 at 06:06:56PM -0400, bruce wrote:
> anyway i can redirect the err/out to the stdout.. instead of the
> nohut.out file??

The usual way would be to do a tail -f on the output file, e.g.,

  nohup cat.sh 2>&1 >cat.log
  tail -f cat.log

If you're using bash, IIRC, you could reap the background ID and then use
'disown', I suppose.  "$!" should give you that.

Cheers,
--
	Dave Ihnat
	President, DMINET Consulting, Inc.


More information about the users mailing list