From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,1e4dcb4d6024ba24 X-Google-Attributes: gidfee84,public X-Google-Thread: f8c9b,1e4dcb4d6024ba24 X-Google-Attributes: gidf8c9b,public From: Barry Margolin Subject: Re: why my path can't work properly? Date: 1998/04/03 Message-ID: <5V8V.6$R91.280679@cam-news-reader1.bbnplanet.com>#1/1 X-Deja-AN: 340565018 References: NNTP-Posting-Date: Fri, 03 Apr 1998 12:22:09 EST Originator: barmar@bbnplanet.com (Barry Margolin) Organization: GTE Internetworking, Cambridge, MA Newsgroups: comp.unix.questions,comp.unix.osf.osf1 In article , Bo Pan wrote: >I am using OSF1 V4.0 alpha. my path is set as (use echo $PATH): >/usr2/users/bpan/bin:/usr/bin:/usr/dt/bin:/usr/bin/X11:. >there is a excutable file hello in bpan/bin, I do following: > >tom1 [bpan]% hello >hello: Command not found. Is hello a script of some kind? This can happen if the filename in the #! line at the beginning doesn't exist. Also, that filename has to be a full path; the system won't search for it in PATH. -- Barry Margolin, barmar@bbnplanet.com GTE Internetworking, Powered by BBN, Cambridge, MA *** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.