Date: Sun, 1 Jun 1997 16:13:57 -0400 From: "Brad Bates" <bab@icon.lal.ufl.edu> To: "FreeBSD-questions" <FreeBSD-Questions@freebsd.org> Subject: Re: a.out programs are not executable! Makefiles Message-ID: <B0000004632@tangelo.lal.ufl.edu>
index | next in thread | raw e-mail
<- snip ->
> You might
> a) specify the full path /home/user/project/a.out
> b) use a relative pathname ./a.out
> c) add the CWD to your PATH PATH=$PATH:.; export PATH
>
> I prefer methodes a) and b) and I really dislike methode c), since you
> might call the wrong version of 'test' or whatever just because there's
> one file called this name in the current directory ("by chance" :).
> Methods a) and b) make you much more aware of what you're doing.
Not to mention the "elementary" security problems this can present
when someone lays a bogus (and evil) program in front of you...
<- snip ->
> --
> virtually yours -- G.Sittig@abo.FreiePresse.DE
>
> If you don't understand or are scared by any of the above
> ask your parents or an adult to help you.
Okay, but I don't think any of them are in my $PATH either ;)
bab
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B0000004632>
