Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Oct 1999 13:06:21 -0500 (CDT)
From:      "Paul T. Root" <proot@iaces.com>
To:        tMind@bigfoot.com (Tenacious)
Cc:        ethanol@netvigator.com (Ethanol Yip), freebsd-questions@FreeBSD.ORG
Subject:   Re: "Command not found"
Message-ID:  <199910251806.NAA18727@iaces.com>
In-Reply-To: <006501bf1f0b$766512e0$3c29a8c0@tci.rdo> from "Tenacious" at Oct 25, 1999 01:07:39 PM

next in thread | previous in thread | raw e-mail | index | archive | help
By default "." (the directory you are currently in) is not in your $PATH.

Either put "." in you $PATH, which is dangerous and insecure, or run
the command as ./sysinstall or ./a.out.



In a previous message, Tenacious said:
> 
> This is a multi-part message in MIME format.
> 
> ------=_NextPart_000_0060_01BF1EE9.EA37C540
> Content-Type: text/plain;
> 	charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
> 
> Try /stand/sysinstall
> or cd /stand; ./sysinstall
>   ----- Original Message -----=20
>   From: Ethanol Yip=20
>   To: freebsd-questions@freebsd.org=20
>   Sent: Tuesday, October 19, 1999 10:45 AM
>   Subject: "Command not found"
> 
> 
> 
>   Dear Sir,
> 
>                   I am new to FreeBSD.
>   =20
>                   During my first logon after re-installing the FreeBSD, =
> I executed the command sysinstall in /stand but failed, with a message =
> "command not found". Similarly, after my successful compilation of my C =
> source, the same message appeared when I executed the file a.out or any =
> executables created by ( cc -o executable source).
>   =20
>                   In both cases, I can "see" the executables and list =
> them by ls.
>   =20
>                   Is there something wrong with the FreeBSD or my =
> working environment?
>   =20
>   Ethanol
>   =20
> 
>   =20
>   =20
> 
> ------=_NextPart_000_0060_01BF1EE9.EA37C540
> 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 content=3D"text/html; charset=3Diso-8859-1" =
> http-equiv=3DContent-Type><!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 =
> HTML//EN">
> <META content=3D"MSHTML 5.00.2721.2900" name=3DGENERATOR>
> <STYLE></STYLE>
> </HEAD>
> <BODY bgColor=3D#ffffff>
> <DIV><FONT size=3D2>Try /stand/sysinstall</FONT></DIV>
> <DIV><FONT size=3D2>or cd /stand; ./sysinstall</FONT></DIV>
> <BLOCKQUOTE=20
> style=3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: =
> 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
>   <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
>   <DIV=20
>   style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
> black"><B>From:</B>=20
>   <A href=3D"mailto:ethanol@netvigator.com" =
> title=3Dethanol@netvigator.com>Ethanol=20
>   Yip</A> </DIV>
>   <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A=20
>   href=3D"mailto:freebsd-questions@freebsd.org"=20
>   =
> title=3Dfreebsd-questions@freebsd.org>freebsd-questions@freebsd.org</A> =
> </DIV>
>   <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Tuesday, October 19, 1999 =
> 10:45=20
>   AM</DIV>
>   <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> "Command not =
> found"</DIV>
>   <DIV><BR></DIV>
>   <DIV>&nbsp;</DIV>
>   <DIV><FONT color=3D#000000 size=3D2>Dear Sir,</FONT></DIV>
>   <DIV>&nbsp;</DIV>
>   <DIV><FONT color=3D#000000=20
>   =
> size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
> p;&nbsp;&nbsp;&nbsp;&nbsp;=20
>   <FONT color=3D#000000>I am new to FreeBSD.</FONT></FONT></DIV>
>   <DIV><FONT color=3D#000000 size=3D2><FONT =
> color=3D#000000></FONT></FONT>&nbsp;</DIV>
>   <DIV><FONT color=3D#000000 size=3D2><FONT=20
>   =
> color=3D#000000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
> sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
>   During my first logon after re-installing the FreeBSD, I executed the =
> command=20
>   sysinstall in /stand but failed, with a message "command not found".=20
>   Similarly, after my successful compilation of my C source, the same =
> message=20
>   appeared when I executed the file a.out or any executables created by =
> ( cc -o=20
>   executable source).</FONT></FONT></DIV>
>   <DIV><FONT color=3D#000000 size=3D2><FONT =
> color=3D#000000></FONT></FONT>&nbsp;</DIV>
>   <DIV><FONT color=3D#000000 size=3D2><FONT=20
>   =
> color=3D#000000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
> sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
>   In both cases, I can "see" the executables and list them by=20
>   ls.</FONT></FONT></DIV>
>   <DIV><FONT color=3D#000000 size=3D2><FONT =
> color=3D#000000></FONT></FONT>&nbsp;</DIV>
>   <DIV><FONT color=3D#000000 size=3D2><FONT=20
>   =
> color=3D#000000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
> sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
>   Is there something wrong with the FreeBSD or my working=20
>   environment?</FONT></FONT></DIV>
>   <DIV><FONT color=3D#000000 size=3D2><FONT =
> color=3D#000000></FONT></FONT>&nbsp;</DIV>
>   <DIV><FONT size=3D2>Ethanol</FONT></DIV>
>   <DIV><FONT size=3D2></FONT>&nbsp;</DIV>
>   <DIV>&nbsp;</DIV>
>   <DIV><FONT color=3D#000000 size=3D2><FONT =
> color=3D#000000></FONT></FONT>&nbsp;</DIV>
>   <DIV><FONT color=3D#000000 size=3D2><FONT=20
> color=3D#000000>&nbsp;</FONT></FONT></DIV></BLOCKQUOTE></BODY></HTML>
> 
> ------=_NextPart_000_0060_01BF1EE9.EA37C540--
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 


-- 
"The doctors X-rayed my head and found nothing."
-- Dizzy Dean explaining how he felt after being hit on the head by a
   ball in the 1934 World Series


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?199910251806.NAA18727>