how to run a file from terminal debian code example
Example 1: ubuntu make sh file executable
chmod +x <fileName>
sudo ./<fileName>
Example 2: how to run shell script
chmod +x <fileName>
./fileName. # or use ->. bash fileName
chmod +x <fileName>
sudo ./<fileName>
chmod +x <fileName>
./fileName. # or use ->. bash fileName