Which command is used to see the contents of a file?
A. Type
B. Copy
C. Ed
D. None of above
Answer: Option A
Solution (By Examveda Team)
The Type command in DOS is used to display the contents of a file on the screen.It is used to view text files or files that can be interpreted as text, such as batch files, configuration files, or program source files.
The syntax is
TYPE filename where filename is the name of the file whose contents you want to display.It outputs the entire contents of the file directly to the command prompt or console.
Copy is used to copy files from one location to another, not to view file contents.
Ed (Editor) is a text editor in DOS for creating or editing text files, not for viewing existing file contents directly.
None of above is incorrect because the Type command is specifically used for viewing file contents.
Therefore, the correct answer is Option A: Type.
Related Questions on Disk Operating System (DOS)
In MS-Dos what command you will use to display system date?
A. Date command
B. Ver command
C. Disk command
D. Format command
While working with Ms-Dos which command transfers a specific file from one disk to another?
A. Copy
B. Diskcopy
C. Time
D. Rename
If you don't know the current time, which command will you use to display
A. Copy
B. Ver
C. Time
D. Format

Join The Discussion