
Linux中的mdir命令主要用于显示MS-DOS格式的目录内容。
该命令属于mtools工具集,模拟了MS-DOS中的dir命令功能,可以用来查看MS-DOS文件系统中的目录结构。
<pre class="brush:php;toolbar:false;">mdir [-afwx/][目录]
选项说明:
查看软盘A中的内容:
<pre class="brush:php;toolbar:false;">$ mdir -/ a:\*
运行上述命令后,mdir会列出指定驱动器"a:\"下的全部子目录及其文件详情,输出结果如下:
<pre class="brush:php;toolbar:false;">Volume in drive A has no label Volume Serial Number is 13D2~055C Directory for A:\ ./TEST <dir> 2011-08-23 16:59 AUTORUN.INF 265 2011-08-23 16:53 AUTORUN.BAT 43 2011-08-23 16:56 3 files 308 bytes 724 325 bytes free </dir>
以上就是linux列出MS-DOS目录内容是什么-mdir命令使用与实例的详细内容,更多请关注php中文网其它相关文章!
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号