I was in tcsh, I tried from bash and it works great, thanks! > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Chuck > Esterbrook > Sent: Thursday, October 18, 2001 5:45 PM > To: Jeff Johnson; [EMAIL PROTECTED] > Subject: Re: [Webware-devel] output redirect syntax? > > > At 05:21 PM 10/18/2001 -0400, Jeff Johnson wrote: > >I tried to redirect stdout and stderr to /dev/null but I get the > >following error. (FreeBSD 4.3) What am I doing wrong? > > > >dev5# ./AppServer start > /dev/null 2>&1 > >Ambiguous output redirect. > > > Different shells have slightly different syntaxes for this. > So my first > guess is that your shell is different from the one where 2>&1 > usually works. > > Try > echo $SHELL to find out. Try switching from [ba]sh to > [t]csh or the > other way around. As in /bin/bash or /bin/csh. > > Also, I don't think 2&>1 is right, but if the above doesn't > work, you could > try it. > > > -Chuck > > > _______________________________________________ > Webware-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/webware-devel >
_______________________________________________ Webware-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-devel
