Linux mtype命令

Linux 教程 · 2019-02-14 15:14:34

mtype为mtools工具指令,模拟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.  
点击查看所有 Linux 教程 文章: https://codercto.com/courses/l/14.html

查看所有标签

The Linux Command Line

The Linux Command Line

William E. Shotts Jr. / No Starch Press, Incorporated / 2012-1-17 / USD 39.95

You've experienced the shiny, point-and-click surface of your Linux computer-now dive below and explore its depths with the power of the command line. The Linux Command Line takes you from your very ......一起来看看 《The Linux Command Line》 这本书的介绍吧!

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具