1.

Write the command that is used to execute a shell file.

Answer»

Firstly, USE the chmod command to SET execute PERMISSION on your SCRIPT as shown below: 

chmod +x script-name-here.SH 

Secondly, run or execute your script as follows: 

./script-name-here.sh 

Alternatively, you can execute shell script by: 

sh script-name-here.sh



Discussion

No Comment Found