⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 533-546.html

📁 linux-unix130.linux.and.unix.ebooks130 linux and unix ebookslinuxLearning Linux - Collection of 12 E
💻 HTML
字号:
<HTML>

<HEAD>

<TITLE>Linux in Plain English:Linux Commands Organized by Group</TITLE>

<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
<SCRIPT>
<!--
function displayWindow(url, width, height) {
        var Win = window.open(url,"displayWindow",'width=' + width +
',height=' + height + ',resizable=1,scrollbars=yes');
}
//-->
</SCRIPT>
</HEAD>

 -->




<!--ISBN=1558285423//-->

<!--TITLE=Linux in Plain English//-->

<!--AUTHOR=Patrick Volkerding//-->

<!--AUTHOR=Kevin Reichard//-->

<!--PUBLISHER=IDG Books Worldwide, Inc.//-->

<!--IMPRINT=M & T Books//-->

<!--CHAPTER=5//-->

<!--PAGES=533-546//-->

<!--UNASSIGNED1//-->

<!--UNASSIGNED2//-->



<CENTER>

<TABLE BORDER>

<TR>

<TD><A HREF="527-532.html">Previous</A></TD>

<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>

<TD><A HREF="547-554.html">Next</A></TD>

</TR>

</TABLE>

</CENTER>

<P><BR></P>

<P><FONT SIZE="+1"><B>xdfcopy......<TT>Work with Xdf Disks</TT></B></FONT></P>

<P><B>xdfcopy</B> <I>option(s) source target</I></P>

<P><FONT SIZE="+1"><B><I>PURPOSE</I></B></FONT></P>

<P>The <B>xdfcopy</B> command copies and formats Xdf floppy disks, a format used by the OS/2 operating system.</P>

<P><FONT SIZE="+1"><B><I>OPTIONS</I></B></FONT></P>

<TABLE WIDTH="100%">

<TR>

<TD WIDTH="30%" VALIGN="TOP"><B>-D<I>dosdrive</I></B>

<TD WIDTH="70%">Specifies the DOS drive letter to format. There are a slew of conditions with this option; check the online-manual pages for more information.

<TR>

<TD VALIGN="TOP"><B>-n</B>

<TD>Does not format the disk before copying an image to the disk.

</TABLE>

<P><FONT SIZE="+1"><B><I>RELATED COMMANDS</I></B></FONT></P>

<DL>

<DD><B>mtools</B>

<DD><B>floppycontrol</B>

<DD><B>performat</B>

</DL>

<H3><A NAME="Heading7"></A><FONT COLOR="#000077">MTools</FONT></H3>

<P>The Mtools series of commands work with MS-DOS files and directories on floppy disks. This allows you to use Linux with MS-DOS-formatted diskettes.

</P>

<P><FONT SIZE="+1"><B>mattrib......<TT>Change MS-DOS Attribute</TT></B></FONT></P>

<P><B>mattrib</B> <I>option(s) msdosfile(s)</I></P>

<P><FONT SIZE="+1"><B><I>PURPOSE</I></B></FONT></P>

<P>The <B>mattrib</B> command changes the file attributes to an MS-DOS file stored on a floppy drive. Adding attribute flags is done with <B>&#43;</B>, and removing attribute flags is done with <B>-</B>.</P>

<P><FONT SIZE="+1"><B><I>ATTRIBUTES</I></B></FONT></P>

<TABLE WIDTH="100%">

<TR>

<TD WIDTH="20%"><B>a</B>

<TD WIDTH="80%">Archive bit.

<TR>

<TD><B>h</B>

<TD>Hidden bit.

<TR>

<TD><B>r</B>

<TD>Read-only bit.

<TR>

<TD><B>s</B>

<TD>System bit.

</TABLE>

<P><FONT SIZE="+1"><B>mbadblocks......<TT>MS-DOS Bad Blocks</TT></B></FONT></P>

<P><B>mbadblocks</B> <I>drive</I></P>

<P><FONT SIZE="+1"><B><I>PURPOSE</I></B></FONT></P>

<P>The <B>mbadblocks</B> scans a specified <I>drive</I> (an MS-DOS floppy) for bad blocks. It marks the bad blocks as being unread.</P>

<P><FONT SIZE="+1"><B>mcd......<TT>Change MS-DOS Directory</TT></B></FONT></P>

<P><B>mcd</B> <I>directory</I></P>

<P><FONT SIZE="+1"><B><I>PURPOSE</I></B></FONT></P>

<P>The <B>mcd</B> command changes the current directory on an MS-DOS floppy. With no directory specified, it returns the current device and directory.</P>

<P><FONT SIZE="+1"><B><I>RELATED COMMAND</I></B></FONT></P>

<DL>

<DD><B>mdir</B>

</DL>

<P><FONT SIZE="+1"><B>mcopy......<TT>Copy MS-DOS Files</TT></B></FONT></P>

<P><B>mcopy</B> <I>option(s) sourcefile targetfile</I></P>

<P><B>mcopy</B> <I>option(s) sourcefile(s) targetdirectory</I></P>

<P><FONT SIZE="+1"><B><I>PURPOSE</I></B></FONT></P>

<P>The <B>mcopy</B> command copies MS-DOS files to and from a Linux system, usually using a floppy drive. It can be used to copy a file to a target file, or it can be used to copy multiple files to a specified directory.</P>

<P>When using a MS-DOS floppy, you&#146;ll need to add <B>A:</B> to the file or directory names.</P>

<P><FONT SIZE="+1"><B><I>OPTIONS</I></B></FONT></P>

<TABLE WIDTH="100%">

<TR>

<TD WIDTH="20%" VALIGN="TOP"><B>t</B>

<TD WIDTH="80%">Performs a text file transfer, translating carriage returns/line feeds to just line feeds.

<TR>

<TD><B>m</B>

<TD>Preserves the file modification time.

<TR>

<TD VALIGN="TOP"><B>n</B>

<TD>Works with no warning if you are overwriting an existing file.

<TR>

<TD><B>v</B>

<TD>Works in verbose mode.

</TABLE>

<P><FONT SIZE="+1"><B><I>RELATED COMMANDS</I></B></FONT></P>

<DL>

<DD><B>mread</B>

<DD><B>mwrite</B>

</DL>

<P><FONT SIZE="+1"><B>mdel......<TT>Delete MS-DOS File</TT></B></FONT></P>

<P><B>mdel</B> <I>option msdosfile</I></P>

<P><FONT SIZE="+1"><B><I>PURPOSE</I></B></FONT></P>

<P>The <B>mdel</B> command deletes an MS-DOS file, usually on a floppy drive.</P>

<P><FONT SIZE="+1"><B><I>OPTION</I></B></FONT></P>

<TABLE WIDTH="100%">

<TR>

<TD WIDTH="20%" VALIGN="TOP"><B>-v</B>

<TD WIDTH="80%">Works in verbose mode, where the names of files are printed to the screen as they are being deleted.

</TABLE>

<P><FONT SIZE="+1"><B>mformat......<TT>Format MS-DOS Floppy</TT></B></FONT></P>

<P><B>mformat</B> <I>option(s) drive</I></P>

<P><FONT SIZE="+1"><B><I>PURPOSE</I></B></FONT></P>

<P>The <B>mformat</B> adds an MS-DOS filesystem to a low-level Linux-formatted diskette. This formatting includes a boot sector, FAT, and root directory.</P>

<P><FONT SIZE="+1"><B><I>OPTIONS</I></B></FONT></P>

<TABLE WIDTH="100%">

<TR>

<TD WIDTH="20%" VALIGN="TOP"><B>1</B>

<TD WIDTH="80%">Overrides the use of a 2m format, even if the current geometry of the disk is a 2m geometry.

<TR>

<TD VALIGN="TOP"><B>2</B>

<TD>Works in 2m format&#151;the number of sectors on track 0, head 0.

<TR>

<TD><B>h</B>

<TD>Specifies the number of heads (sides).

<TR>

<TD><B>H</B>

<TD>Specifies the number of hidden sectors.

<TR>

<TD><B>l</B>

<TD>Sets an optional volume label.

<TR>

<TD><B>M</B>

<TD>Sets the software sector size.

<TR>

<TD><B>n</B>

<TD>Sets the serial number.

<TR>

<TD><B>t</B>

<TD>Specifies the number of tracks (not cylinders).

<TR>

<TD><B>s</B>

<TD>Specifies the number of sectors per track.

<TR>

<TD><B>S</B>

<TD>Specifies the sizecode.

<TR>

<TD><B>X</B>

<TD>Formats the disk as an Xdf disk, used by OS/2.

</TABLE>

<P><FONT SIZE="+1"><B><I>RELATED COMMAND</I></B></FONT></P>

<DL>

<DD><B>mlabel</B>

</DL>

<P><FONT SIZE="+1"><B>mrd......<TT>Removes MS-DOS Directory Tree</TT></B></FONT></P>

<P><B>mrd</B> <I>option msdosdirectory</I></P>

<P><FONT SIZE="+1"><B><I>PURPOSE</I></B></FONT></P>

<P>The <B>mrd</B> command removes an MS-DOS directory tree, as well as any files and subdirectories within. This occurs on an MS-DOS filesystem on a floppy drive.</P>

<P><FONT SIZE="+1"><B><I>OPTION</I></B></FONT></P>

<TABLE WIDTH="100%">

<TR>

<TD WIDTH="20%" VALIGN="TOP"><B>-v</B>

<TD WIDTH="80%">Works in verbose mode, listing every file and directory as it is deleted.

</TABLE>

<P><FONT SIZE="+1"><B>mdir......<TT>Show MS-DOS Directory</TT></B></FONT></P>

<P><B>mdir</B> <I>option(s) msdosdirectory</I></P>

<P><FONT SIZE="+1"><B><I>PURPOSE</I></B></FONT></P>

<P>The <B>mdir</B> command displays the contents of an MS-DOS directory, usually on a floppy drive.</P>

<P><FONT SIZE="+1"><B><I>OPTIONS</I></B></FONT></P>

<TABLE WIDTH="100%">

<TR>

<TD WIDTH="20%"><B>a</B>

<TD WIDTH="80%">Lists hidden files.

<TR>

<TD VALIGN="TOP"><B>w</B>

<TD>Prints in wide output, without displaying the file size or creation date.

</TABLE>

<P><FONT SIZE="+1"><B>mlabel......<TT>Make Label</TT></B></FONT></P>

<P><B>mlabel</B> <I>option(s) drive new_label</I></P>

<P><FONT SIZE="+1"><B><I>PURPOSE</I></B></FONT></P>

<P>The <B>mlabel</B> command creates an MS-DOS volume label on a floppy drive. With no options, it displays the current label. If the <B>c</B> or <B>s</B> option is not set, you are prompted for a new label; at this time, if you don&#146;t enter a new label and press <B>Return</B>, the existing label is deleted.</P>

<P><FONT SIZE="+1"><B><I>OPTIONS</I></B></FONT></P>

<TABLE WIDTH="100%">

<TR>

<TD WIDTH="20%"><B>c</B>

<TD WIDTH="80%">Clears an existing label, without prompting the user.

<TR>

<TD><B>s</B>

<TD>Shows the existing label, without prompting the user.

</TABLE>

<P><FONT SIZE="+1"><B><I>RELATED COMMAND</I></B></FONT></P>

<DL>

<DD><B>mformat</B>

</DL>

<P><FONT SIZE="+1"><B>mmd......<TT>Make Subdirectory</TT></B></FONT></P>

<P><B>mmd</B> <I>option directory</I></P>

<P><FONT SIZE="+1"><B><I>PURPOSE</I></B></FONT></P>

<P>The <B>mmd</B> command creates an MS-DOS subdirectory on a floppy drive. An error occurs if the directory already exists.</P>

<P><FONT SIZE="+1"><B><I>OPTION</I></B></FONT></P>

<TABLE WIDTH="100%">

<TR>

<TD WIDTH="20%" VALIGN="TOP"><B>v</B>

<TD WIDTH="80%">Works in verbose mode, returning the names of the directories as they are created.

</TABLE>

<P><FONT SIZE="+1"><B><I>RELATED COMMANDS</I></B></FONT></P>

<DL>

<DD><B>mrd</B>

</DL>

<P><FONT SIZE="+1"><B>mmount......<TT>Mount MS-DOS Disk</TT></B></FONT></P>

<P><B>mmount</B> <I>drive mountargs</I></P>

<P><FONT SIZE="+1"><B><I>PURPOSE</I></B></FONT></P>

<P>The <B>mmount</B> command mounts an MS-DOS disk. It reads the boot sector of an MS-DOS disk, configures the drive geometry, and mounts it, passing <I>mount-args</I> to <B>mount</B>.</P>

<P><FONT SIZE="+1"><B><I>RELATED COMMANDS</I></B></FONT></P>

<DL>

<DD><B>mount</B>

</DL>

<P><BR></P>

<CENTER>

<TABLE BORDER>

<TR>

<TD><A HREF="527-532.html">Previous</A></TD>

<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>

<TD><A HREF="547-554.html">Next</A></TD>

</TR>

</TABLE>

</CENTER>





</td>
</tr>
</table>

<!-- begin footer information -->





</body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -