22
Dec
How do I run .sh file shell script in Linux?
The procedure to run the .sh file shell script on Linux is as follows:
- Set execute permission on your script:
chmod +x script-name-here.sh - To run your script, enter:
./script-name-here.sh
Another option is as follows to execute shell script:
sh script-name-here.sh
ORbash script-name-here.sh
0 comments