O'Reilly logo

A Practical Guide to Red Hat® Linux® 8 by Mark G. Sobell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Mtools

Uses DOS-style commands on files and directories

mcd [directory]

mcopy [options] file-list target

mdel file-list

mdir [-w] directory

mformat [options] device

mtype [options] file-list

These utilities mimic DOS commands and manipulate GNU/Linux files or DOS files. The mcopy utility provides an easy way to move files between a GNU/Linux filesystem and a DOS disk. The default drive for all commands is /dev/fd0 or a: .

Summary

Table III-21 lists each of the utilities in the Mtools collection.

Table III-21. Utility
mcd Changes the working directory on the DOS disk
mcopy Copies DOS files from one directory to another
mdel Deletes DOS files
mdir Lists contents of DOS directories
mformat Adds DOS formatting information to a disk
mtype Displays ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required