LPI
101-400 · Question #414
Which of the following commands print the current working directory when using a Bash shell? (Choose two.)
The correct answer is A. echo "${PWD}" C. pwd. See the full explanation below for the reasoning.
Question
Which of the following commands print the current working directory when using a Bash shell? (Choose two.)
Options
- Aecho "${PWD}"
- Becho "${WD}"
- Cpwd
- Dprintwd
- Eecho "${pwd}"
How the community answered
(39 responses)- A72% (28)
- B5% (2)
- D8% (3)
- E15% (6)
Community Discussion
No community discussion yet for this question.