what is .sh file code example
Example 1: how to run a .sh file
./yourscript.sh
Example 2: .sh file example
#!/bin/bash
echo "Hi How Are Ya"
Example 3: run sh file
sh yourfile.sh
./yourscript.sh
#!/bin/bash
echo "Hi How Are Ya"
sh yourfile.sh