Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Linux Foundation Exam LFCS Topic 5 Question 100 Discussion

Actual exam question for Linux Foundation's LFCS exam
Question #: 100
Topic #: 5
[All LFCS Questions]

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?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Glory
20 hours ago
Hmm, this looks like a classic shell script argument handling question. I'll go with B) test2 test1.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77