make shell executable code example
Example 1: make shell script executable
chmod +x filename.sh
Example 2: how to execute a bash script in terminal
$ chmod +x fileName
$ ./fileName
Example 3: linux make executable
chmod 755 file.sh
chmod +x filename.sh
$ chmod +x fileName
$ ./fileName
chmod 755 file.sh