In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Today, I will talk to you about the method of using linux's mren command to change files or directories, which may not be well understood by many people. in order to make you understand better, the editor has summarized the following contents for you. I hope you can get something according to this article.
The mren command is used to change the name of a MS-DOS file or directory or to move a file or directory.
Mren is a MS-DOS tool instruction, which is similar to the ren instruction under DOS and can be used to change the name of the MS-DOS file or directory. The source file must be a file that already exists on the disk. If the drive letter and path are ignored, it represents the current disk and the file in the current directory. The new file name is the name of the file to be replaced. The new file name cannot be preceded by a different drive letter and path from the source file, because this command can only change the file name on the same disk.
Syntax format: mren [parameters]
Common parameters:
[source file or directory.] Source file name or source file path to perform the operation [destination file or directory] destination file name or destination file path to perform the operation
Reference example
Change the file name of the file "test.txt" under disk a to "test1.txt"
[root@linuxcool ~] # mren a:\ test.txt test1.txt after reading the above, do you have any further understanding of how to use linux's mren command to change a file or directory? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.
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.