Multiple choice technology

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

In MS-DOS, the 'dir' command lists files and directories in the current directory. 'cd' changes directories, 'ls' is a UNIX command not available in MS-DOS, and 'list' is not a valid MS-DOS command. The dir command can display file sizes, dates, and other attributes.