Common parameters and examples of 1,TAR commands:
Required Parameters: (3 parameters cannot coexist)
-C: Creates a compressed file that represents create.
-X: Unzip the file
-T: View the files inside the package!
Auxiliary parameters:
-Z: Compressed/uncompressed with gzip
-J: Compressed/uncompressed with bzip2
-V: Show the compression/decompression progress bar
-F: Use the file name (note: F do not answer the parameters, that is,-ZXFV is wrong, to write-ZXVF)
Instance:
Unzip a file:
TAR-ZXVF abc.tar.bz2
(Decompression abc.tar.bz2)
To create a compressed file:
TAR-ZCVF abc.tar.bz2 One.mp3 Two.mp3
(Compress One.mp3 and Two.mp3 into abc.tar.bz2)
2,rar instance of the format:
Since Rarlinux is a paid software, first download rarlinux and then install it.
Installation method: Download Rarlinux's package, the official website is: www.rarsoft.com
TAR-ZXVF rarlinux.tar.gz
CD./rarlinux
Make && make install
Instance:
Unrar e Filesname.rar
3,7z File Decompression Instance
Installation: Redhat, Fedora, CentOS installation command:
Yum Install P7zip
Installation: Debian, Ubuntu installation command:
Apt-get Install P7zip
Instance:
7z x filename.7z
(Turn) Linux decompression: tar, rar, 7z command