Date: Tue, 13 Feb 2001 21:05:32 -0800 From: Dima Dorfman <dima@unixfreak.org> To: Peter Brezny <peter@black.purplecat.net> Cc: freebsd-questions@freebsd.org Subject: Re: redirecting output Message-ID: <20010214050533.04CE83E0C@bazooka.unixfreak.org> In-Reply-To: Message from Peter Brezny <peter@black.purplecat.net> of "Tue, 13 Feb 2001 15:31:21 EST." <Pine.BSF.4.05.10102131530370.10075-100000@black.purplecat.net>
next in thread | previous in thread | raw e-mail | index | archive | help
>
> I'm trying to redirect output from a process when i use this
>
> virtual2# nice ( /usr/bin/tar cvflj - /usr/local/scripts >
> /bkup/archive/`date +%y%m%d`-test.bz
> 2 ) 2 > & 1 > /bkup/archive/test.log
>
> It tells me i've got an ambiguous output redirect...
Are you using csh? Try:
whatever | your | command | is > & test.log
Dima Dorfman
dima@unixfreak.org
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010214050533.04CE83E0C>
