Files and paths · Question 11 of 12

The current directory is /home/anna/a/b, and all directories mentioned exist. What does pwd print after cd ../../c/../d?

1 answer is correct. Hard Created with AI

Show answer

Answer

  • D /home/anna/d

Explanation

Step by step: ../.. leads to /home/anna, c to /home/anna/c, .. back to /home/anna, and finally d to /home/anna/d.

Certifications & exams

Which exam comes next?

You can already practise for 51 exams, and 16 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications