Multiple choice general knowledge

Which command lists files in MS-DOS?

  1. cd

  2. ls

  3. dir

  4. list

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

The dir command lists files and directories in MS-DOS and Windows command prompt. cd changes directories, ls is used in Unix/Linux systems (not MS-DOS), and list is not a valid MS-DOS command.