Multiple choice technology programming languages

How can you display a list of all files, including the hidden files?

  1. find all

  2. find -a

  3. all

  4. ls -a

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

The 'ls -a' command lists all files including hidden ones (those starting with .). 'find' is for searching files, not listing. 'all' is not a valid command. Option D is correct.