QuestionQ21

The Power of the Command Line

Which command shows only file names, with no extra information?

  • A ls -a
  • B ls -lh
  • C ls -l
  • D ls -alh
  • E ls -nl
Explanation

ls -a uses the standard short listing format, which displays names only, while also including hidden files. The other commands use -l, causing ls to display additional metadata such as permissions, ownership, size, and timestamps.

Community Discussion

No comments yet. Be the first to start the discussion!