[X-Unix] Question about using RsyncX
Brian Medley
bpm-list-osx-unix at 4321.tv
Thu Jan 29 17:48:18 PST 2004
On Thu, Jan 29, 2004 at 07:02:35PM -0600, Brian Medley wrote:
> > I could redirect the output into a file no problem but don't know how to
> > "bi-direct" it to screen AND file. Can anybody tell me how?
>
> $ echo `uname -a` 2>&1 | tee ~/uname.output
I forgot to mention...the 2>&1 business assumes bash (it's redirecting
STDERR to STDOUT).
--
~'`^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^`'~=-., \|/ (___) \|/ _,.-=~'`^`
@~./'O o`\.~@
"Knowledge is Power" /__( \___/ )__\ *PPPFFBT!*
-- Francis Bacon `\__`U_/'
_,.-=~'`^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^`'~= <____|' ^^`'~=-.,__,.-=
~`'^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^`'~=-.,__,.-==--^'~=-.,__,.-=~'`^`
More information about the X-Unix
mailing list