ubuntun run .sh\
chmod +x /path/to/yourscript.sh
how to execute .sh file in linux
./script-name-here.sh #Chage the "script-name-here" to the name of the .sh file.
linux run .sh in terminal
sh <name of file>.sh
Source: askubuntu.com