parallel bash scripts

bruce badouglas at gmail.com
Tue Mar 27 23:06:46 UTC 2012


dave..

thanks.

but the script is a long running script, and i want to see the output
as the script is running without having to hit the keyboard..

so doing a tail of the file while the process is running isn't what
i'm looking for.

anything else?

thanks


On Tue, Mar 27, 2012 at 7:00 PM, Dave Ihnat <dihnat at dminet.com> wrote:
> 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.
> --
> users mailing list
> users at lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org


More information about the users mailing list