Multiple choice technology testing

How do you list all the files that are in the current directory in UNIX?

  1. list all

  2. ls -full

  3. ls -a

  4. ls -all

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

The ls -a command lists all files in the current directory, including hidden files (those starting with a dot). Options like 'list all' and 'ls -full' are not valid UNIX commands.