[98300] in RedHat Linux List
Re: Running a C program
daemon@ATHENA.MIT.EDU (UNIXMAN)
Sun Nov 8 00:26:31 1998
Date: Sun, 8 Nov 1998 00:35:43 -0500 (EST)
From: UNIXMAN <jzygmont@alpha.confederationc.on.ca>
To: Ronnie Thum <csi41298@wira2.cs.usm.my>
Cc: Red Hat Mailing List <redhat-list@redhat.com>
In-Reply-To: <Pine.SUN.3.91.981108101802.17162A-100000@wira2>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
ya, it's like that to run any executable program (from a directory that's
not in your path) you'd just have to edit your .bash_profile and put a .
in the path (that's right, just a period) BTW, i heard that doing this
for the root login can create a security hole but you're probably just
running linux on a standalone anyways right?
On Sun, 8 Nov 1998, Ronnie Thum wrote:
>
> Hi,
>
> Whenever I run a C program compiled in GCC ver 2.7.2.3, I need to type
> './programname'.
> Why can't I just type 'programname' ?
> Is there any settings I need to change ?
>
> TIA
>
> Rgds
> Ronnie
>
>
> --
> PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
> http://www.redhat.com http://archive.redhat.com
> To unsubscribe: mail redhat-list-request@redhat.com with
> "unsubscribe" as the Subject.
>
>
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.