Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Sep 1996 16:05:18 -0700
From:      "John W. Rasins" <jrasins@interramp.com>
To:        gordon rios <rios@ricochet.net>
Cc:        questions@freebsd.org
Subject:   Re: Quick Question
Message-ID:  <2.2.16.19960917230518.864f4f68@pop3.interramp.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2.2.16.19960917230518.864f4f68>