linux execute file code example
Example 1: how to run shell script
chmod +x <fileName>
./fileName. # or use ->. bash fileName
Example 2: linux make executable
chmod 755 file.sh
Example 3: linux how to execute a file
./file_name.sh
chmod +x <fileName>
./fileName. # or use ->. bash fileName
chmod 755 file.sh
./file_name.sh