1)Create a folder in your home directory and let's call it myscripts.
2)Do ls -lart on your home directory, to identify the start-up script your shell is using. It should either be .profile or .bashrc.
3)Once you have identified the start up script, add the following line in your script - export set PATH=$PATH:~/myscript.
4)Once added, source your start-up script or log out and log back in.
5)Execute your script using script name.
Congo!!