problem updating src

Giorgos Keramidas keramida at
Mon Jun 13 09:54:01 GMT 2005

On 2005-06-13 04:41, Denny White <dennyboy at> wrote:
> Been using The Complete FreeBSD & doing okay until I tried using the
> following example to update /usr/src:
> cd /usr
> cvs co -r RELENG_5_4 src 2>&1 | tee /var/tmp/co.log
> I get this:
> Ambiguous output redirect

You're using the wrong shell.  The 2>&1 redirection for standard error
messages works fine in /bin/sh and its derivatives.  It doesn't in csh.

Run the command shown above in /bin/sh or Bash and everything should
work as expected.

- Giorgos

More information about the freebsd-questions mailing list