Multiple choice technology operating systems

Which of the following commands displays the full pathname of the directory you are positioned in?

  1. cd

  2. cd ~

  3. pwd

  4. man pwd

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

'pwd' (print working directory) displays the full absolute pathname of the current directory. 'cd' changes directories, 'cd ~' goes to home directory, and 'man pwd' displays the manual page for pwd.