Multiple choice technology operating systems

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

  1. ls -a

  2. ls -all

  3. find -all

  4. find a

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

The ls -a command in Linux/Unix lists all files in the current directory, including hidden files (which start with a dot). The -a flag stands for all. The option ls -all is incorrect syntax, and find is used differently for searching files, not simply listing them.