From owner-freebsd-questions Fri Jan 14 20:26:12 2000 Delivered-To: freebsd-questions@freebsd.org Received: from smtp1.cybersurf.net (smtp1.cybersurf.net [209.197.145.111]) by hub.freebsd.org (Postfix) with ESMTP id 3286D14FAF for ; Fri, 14 Jan 2000 20:26:05 -0800 (PST) (envelope-from 01031149@3web.net) Received: from webserver ([209.197.159.17]) by smtp1.cybersurf.net (Netscape Messaging Server 4.05) with SMTP id FOD0BF00.GEL; Fri, 14 Jan 2000 21:26:03 -0700 Message-ID: <00f601bf5f10$cdf898c0$119fc5d1@webserver> From: "Duke Normandin" <01031149@3web.net> To: , "Ray D. Davis" Subject: Re: How to run compiled program Date: Fri, 14 Jan 2000 20:17:33 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3612.1700 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3612.1700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG From: Ray D. Davis To: freebsd-questions@FreeBSD.ORG Date: Friday, January 14, 2000 6:41 PM Subject: How to run compiled program >I am on ver 2.8. I have compiled an equivalent of hello world in both c >and c++ using both the default a.out method and the -o option. Yet when I >try to execute the file which is supposed to be linked, by typing >the file name, eg. ntest, the system says ntest: not a command. Looking at >the contents of the file it >appears more like an object file than executable. What is the dumb thing I >am doing??? Sounds like you're a newbie to Unix like I am ;-)) ./ntest should make your day! If I'm wrong, someone on this planet will climb my frame and we'll both learn something. Your original fiasco has to do with file permissions I think -- another freaking thing I've got to get up to speed on. later.......-duke To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message