Multiple choice

command to list all of the files in a directory

  1. pwd

  2. ls

  3. ls -a

  4. ls -all

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

The 'ls' command lists files, and the '-a' flag stands for 'all', which includes hidden files (those starting with a dot).