Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

LINUX scp command: file copy between servers

2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Command format:

Scp [parameters] [original path] [destination path]

1. Copy other server files to the local server

Scp-r root@192.168.10.71:/home/net_app_flume / home/net_app_flume

R: copy the entire directory recursively

Root@192.168.10.71:/home/net_app_flume: target server user @ target server IP: to copy the directory

/ home/net_app_flume: local server directory to copy to

two。 Copy local server files to other servers

Scp-r / home/net_app_flume root@192.168.10.72:/home/net_app_flume

/ home/net_app_flume: the directory to be copied by the local server

Root@192.168.10.72:/home/net_app_flume: target server user @ target server IP: directory to copy to

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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report