Linux mtypeコマンド

Linux 命令大全Linuxコマンド大全

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 命令大全Linuxコマンド大全

その他の拡張