TYPE(DOS) UNIX System V TYPE(DOS)
Name
type - displays the contents of a text file
Syntax
type [drive:]filename
Description
To view a text file without modifying it, you can use type.
(Use dir to find the name of a file, and edlin to change the
contents of a file.)
When you use type to display a file that contains tabs, all
the tabs are expanded to 8 spaces wide. Also, if you try to
display a binary file, you may see strange characters on the
screen, including bells, formfeeds, and escape sequences.
Example
If you want to display the contents of a file called
holiday.mar, you would enter the following command:
type holiday.mar
Notes
type is an internal command.
TYPE(DOS) (printed 8/16/89) TYPE(DOS)