type (command)

From Wikipedia, the free encyclopedia
Jump to: navigation, search
This article is about the DOS command. For the Unix command, see type (Unix).

In computing, type is a command in various VMS, AmigaDOS, CP/M, DOS, OS/2 and Microsoft Windows command line interpreters (shells) such as COMMAND.COM, cmd.exe, 4DOS/4NT and Windows PowerShell. It is used to display the contents of specified files. It is analogous to the Unix cat command.

In Windows PowerShell, type is a predefined command alias for the Get-Content Cmdlet which basically serves the same purpose.

Type command in Unix[edit]

The corresponding command in Unix operating systems is cat.

See also[edit]