Multiple choice technology operating systems

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

  1. find -a

  2. ls -a

  3. find all

  4. ls -l

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

The 'ls -a' command lists all files in a directory, including hidden files (those starting with a dot), whereas 'ls -l' shows detailed information but excludes hidden files by default.