I have a shell script located under /home/myself/bin directory. I added its path to PATH variable in .profile by adding the line
export PATH=$PATH:/home/myself/bin
Then I sourced my .profile by the command source ~/.profile. Now when I run sh myscript.sh command it shows,
sh: 0: Can't open myscript.sh
Can anyone say me where I am going wrong?