|
RE: [Webware-devel] output redirect syntax?
From: Jeff Johnson <jeff@bo...> - 2001-10-19 13:28
|
I was in tcsh, I tried from bash and it works great, thanks! > -----Original Message----- > From: webware-devel-admin@... > [mailto:webware-devel-admin@... Behalf Of Chuck > Esterbrook > Sent: Thursday, October 18, 2001 5:45 PM > To: Jeff Johnson; Webware-devel@... > Subject: Re: [Webware-devel] output redirect syntax? >=20 >=20 > 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. >=20 >=20 > Different shells have slightly different syntaxes for this.=20 > So my first=20 > guess is that your shell is different from the one where 2>&1=20 > usually works. >=20 > Try > echo $SHELL to find out. Try switching from [ba]sh to=20 > [t]csh or the=20 > other way around. As in /bin/bash or /bin/csh. >=20 > Also, I don't think 2&>1 is right, but if the above doesn't=20 > work, you could=20 > try it. >=20 >=20 > -Chuck >=20 >=20 > _______________________________________________ > Webware-devel mailing list > Webware-devel@... > https://lists.sourceforge.net/lists/listinfo/webware-devel >=20 |
| Thread | Author | Date |
|---|---|---|
| RE: [Webware-devel] output redirect syntax? | Jeff Johnson <jeff@bo...> |