Answers for "how to create a .sh file"

3

.sh file example

#!/bin/bash

echo "Hi How Are Ya"
Posted by: Guest on May-29-2021
5

how to make a .sh file executable

chmod u+x <fileName>.sh
Posted by: Guest on May-30-2020
1

how to execute .sh file in linux

./script-name-here.sh #Chage the "script-name-here" to the name of the .sh file.
Posted by: Guest on October-14-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language