Problem:
Create a shell script like xx.sh. When running it on command line like "./xx.sh", it prompts "permission denied".
Solution:
In order to running a shell script as ./xx.sh, xx.sh must readable and executable.
So we should use command "chmod" first: chmod a+x xx.sh