Multiple choice technology operating systems

What is the commnad to display current working directory ?

  1. cd

  2. pwd

  3. cd .

  4. cd ..

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The pwd (print working directory) command displays the full path of the current working directory. Option A (cd) changes directories but doesn't display them. Option C (cd .) stays in current directory without displaying path. Option D (cd ..) moves to parent directory. pwd is the correct command for showing current location.