[WBEL-users] Shell Script Cannot run binary file
Johnny Hughes
mailing-lists@hughesjr.com
Sun, 06 Jun 2004 11:49:20 -0500
--=-If+las/zBTU4kO51x/Fo
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
On Sun, 2004-06-06 at 11:32, John Hinton wrote:
> Wondering if anybody else has experienced this. I can run this binary
> from the command line. If I make the exact same call from within a shell
> script, it gives a
>
> cannot execute binary file
Make sure you are either calling the full path to the file (i.e.
/bin/grep) ... or you have your PATH variable set in the script (i.e.
PATH=/bin:/usr/bin:/usr/local/bin)
Johnny Hughes
--=-If+las/zBTU4kO51x/Fo
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.0.9">
</HEAD>
<BODY>
On Sun, 2004-06-06 at 11:32, John Hinton wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE><FONT COLOR="#737373"><I>Wondering if anybody else has experienced this. I can run this binary
from the command line. If I make the exact same call from within a shell
script, it gives a
cannot execute binary file</I></FONT></PRE>
</BLOCKQUOTE>
Make sure you are either calling the full path to the file (i.e. <B>/bin/grep</B>) ... or you have your PATH variable set in the script (i.e. <B>PATH=/bin:/usr/bin:/usr/local/bin</B>)<BR>
<BR>
Johnny Hughes
</BODY>
</HTML>
--=-If+las/zBTU4kO51x/Fo--