Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ Copy files between two Linux hosts     - Share and show your code on GitHub (Linux)

- How to manage KVM virtual environments with command-line tools in Linux (Server)

- Shell Programming Regular Expressions (Programming)

- Management DB2 logs (Database)

- Redis is installed in Ubuntu 14.04 (Database)

- Oracle inline view updates problems encountered (Database)

- CentOS7 installation configuration Redis-3.0.0 (Database)

- How to install Unbound and DNSCrypt in Archlinux (Server)

- Linux module mechanism of (Programming)

- Kitematic how seamless and DockerFILE (Server)

- Linux use iptables ban Ping (Linux)

- Linux Log Clear (Linux)

- Cobbler Add custom YUM source (Linux)

- Docker + Nginx + Tomcat7 simple load balancing configuration (Server)

- Android custom slideshow menu slidmenu (Programming)

- Linux environment variable configuration (Linux)

- Install Java JDK 8 in CentOS 7 / 6.5 / 6.4 (Linux)

- Installation and Configuration Tomcat environment CentOS 6.6 (Server)

- Debian 7.6 install Nvidia graphics driver (Linux)

- MySQL Basic tutorial: About varchar (N) (Database)

  Copy files between two Linux hosts
  Add Date : 2017-08-31      
  Use scp command can copy files between two Linux hosts, the basic format is:

scp [optional parameters] file_source file_target

1. Copy the file


scp local_file remote_username @ remote_ip: remote_folder
scp local_file remote_username @ remote_ip: remote_file
scp local_file remote_ip: remote_folder
scp local_file remote_ip: remote_file

2. Copy the folder

scp -r local_folder remote_username @ remote_ip: remote_folder
scp -r local_folder remote_ip: remote_folder

For example, the local / hz / folder to / below, enter the following command:

scp -r / hz / root@ /
- Ubuntu 12.04 configure NVIDIA CUDA 5.5 Record (Linux)
- Applications Linux leap second problem caused (Linux)
- Camouflage Nginx Web server version to prevent invasion (Linux)
- How to install the client sqlplus under linux (Database)
- Linux source code to install Apache and solutions to common errors (Server)
- How x2g0 install Remote Desktop on Linux VPS (Server)
- Performance comparison Fibonacci recursive and non-recursive (Programming)
- iOS in Singleton (Programming)
- Top command: the Task Manager under linux (Linux)
- RAID configuration and management under linux (Server)
- Number JavaScript type system (Programming)
- Create RAID 1 (mirroring) with two disks (Linux)
- Simple solution CC attack under Linux VPS (Linux)
- Docker build private warehouse (Server)
- Linux can modify the maximum number of open files (Linux)
- Oracle 11g principle study Dataguard (Database)
- To build Spring RestTemplate use HttpClient4 (Programming)
- Android development, may cause a memory leak problem (Programming)
- How to Check notebook CPU temperature in Ubuntu (Linux)
- C ++ virtual functions Classic Insights (Programming)
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.