Thanks to all with such a quick response.
----------------- answer -----------------
The winner was Sheila Hollenbaugh with a corrected version of the command
with a response back in 5 minutes.
Also thanks to those like Jeff B. that responded with other
suggestions. The tested and working answer is:
tar cv /data >& tarout &
the > redirects standard output
the first & redirects standard error
the second & puts the whole command in the background.
Thanks to all again.
Bob P.
robert.prizzi_at_grc.nasa.gov
-------------- original question ---------------
At 08:28 AM 05/25/2001 -0400, you wrote:
>To All,
>I have a command that works as root, but not as a regular user.
>The command is as follows:
>
>tar cv /data 2>&1 | tee tarout
>
>The basis for the script is to tar the /data directory to tape. Take the
>standard output and put it to a file. If there is a better way,
>suggestions are welcome. I have tried many things, and this one works as
>root, but no-one else.
>Thanks,
>Bob P.
>robert.prizzi_at_grc.nasa.gov
Received on Fri May 25 2001 - 12:50:05 NZST