*BSD News Article 49808


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!pravda.aa.msen.com!spool.mu.edu!howland.reston.ans.net!news.sprintlink.net!gol2!gol1!usenet
From: MICHAEL <michael@gnj.or.jp>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: path question
Date: 31 Aug 1995 08:43:27 GMT
Organization: GNJ Spectrum
Lines: 20
Message-ID: <423snf$ist@gol1.gol.com>
NNTP-Posting-Host: admin.gnj.or.jp
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-2022-jp
Content-Transfer-Encoding: 8bit
X-Mailer: Mozilla 1.1N (Macintosh; I; PPC)
X-URL: news:comp.unix.bsd.freebsd.misc

Just to test out cc, I wrote and compiled a little C program. The
executable name is "test1". It was created in my home directory.

If I enter "test1" then the system reports that the command is not
found. However, if I enter "./test1" the command executed ok.

I checked the path by looking at "set" and the path includes
"/home/michael/bin", so I made a directory called bin and moved
test1 into bin. But when I enter "test1" it still is not found.

Can somebody fill me in as to what is going on?

Thanks,

MICHAEL __________________________________________
GNJ Spectrum Tokyo +81-3-5377-2401 (I%(J michael@gnj.or.jp
Featuring Internet, OneNet and Pride International Networks
IP Address 202.243.53.3, Port 3004