nerdexam
LPI

101-500 · Question #414

101-500 Question #414: Real Exam Question with Answer & Explanation

The correct answer is A. echo "${PWD}" C. pwd. You've hit your Sonnet limit · resets Jun 8, 9am (UTC)

GNU and Unix Commands

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}"

Explanation

You've hit your Sonnet limit · resets Jun 8, 9am (UTC)

Topics

#pwd command#bash variables#PWD environment variable#shell basics

Community Discussion

No community discussion yet for this question.

Full 101-500 Practice