I have a script in
/home/username/scripts and I would like to execute it by just typing its name.
I know I could do '
export PATH=$PATH:/home/username/scripts' but I would like to have the same effect without having to export the path each time. For instance, if another user was to have a copy of the script they could just type "scriptname.sh" instead of "./scriptname.sh".