PrepAway - Latest Free Exam Questions & Answers

Which output will appear if the command, ./script.sh test1 test2, is entered?

The script, script.sh, consists of the following lines:
#!/bin/bash
echo $2 $1
Which output will appear if the command, ./script.sh test1 test2, is entered?

PrepAway - Latest Free Exam Questions & Answers

A.
test1 test2

B.
test2 test1

C.
script.sh test2

D.
script.sh test1

E.
test1 script.sh


Leave a Reply