In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces the method of using mcopy command to copy MSDOS format files to Linux, which has a certain reference value and can be used for reference by friends who need it. Let's take a look at it with me.
The mcopy command is used to copy MSDOS format files to Linux, or from Linux to copy MSDOS files to disk.
Mcopy can copy a single file to a specified file name, or several files to a specified directory. The source and destination files can be MSDOS or Linux files.
The mcopy instruction is a mtools tool instruction that can copy files on a DOS system or between DOS and Linux operating systems.
Syntax format: mcopy [parameters] [source file]
Common parameters:
-b batch mode-n overwrite other files without confirmation-m sets the modification time of the source file to the modification time of the target file-p sets the properties of the source file to the properties of the target file-Q when there is an error in copying multiple files, end the program as soon as possible-t convert to a text file-o there is no warning message when overwriting the MSDOS file
Reference example
Copy the autoexec.bat from the root directory of disk A to the current working directory:
[root@linuxcool ~] # mcopy a:autoexec.bat
When the copied content includes subdirectories and files, you must use the parameter "- /" recursive operation:
[root@linuxcool ~] # mcopy-/ A:\ * these are the details of how to use the mcopy command to copy MSDOS files to Linux. Have you learned anything after reading them? If you want to know more about it, welcome to the industry information!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.