linux显示MS-DOS文件内容是什么-mtype命令使用与实例

linux显示MS-DOS文件内容是什么-mtype命令使用与实例

linux mtype命令

工具集中的一个指令,用于模拟MS-DOS中的type命令功能,可以用来查看MS-DOS格式文件的内容。

语法

mtype [-st][文件]

参数说明

  • -s 清除8位字符集中最高位,使其适配7位ASCII编码。
  • -t 将MS-DOS文本文件中“换行并回车到行首”的字符转换为Linux系统使用的换行符。

实例

要查看一个名为dos.txt的MS-DOS文件,可以使用以下命令:

mtype dos.txt         #查看MS-DOS 文件 

输出结果如下所示:

$ mtype dos.txt #查看MS-DOS 文件   Linux networks are becoming more and more common, but security is often an overlooked   issue. Unfortunately, in today’s environment all networks are potential hacker targets,   from top-secret military research networks to small home LANs.   Linux Network Securty focuses on securing Linux in a networked environment, where the   security of the entire network needs to be considered rather than just isolated machines.   It uses a mix of theory and practicl techniques to teach administrators how to install and   use security applications, as well as how the applcations work and why they are necessary.  

© 版权声明
THE END
喜欢就支持一下吧
点赞12 分享