well, well
he is right as always.
OH NO , no best shell discussion 8-).
Peter Sternecker
R+V Allgemeine Versicherung AG
* mailto:Peter.Sternecker AT ruv DOT de
> -----Ursprüngliche Nachricht-----
> Von: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] Im
> Auftrag von Richard Sims
> Gesendet: Donnerstag, 7. Oktober 2004 17:56
> An: ADSM-L AT VM.MARIST DOT EDU
> Betreff: Re: AW: DSMSERV UNLOADDB
>
>
> On Oct 7, 2004, at 11:34 AM, Sternecker, Peter wrote:
>
> > if your TSM-Server runs on Unix
> >
> > shell command | tee path_to_logfile
> >
> > this sends output to the terminal and the logfile.
>
> That will pipe Stdout, but not Stderr, where scary stuff
> goes. You may instead want to do
>
> shell command 2>&1 | tee path_to_logfile
>
> or more conveniently use Cshell:
>
> command |& tee path_to_logfile
>
> This keeps important msgs from being lost.
>
> Richard Sims
>
|