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 will explain in detail about the use of linux rcp command remote file copy, the editor thinks it is very practical, so share it for you to do a reference, I hope you can get something after reading this article.
The rcp command is called "remote file copy", or remote file copy, which makes it easier to copy files between two Linux hosts. With proper configuration, copying files between two Linux hosts without entering a password is as simple as local file replication.
The rcp instruction is used to copy files or directories remotely, just as if you specify more than two files or directories, and the final destination is an existing directory, it will copy all the files or directories specified earlier to that directory.
Rcp command default system is not installed, need to install rsh and rsh-server these two libraries, through the configuration to achieve network file replication.
Syntax format: rcp [parameters] [directory]
Common parameters:
-p retains the attributes of the source file or directory, including owner, group, permissions and time-r recursive processing, processes files under the specified directory with subdirectories-x encrypts all information transmitted between two Linux hosts-D specifies the port number of the remote server
Reference example
Copy the test1 from the current directory to the remote system:
[root@linuxcool ~] # rcp test1 192.168.10.10:/home/test1
Copy the remote host file locally:
[root@linuxcool ~] # rcp root@192.168.10.10:./test2 test2 about using the rcp command of linux to copy remote files is done here. I hope the above content can be helpful to you and learn more. If you think the article is good, you can share it for more people to see.
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.