Question: 16-20 Please 16. In a Bash script, what is the first instruction that must appear in the script? a. b. ?. d, e. bash #bash
16. In a Bash script, what is the first instruction that must appear in the script? a. b. ?. d, e. bash #bash #1/bin/bash # None of these, you do not need to put any specific instruction as the first in your script 17. True/false: To run a script, the text file storing the script must be made executable 18. True/false: A Bash script can include Linux commands. 19. Given the following script, alter it so that all output is sent to the file script output.txt #1/bin/bash echo Hello SUSERNAME echo Today's date is 'date echo Your current directory is SPWD 20. What is wrong with the following script? /bin/bash FIRST-Frank SECOND Zappa FULL-$FIRST $SECOND echo SFULL a. There should be quote marks around $FIRST $SECOND b. There should be no $ before FIRST, SECOND or FULL c. There should be quote marks around Frank and around Zappa d. You did not declare the variables FIRST, SECOND and FULL e. There is nothing wrong with the script
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
