From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp Subject: Re: Execute a file? Date: Tue, 07 Apr 1998 20:25:28 -0400 Organization: Cornell University (http://www.cornell.edu/) Lines: 20 Sender: asu1 AT cornell DOT edu (Verified) Message-ID: <352AC3F8.5141A1D@cornell.edu> References: <352a8a59 DOT 16307231 AT news DOT hiway DOT fi> NNTP-Posting-Host: cu-dialup-2126.cit.cornell.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk JODE wrote: > > Hmmm..I just compiled a small program of mine..under > linux..and made it executable with the command > chmod u+x ("myliteprog") > How can I execute it? I tried to type > mylitleprog, it just answered No such command! this is the wrong place to ask the question. however, note that under unix, as opposed to dos, the current directory is _not_ in the path. so, you should be able to run your program by typing ./mylittleprog. -- ---------------------------------------------------------------------- A. Sinan Unur Department of Policy Analysis and Management, College of Human Ecology, Cornell University, Ithaca, NY 14853, USA mailto:sinan DOT unur AT cornell DOT edu http://www.people.cornell.edu/pages/asu1/