From owner-freebsd-questions Tue Sep 17 16:04:45 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA20213 for questions-outgoing; Tue, 17 Sep 1996 16:04:45 -0700 (PDT) Received: from smtp2.interramp.com (smtp2.interramp.com [38.8.200.2]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id QAA20208 for ; Tue, 17 Sep 1996 16:04:43 -0700 (PDT) Received: from pp002382.interramp.com by smtp2.interramp.com (8.6.12/SMI-4.1.3-PSI-irsmtp) id TAA09011; Tue, 17 Sep 1996 19:04:33 -0400 Message-Id: <2.2.16.19960917230518.864f4f68@pop3.interramp.com> X-Sender: pp002382@pop3.interramp.com X-Mailer: Windows Eudora Pro Version 2.2 (16) Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Tue, 17 Sep 1996 16:05:18 -0700 To: gordon rios From: "John W. Rasins" Subject: Re: Quick Question Cc: questions@freebsd.org Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk At 03:14 PM 9/17/96 -0700, you wrote: >Hello: > >Sometimes in a directory I created from my home directory I get the error >filename: not found. Example: I compile hello.c into hello using make >(apparently successfully). I then type hello at the prompt and get the >message: "hello: not found" I have checked various books, man pages, >etc. and I am fairly sure I understand the basics of chmod, chown, etc. >Can you help? > >Thanks, >Gordon P. Rios Quick answer: PATH Your home directory is probably not one of the places to search per the PATH variable. Either add your home directory, or type in ./hello to execute the program (assuming that your home directory is your pwd). John