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 8 Question 91 Discussion

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

Which of the following commands lists all defined variables and functions within Bash?

Show Suggested Answer Hide Answer
Suggested Answer: B, C

Contribute your Thoughts:

Cherelle
13 days ago
Whoever came up with D. echo $ENV as an option must be living in a different universe. That's just silly.
upvoted 0 times
...
Louvenia
16 days ago
The correct answer has to be B. set. I remember learning that in my Bash scripting class.
upvoted 0 times
...
Reuben
2 months ago
I was thinking C. env -a, but now I'm second-guessing myself. Hmm, tough choice.
upvoted 0 times
Shelton
15 days ago
B) set
upvoted 0 times
...
Cory
18 days ago
A) env
upvoted 0 times
...
...
Geoffrey
2 months ago
I'm not sure, but I think A) env might also be a possible answer.
upvoted 0 times
...
Francene
2 months ago
I agree with you, Carmela. The set command lists all defined variables and functions in Bash.
upvoted 0 times
...
Avery
2 months ago
B. set is the way to go, no doubt about it. It's like the Swiss Army knife of Bash commands.
upvoted 0 times
Shawnna
1 months ago
D) echo $ENV
upvoted 0 times
...
Trinidad
1 months ago
C) env -a
upvoted 0 times
...
Fredric
1 months ago
B) set
upvoted 0 times
...
Luis
1 months ago
A) env
upvoted 0 times
...
...
Carmela
2 months ago
I think the answer is B) set.
upvoted 0 times
...

Save Cancel