[olug] Trapping Strange Output
Joe Catanzaro
joecatanzaro at cox.net
Thu Apr 1 22:18:43 UTC 2004
Tom,
That did the trick. Thanks for your help.
At 4/1/2004 03:37 PM Thursday, you wrote:
>Some applications will not write to stdout, but to /dev/tty. Perhaps you
>need to
>use the -t option on ssh.
>
>Tom Roehr
>
>Quoting Joe Catanzaro <joecatanzaro at cox.net>:
>
> > I'm trying to trap the output of the following command.
> >
> > ssh -l user1 box1 -o BatchMode=yes ". /export/home/user1/.profile 2>&1
> > 1>/dev/null;. /home/superuser/fixer/sync.user1.env;/home/superuser/fixer
> > 78758000002063 002 X"
> >
Joe Catanzaro
joecatanzaro at cox.net
More information about the OLUG
mailing list