In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces "how to use pscp to achieve mutual copy between windows and linux". In daily operation, I believe that many people have doubts about how to use pscp to achieve mutual copy between windows and linux. The editor consulted all kinds of materials and sorted out simple and easy-to-use methods of operation. I hope it will be helpful to answer the doubts about "how to use pscp to achieve mutual copy between windows and linux". Next, please follow the editor to study!
Using pscp to copy windows to linux
1. First, download the pscp and copy it to the c:\ windows\ system32 directory. When this is done, you can enter it directly on the command line.
2. Copy the files and folders in d:\ upfile
Pscp-r D:\ upfile root@192.168.1.8:/u01/upfile and enter.
Pscp is the replication command,-r is the replication folder, D:\ upfile refers to the local folder that needs to be replicated, root is the user name of the remote Linux, 192.168.1.8 is the IP address of the remote Linux, and / u01/upfile is the folder directory of the remote Linux to which you want to copy.
After clicking enter, you need to enter the login password of the remote Linux, which is not displayed here. When you have finished entering the password, click enter. Information such as the progress and speed of file replication is displayed.
If you copy a file, you don't have to-r! As follows:
Pscp D:\ upfile\ test.txt root@192.168.1.8:/u01/upfile and enter.
3. If you need a password-free copy as follows:
Pscp-pw password D:\ upfile\ consoleIf-D1.0.7.jar root@192.168.1.18:/u01/upfile/
Pscp-pw password-r D:\ upfile root@192.168.1.18:/u01/upfile/
4. Copy from remote to local
Pscp-pw password root@192.168.1.18:/u01/upfile/consoleIf-D1.0.7.jar D:\ upfile
Pscp-pw password-r root@192.168.1.18:/u01/upfile/ D:\ upfile
At this point, the study on "how to use pscp to achieve windows and linux to copy each other" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
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.