In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces bash scp: can not find the command how to solve, has a certain reference value, friends in need can refer to. I hope you will learn a lot after reading this article. Next, let the editor take you to learn about it.
The scp command is used to transfer files between two servers through ssh. Most scp users can already use the scp command on the system, but it still displays "bash:scp:command not found". So note that the scp command must be available on both local and remote systems to avoid this problem.
Install the SCP command package
The scp command comes from the openssh-clients package on the Red Hat system, and the openssh-client package is used for Debian-based systems. You can use the following command to install the scp command package on the Linux operating system.
CentOS / RHEL and Fedora
# yum install openssh-clients
Ubuntu and Debian
$sudo apt-get install openssh-client
Use the SCP command to transfer files
Local to remote: to transfer the file / opt/myfile.txt from local to / opt/directory on a remote (remote.example.com) system, use the following command.
# scp / opt/myfile.txt remote.example.com:/opt/
Remote to local: to transfer the file / opt/myfile.txt from a remote (remote.example.com) system to the local system / opt directory, use the following command.
# scp remote.example.com:/opt/myfile.txt / opt/ Thank you for reading this article carefully. I hope the editor will share bash scp: it is helpful for everyone not to find the command how to solve the content. At the same time, I also hope you can support us, pay attention to the industry information channel, and find out if you have any problems. Detailed solutions are waiting for you to learn!
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.