From owner-freebsd-questions Sun Jun 1 13:33:41 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id NAA03885 for questions-outgoing; Sun, 1 Jun 1997 13:33:41 -0700 (PDT) Received: from tangelo.lal.ufl.edu ([204.199.163.200]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id NAA03880 for ; Sun, 1 Jun 1997 13:33:36 -0700 (PDT) Received: from bates-dialup (204.199.163.191) by tangelo.lal.ufl.edu (EMWAC SMTPRS 0.81) with SMTP id ; Sun, 01 Jun 1997 16:36:50 -0400 Message-ID: From: "Brad Bates" To: "FreeBSD-questions" Subject: Re: a.out programs are not executable! Makefiles Date: Sun, 1 Jun 1997 16:13:57 -0400 X-MSMail-Priority: Normal X-Priority: 3 X-Mailer: Microsoft Internet Mail 4.70.1161 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk <- 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