YouTip LogoYouTip

Linux Comm Mread

# Linux mread Command [![Image 3: Linux Command Manual](#) Linux Command Manual](#) The Linux mread command is used to copy MS-DOS files to a Linux/Unix directory. mread is a mtools utility command that copies MS-DOS files to the Linux file system. This command is no longer commonly used; the mcopy command is generally used as a replacement. ### Syntax mread [MS-DOS files...] **Parameter Description:** * [MS-DOS files...]: The source DOS file or directory path for the operation. * : The destination Linux file or directory path after the operation. ### Example Use the mread command to copy all contents from drive "a:" to the current working directory by entering the following command: $ mread a:* ./ #Copy all files from drive a to the current working directory Before executing this command, you can use the mdir command to view the original directory structure. After executing mread, you can use the ls command to view the copied file structure again, as shown below: $ mdir -/ a:* #View files on drive a Volume in drive A has no label #Load information Volume Serial Number is 13D2~055C Directory for A:/ #The following is directory information ./TEST 2011-08-23 16:59 #Display format is filename, directory size, modification time AUTORUN.INF 265 2011-08-23 16:53 AUTORUN.BAT 43 2011-08-23 16:56 3 files 308 bytes #Total size statistics 724 325 bytes free #Remaining space $ mread A:* ./ #Copy all files from drive a to the current working directory $ ls #View file or subdirectory information TEST AUTORUN.INF AUTORUN.BAT #Display content after copying [![Image 4: Linux Command Manual](#) Linux Command Manual](#)
← Linux Comm MrenLinux Comm Mmove β†’