Decomprimere il file denominato ‘file1.bz2′
bunzip2 file1.bz2 	
Comprimere il file denominato ‘file1′
bzip2 file1 	
Decomprimere il file denominato ‘file1.gz’
gunzip file1.gz 	
Comprimere il file denominato ‘file1′
gzip file1 	
Comprimere con la massima compressione
gzip -9 file1 	
Creare un archivio rar chiamato ‘file1.rar’
rar a file1.rar test_file 	
Comprimere in rar simultaneamente ‘file1′, ‘file2′ e ‘dir1′
rar a file1.rar file1 file2 dir1 	
Decomprimere un archivio rar
rar x file1.rar 	
Decomprimere un archivio rar
unrar x file1.rar 	
Creare un archivio tar non compresso
tar -cvf archivio.tar file1 	
Creare un archivio contenente ‘file1′, ‘file2′ e ‘dir1′
tar -cvf archivio.tar file1 file2 dir1 	
Visualizzare il contenuto di un archivio
tar -tf archivio.tar 	
Estrarre un archivio tar
tar -xvf archivio.tar 	
Estrarre un archivio tar dentro /tmp
tar -xvf archivio.tar -C /tmp 	
Creare un archivio tar compresso in bzip2
tar -cvfj archivio.tar.bz2 dir1 	
Decomprimere un archivio tar compresso in bzip2
tar -xvfj archivio.tar.bz2 	
Creare un archivio tar compresso in gzip
tar -cvfz archivio.tar.gz dir1 	
Decomprimere un archivio tar compresso in gzip
tar -xvfz archivio.tar.gz 	
Creare un archivio compresso in zip
zip file1.zip file1 	
Zippare piÙ file e directory contemporaneamente
zip -r file1.zip file1 file2 dir1 	
Decomprimere un archivio zip
unzip file1.zip