execute a file in linux code example
Example 1: ubuntu make sh file executable
chmod +x <fileName>
sudo ./<fileName>
Example 2: how to execute a bash script in terminal
$ chmod +x fileName
$ ./fileName
Example 3: linux make executable
chmod 755 file.sh
Example 4: linux how to execute a file
./file_name.sh