Re: $PATH question

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Nathan England
Date:  
To: Main PLUG discussion list
Subject: Re: $PATH question

I would guess the file is not executable.

chmod +x ~/bin/foo.sh



On Wednesday, February 26, 2014 09:18:31 PM Dazed_75
wrote:
> I thought $PATH contained the series of paths searched

to find an
> executable file by the name specified on the command

line. Specifically if
> my $ENV contains a $PATH which reads:
>
> /home/larry/bin:<more paths>
>
> that an executable file like foo.sh found in

/home/larry/bin/ could be run
> by simply typing foo.sh on the command line. What am

I doing wrong as it
> does not work though it does if I type ./bin/foo.sh

while in /home/larry/?
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss