exam questions

Exam 010-160 All Questions

View all questions & answers for the 010-160 exam

Exam 010-160 topic 1 question 60 discussion

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

Which command displays file names only and no additional information?

  • A. ls -a
  • B. ls -lh
  • C. ls -l
  • D. ls -alh
  • E. ls -nl
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Fakenix
18 hours, 55 minutes ago
A is the correct answer. Question asks for name ONLY, with no aditional information. All the other options contain the -l parameter, which means the long (verbose) version with additional information
upvoted 2 times
...
bradseth
2 months ago
should be ls -1
upvoted 1 times
...
reagan_donald
4 months, 3 weeks ago
ls -a is correct, it not only shows hidden files, it also show files that are not hidden by any means, ls -a works in a same way as ls, but additionally shows hidden files.
upvoted 2 times
...
beazzlebub
1 year, 10 months ago
Answer is A
upvoted 3 times
...
Corbin
2 years, 9 months ago
I'm sure the -a option is used to show hidden files. The -l option makes the list more verbose, the normal "ls" by itself shows only the file and directory names and nothing else. All the options except the -a have an -l in them
upvoted 3 times
encognyto
2 years, 3 months ago
You're correct about the option -a showing the hidden files. However, option ls -a also only shows file names. It just happens to show the hidden file names as well. All of the other answers choices will show more than just a file name when used.
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago