Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jun 1997 16:13:57 -0400
From:      "Brad Bates" <>
To:        "FreeBSD-questions" <>
Subject:   Re: a.out programs are not executable!  Makefiles
Message-ID:  <>

Next in thread | Raw E-Mail | Index | Archive | Help
<- 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 ;)


Want to link to this message? Use this URL: <>