Yeah, and that's the wrong answer since "env", like bogvt already said, only displays environment variables, NOT shell variables.
If you wanna list both, you have to use "set".
From these options if you try out in the terminal emulator only the env and ls is working so from the possible answers available here env is the best one but I agree that set should be available as an option
The better answer is 'set'. In these four options, I choose 'env'.
"set outputs all of the currently assigned shell variables and functions."
https://learning.lpi.org/en/learning-materials/102-500/105/105.1/105.1_02/#:~:text=set%20outputs%20all%20of%20the%20currently%20assigned%20shell%20variables%20and%20functions.
The correct answer, that's definitively "set" , is not listed between possible answers.
So, answer "env" may be the best worst answer?
Or it's just a wrong transcrition from the dump???
"The commands env , set , and printenv display all environment variables and their values."
If you can see environment variables, it means you can see both of environment and variables. So, the answer is env.
No, it's not! It never was and it never will. That answer of yours is WRONG. Read the man pages properly dude and stop spreading false information man. Bogvt is right
upvoted 4 times
...
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
bogvt
Highly Voted 3 years, 7 months agoErwinator
2 years, 11 months agoJodelo
2 years, 2 months agoCuriousLinuxCat
2 years, 1 month agoklever
Most Recent 8 months, 1 week agodrliu1202
1 year, 1 month agothiagowarwick
1 year, 3 months agolucaverce
1 year, 4 months agoisaac_paul
1 year, 9 months agoMIU
2 years, 9 months agoTimfdklfajlksdjlakf
2 years, 1 month ago