Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which Windows Shell command will print a file content on the standard output (like cat in Linux)?

Tags:

shell

windows

cat

Which Windows Shell command will print a file content on the standard output (like cat in Linux) ?

With Google, Stackoverflow, etc, I just could not find a solution, but I am sure, there is an easy one.

like image 949
John Threepwood Avatar asked Jun 27 '12 21:06

John Threepwood


1 Answers

The command is: type <filename>

However, if you want to Unix-fy your Windows shell there are Win32 ports of most of the command Unix style commands.

like image 63
Brian Rasmussen Avatar answered Oct 21 '22 16:10

Brian Rasmussen