Re: Redirecting stdout and stderr into a file
On Wed, 10 Nov 2004 10:03:17 -0700, Rob Sims wrote:
>
> On Wednesday 10 November 2004 09:36 am, Otto Wyss
wrote:
> > Blake Swadling <blake@swadling.com> wrote:
> > > > but how can I redirect both together?
> > >
> > > grep 2>&1 logfile
> >
> > Sorry does not work, stderr comes still on the
> terminal.
>
> command > logfile 2>&1
> --
> Rob
>
The command is:
#command 2>./logfile
you are saying with the "2" you are telling stderr.
Regards.
--
Sergio Basurto J.
If I have seen further it is by standing on the
shoulders of giants. (Isaac Newton)
--
--
Reply to: