tar:
archive: tar -cvf File.tar /directory
Extract: tar xf FileName.tar
Tar.gz:
Archive: tar czvf name.tar.gz files
Extract: tar xzvf name.tar.gz
tar.bz2:
Archive: tar -cvjSf folder.tar.bz2 folder
Extract: tar xjf File.tar.bz2
bz2:
Archive: bzip2 -z filename
[or] Archive: bzip2 filename
Extract: bunzip2 FileName.bunzip2
[or] Extract: bzip2 -d filename.bz2
rar:
archive:
Extract: unrar e FileName.rar
gz:
Archive: gzip file
Extract: gzip -d file.gz
Extract: gunzip FileName.gz
zip:
archive: zip file.zip file
archive: zip -r Folder.zip folder
Extract: unzip File.zip
7zip:
Archive: 7z a File.7z File
Extract: 7z e File.7z