I want to transfer files between servers, use the SCP tool, and the zip tool is useful when the file is large or needs to transfer many files. Network analysis Tools The MTR is also commonly used.
Readers can look at the next man information for comparison.
1. Compress the files into soft.zip files
Zip–r Soft.zip apr-1.5.1.tar.gz cmake-2.8.12.2.tar.gz/app/backup/
2. SCP Tool Transfer file
Scp-p 2201 Soft.zip Test@10.10.1.2:/database/backup
RSA key fingerprint is 6c:0a:34:3c:d2:13:4d:ca:bf:d9:9a:8d:c7:6c:1a:4e.
Is you sure want to continue connecting (yes/no)? Y
Please type ' yes ' or ' no ': Yes
3. Login to 10.10.1.2 host to view files
4. Unzip the zip file to view the file details
Unzip Soft.zip
Or do not want to unzip, just want to see what the content: Unzip–v soft.zip
Or find that there are many subdirectories in the compressed file, I want to compress these files into the first directory: Unzip–j music.zip
5. View the Help information for MTR: mtr–h
-V: View the current version number;
-R: In the report mode, no-R will be displayed dynamically;
-C: Sets the number of packets sent per second, the default value is 10;
-S: Specifies the size of the ping packet;
-N: Equivalent to--no-dns does not parse DNS;
Sends 15 packets to the DNS server 202.106.0.20, does not do the DNS resolution, and displays in the form of a report:
Mtr-r-n-c 15 ***.***.***.***
Mtr:unable to get raw sockets. No permissions, set permissions, or use the root user.
Linux command: zip&unzip&scp&mtr