Re: ".profile" & BASH in PATH?
>>
>> > To run a script from the current directory: ./shell.script
>> > This is because the currect directory isn't in the path, for security
>> reasons.
>>
>> Can you elaborate? Should this be changed? How do I fix this?
>> Thanks,
>> bw.
You could make a directory $HOME/bin and put your shell scripts there, and
also add it to your PATH in your user .profile:
PATH=$PATH:/home/username/bin
export PATH
That would be better than just adding "." to your PATH.
--
Andrew
Reply to: