Question: Select all correct statements about the bash script below. Assume you are in a bash shell environment and no other shells are involved. ( Note:
Select all correct statements about the bash script below.
Assume you are in a bash shell environment and no other shells are involved.
Note: Line numbers are given only for references. Normal script do not have line numbers
line:
line:
line:
line:
line:
#binbash
#Note: Is called the shebang or hashbang
#file: bashsecexamplesh
# My first script #
echo "Hello World!"
line is a MUST line. without this line, the script will not run.
# sign in the script means they are comment lines and they are ignored but vital to have them to describe the script.
The only executable line in the script is line
When you run this script, it will fail and a result will not be produced.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
