Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Aug 2002 07:04:57 -0600
From:      "Grant Cooper" <grant.cooper@nucleus.com>
To:        <questions@FreeBSD.org>
Subject:   executing a file in general
Message-ID:  <018e01c23d49$dd42e190$2afececd@TCOOPER>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_018B_01C23D17.928CFA50
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I normally use sh to execute a shell file even though some examples =
don't do it. I figure it has to do something with my shell. And than =
there are other times its not a script, but an executable file. Some =
files I can't run. Is there a command to man for this op? Or something =
to get me started?

For example:=20
# var/qmail/bin/qmail-popup blah /bin/checkpassword pwd
invalid command or file name - couldn't do a sh either. And I am running =
from route.

------=_NextPart_000_018B_01C23D17.928CFA50
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2716.2200" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I normally use sh to execute a shell =
file even=20
though some examples don't do it. I figure it has to do something with =
my shell.=20
And than there are other times its not a script, but an executable file. =
Some=20
files I can't run. Is there a command to man for this op? Or something =
to get me=20
started?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>For example: </FONT></DIV>
<DIV><FONT face=3DArial size=3D2># var/qmail/bin/qmail-popup blah =
/bin/checkpassword=20
pwd</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>invalid command or file name - couldn't =
do a sh=20
either. And I am running from route.</FONT></DIV></BODY></HTML>

------=_NextPart_000_018B_01C23D17.928CFA50--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?018e01c23d49$dd42e190$2afececd>