Which directory’s content is displayed?

A user is currently in the directory /home/user/Downloads/ and runs the command ls ../Documents/
Assuming it exists, which directory’s content is displayed?
A. /home/user/Documents/
B. /home/user/Documents/Downloads/
C. /home/user/Downloads/Documents/
D. /Documents/
E. /home/Documents

Download Printable PDF. VALID exam to help you PASS.

6 thoughts on “Which directory’s content is displayed?

  1. A is the correct answer, Q says user is currently on /home/user/Downloads, ../ means back 1 dir (/home/user/.)

    4
    1
  2. D is the right answer since in the Q describes as ../Document, this means the two periods refers the /home/ & /user/.

    1
    4

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.