IP Addr Show br0 view the IP of the real host
File archiving
1. File archiving is to turn multiple files into an archive file
Parameters
Tar C creation
F Specify the archive name
T displays the contents of the archive file
R continue to add files to the archive file
--get to remove a single file from an archive file
--delete Deleting individual files
x remove all files from the archive file
-c Specifies the directory of the solution file
-Z GZ
-j bz2
-j XZ
2. Compression
Gz
Gzip Etc.tar Compression
Gunzip Decompression
Tar zcf etc.tar.gz/etc archived and compressed in. gz format
Tar zxf etc.tar.gz Unzip and unzip the file
bz2
bzip2 Etc.tar Compression
BUNZIIP2 Decompression
The tar jcf etc.tar.bz2/etc is archived and compressed in a compressed format. bz2
Tar jxf etc.tar.bz2 Unzip and unzip the file
Xz
Xz
Unxz
Tar Jcf etc.tar.xz/etc Archive and compress, compressed in XZ format
Tar jxf etc.tar.xz
Zip
Zip-r Etc.tar.zip Ctc.tar
Unzip Etc.tar.zip
Zip cannot archive compression at the same time
3. File transfer in the system
SCP file [email protected]:d IR upload
SCP [email protected]:/dir/file/dir download
rsync "parameter" file [email Protected]:dir
Rsync-r Synchronizing Directories
-L do not ignore links
-P Do not ignore file permissions
-T does not ignore file timestamps
-G does not ignore all groups
-O do not ignore file owner
-D do not ignore device files
This article from the "12147236" blog, reproduced please contact the author!
"Linux rookie starter" different system file transfer and file archive compression