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

LPI 101-500 Exam - Topic 4 Question 126 Discussion

Which of the following shell commands makes the already defined variable TEST visible to new child processes? (Choose two.)
D) export TEST
A) visible TEST
B) declare +x TEST
C) declare --x TEST
E) export --v TEST

LPI 101-500 Exam - Topic 4 Question 126 Discussion

Actual exam question for LPI's 101-500 exam
Question #: 126
Topic #: 4
[All 101-500 Questions]

Which of the following shell commands makes the already defined variable TEST visible to new child processes? (Choose two.)

Show Suggested Answer Hide Answer
Suggested Answer: D

Contribute your Thoughts:

0/2000 characters
Ruthann
5 days ago
I feel confused about A and B.
upvoted 0 times
...
William
10 days ago
Definitely D. It exports the variable.
upvoted 0 times
...
Daisy
15 days ago
No way, E isn't valid.
upvoted 0 times
...
Pamela
20 days ago
I think it's D and E.
upvoted 0 times
...
Annita
25 days ago
I agree with D, but I’m not sure about B.
upvoted 0 times
...
Julio
1 month ago
No way, E) export --v TEST isn’t valid!
upvoted 0 times
...
Dylan
1 month ago
Wait, is C) declare --x TEST even a thing?
upvoted 0 times
...
Sabina
1 month ago
I think B) declare +x TEST is also correct.
upvoted 0 times
...
Cordell
2 months ago
D) export TEST is definitely one of them.
upvoted 0 times
...
Francisca
2 months ago
I agree, D is the right choice for making it visible!
upvoted 0 times
...
Regenia
2 months ago
Wait, can you really use --v with export? Sounds weird.
upvoted 0 times
...
Ammie
2 months ago
No way, it's not A) visible TEST!
upvoted 0 times
...
Wava
2 months ago
I thought it was B) declare +x TEST?
upvoted 0 times
...
Christa
2 months ago
It's definitely D) export TEST.
upvoted 0 times
...
Salley
3 months ago
I vaguely recall that "export" is the key command here, but I can't remember if there are any other options that work alongside it.
upvoted 0 times
...
Malcolm
3 months ago
I'm a bit confused about the options with "declare." I feel like they might not be the right choice for making a variable visible.
upvoted 0 times
...
Darrin
3 months ago
I remember practicing with similar questions, and I think "export TEST" is definitely one of the correct answers.
upvoted 0 times
...
Catina
4 months ago
I think the command to make a variable visible to child processes is related to exporting it, but I'm not entirely sure which one it is.
upvoted 0 times
...

Save Cancel