Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam 010-160 topic 1 question 38 discussion

Actual exam question from LPI's 010-160
Question #: 38
Topic #: 1
[All 010-160 Questions]

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
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
jezd
Highly Voted 4 years, 1 month ago
A is the correct answer. From the directory /home/user/Downloads/ ../Documents is /home/user/Documents
upvoted 35 times
...
harrymadgun
Highly Voted 4 years, 5 months ago
Shouldn't be A the right answer to this?
upvoted 19 times
...
Vslaugh
Most Recent 1 month ago
Selected Answer: A
Should be A
upvoted 1 times
...
AndrewGrasso
8 months, 2 weeks ago
Selected Answer: A
The ls command is used to list the contents of a directory. When run with the argument ../Documents/, it will list the contents of the Documents directory that is located one level up from the current directory /home/user/Downloads/. Therefore, if the Documents directory exists in /home/user/, then option A, /home/user/Documents/, is the correct answer.
upvoted 2 times
...
flavioamorim
10 months ago
Selected Answer: A
A is the correct answer.
upvoted 1 times
...
josephrming
1 year, 1 month ago
Selected Answer: A
A is definitely the right answer
upvoted 1 times
...
supergq
1 year, 2 months ago
Selected Answer: A
A is correct. The ".." changes into the child directory (i.e. /home/user), so "../Documents/" would list the contents of the /home/user/Documents directory.
upvoted 3 times
...
Dever24
1 year, 4 months ago
A is correct
upvoted 1 times
...
miurach
1 year, 5 months ago
I tested this on my own VPS and the option A is the correct one.
upvoted 1 times
...
Ness12
1 year, 7 months ago
A is the right answer. .. = means go one folder back
upvoted 1 times
...
KITELinz
1 year, 10 months ago
Selected Answer: A
Did the Exam today, picked A and got 100%.
upvoted 6 times
...
hughesd010
1 year, 11 months ago
Selected Answer: A
It seems to be an almost interpretive question. Looking at strict notation the "/Documents/", D, answer would indicate a root level directory called "Documents" as there are NO preceding characters indicating it is a subdirectory. Like missing context in a text message.
upvoted 1 times
...
Dor15
2 years, 2 months ago
Selected Answer: A
A is correct
upvoted 1 times
...
Tanchwa
2 years, 4 months ago
Selected Answer: D
So this is a dumb question, really. /home/user/Documents and /Documents/ (assuming its a directory in the same location one up from /Downloads/) is the same location, no doubt about it. However, the question asks about a directory's contents specifically. Technically, A. is a path, not a directory. D would be right if we take this into consideration, but in real life A and D would get you what you wanted.
upvoted 1 times
...
Miragico
2 years, 4 months ago
Selected Answer: A
A is the correct answer.
upvoted 1 times
...
stressedout7
2 years, 4 months ago
Selected Answer: A
A is the correct answer.
upvoted 1 times
...
shosha
2 years, 5 months ago
Selected Answer: A
A is correct.
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
ex Want to SAVE BIG on Certification Exam Prep?
close
ex Unlock All Exams with ExamTopics Pro 75% Off
  • arrow Choose From 1000+ Exams
  • arrow Access to 10 Exams per Month
  • arrow PDF Format Available
  • arrow Inline Discussions
  • arrow No Captcha/Robot Checks
Limited Time Offer
Ends in