Multiple choice

Which command is used to list out all the hidden files along with the other files?

  1. ls - l

  2. ls - x

  3. ls - F

  4. ls - a

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

The ls -a command lists all files including hidden files (those starting with a dot). The -l option shows detailed format, -F shows file type indicators, and -x sorts entries horizontally.