+x means a+x : all user can execute

$ chmod +x your-script-name
$ chmod 755 your-script-name





Examples:
$ bash bar
$ sh bar
$ ./bar



echo show on monitor


$ vi first
#
# My first shell script
#
clear
echo "Knowledge is Power"


$ ./first

Comments

Popular posts from this blog

Project euler 169 found clue

Floyd-Warshall's algorithm