Comando mtype de Linux

Guía completa de comandos Linux

mtype es una instrucción de la herramienta mtools, que simula la instrucción type de MS-DOS y puede mostrar el contenido de archivos MS-DOS.

Sintaxis

mtype [-st][文件]

Descripción de parámetros:

  • -s Elimina el primer bit del conjunto de caracteres de 8 bits para hacerlo compatible con ASCII de 7 bits.
  • -t Convierte los caracteres de "salto de línea + retorno de cursor al inicio de línea" en archivos de texto MS-DOS al carácter de salto de línea de Linux.

Ejemplos

Para abrir un archivo MS-DOS llamado dos.txt, se puede usar el siguiente comando:

mtype dos.txt         #打开MS-DOS 文件 

Los resultados se muestran a continuación:

$ 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.  

Guía completa de comandos Linux

Otras extensiones