Multiple choice technology

Command to list out the hidden files in the current folder.

  1. ls -l

  2. ls -a

  3. ls -F

  4. None of the above

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

The ls -a command lists all files in the current directory including hidden files (those starting with a dot). The ls -l command shows detailed information but doesn't reveal hidden files. ls -F adds special characters to indicate file types but also doesn't show hidden files.