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

Reply via email to