哪个Windows Shell命令将在标准输出上打印文件内容(如Linux中的cat)? [英] Which Windows Shell command will print a file content on the standard output (like cat in Linux)?

查看:74
本文介绍了哪个Windows Shell命令将在标准输出上打印文件内容(如Linux中的cat)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

哪个Windows Shell命令将在标准输出上打印文件内容(如Linux中的cat)?

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

对于Google,Stackoverflow等,我只是找不到一种解决方案,但是我敢肯定,有一个简单的解决方案。

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

推荐答案

命令是: type < filename>

但是,如果要对Windows Shell进行Unix-fy,则有 Win32端口

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

这篇关于哪个Windows Shell命令将在标准输出上打印文件内容(如Linux中的cat)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆