Linux File Compression archive operation command: Gzip/ungzip suffix. gz
Xz/unxz suffix. xz
Bzip2/bunzip2 suffix. bz2
Tar for archiving and compressing
-#: #为0-9 Specify compression ratio
Gzip-c name compression results output to standard output
-D Decompression
-V Verbose
Zcat to view compressed files without pressure
-R Recursive compression
Xz-k Keep the original file
Xzcat without pressure to view the original file
Tar Jcf file.tar.xz/dir/to/file archive files and compress packages into XZ form
Tar zcf file.tar.xz/dir/to/file archive files and compress packets into GZ form
Tar jcf file.tar.xz/dir/to/file archive files and compress packages into bz2 form
Tar xf/path/to/file.tar.xz extract the file without specifying the file format when decompressing
Tar tf/path/to/file.tar.xz read the directory of archived files without being pressed
Tar zcf file.tar.xz/dir/to/file-c/path/to/somewhere dump archived compressed files to a path
About the file Compression archive operation command in Linux system