I got stuck when chmod a file.
At the bottom of this page,about “Scripts“, I did san exercise according to the guide. But en error appeared. Mac OS X, the information on the command line listed below.
$ nano myscript
$ chmod 755 myscript
$ myscript
-bash: myscript: command not found
I am confused. Could you point out the question? Any responses would be appreciated.
Thank you!
.is not in your path. Use./myscript.