linux runn .sh code example
Example 1: ubuntu run a shell script
$ ./script_name.sh
// if it need sudo permission the type:
$ sudo ./script_name.sh
Example 2: run sh file
sh yourfile.sh
$ ./script_name.sh
// if it need sudo permission the type:
$ sudo ./script_name.sh
sh yourfile.sh