type (command)
From Wikipedia, the free encyclopedia
This article needs additional citations for verification. Please help improve this article by adding reliable references. Unsourced material may be challenged and removed. (April 2008) |
In computing, type
is a command in various 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.
[edit] Example
type filename
The command is frequently used in conjunction with the more
command, e.g.
type long-text-file | more
[edit] See also
[edit] References
|