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

标签 windows shell cat

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

通过 Google、Stackoverflow 等,我找不到解决方案,但我确信有一个简单的解决方案。

最佳答案

命令是:type <filename>

但是,如果你想 Unix-fy 你的 Windows shell 有 Win32 ports大多数命令 Unix 风格的命令。

关于windows - 哪个 Windows Shell 命令将在标准输出上打印文件内容(如 Linux 中的 cat)?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11235362/

相关文章:

windows - 如何卸载(关闭挂载)sshfs Windows?

c - Windows C 程序在关机时执行操作

bash - 在没有事先赋值的情况下声明和设置变量

linux - 在文本文件文件中搜索数字并指定范围和长度 Grep

node.js - 为什么当我cat `/usr/local/bin`中的 Node 目录时它会释放cthulhu?

c++ - ReadConsoleOutputCharacter - 我需要使用哪些参数?

无法在 cygwin 中使用 libusb-1.0 打开 USB 设备

linux - shell脚本可以在运行一些步骤后让自己在后台运行吗?

Linux if-else 不起作用

linux - 将时间戳添加到 shell 脚本的 cat 输出