Computer Services & Repairs
Chicago and Suburbs
 

Table of Contents


 

5.08 De&Compression Utilities

COMPRESSION TOOL

UNCOMPRESSION TOOL

EXTENSION USED

bkzip2

bkunzip2

.bz2

gzip

gunzip2

.gz

zip

unzip

.zip


bzip2 - compresses a file

Options:

-c writes output to standard output keeping original files unchanged

-d decompression

-f force

-k keep

-v verbose

-V version



bunzip2 and bzcat - decompress a file

Options:

-c causes gunzip to send its output through the pipe instead of creating file



gzip - compresses a file #(is older and less efficient than bzip2)



gunzip and zcat - decompress a file



tar - packs and unpacks files

Options:

-c create

-v verbose

-f write to or read from a file

-t display a table of contents for the archive

-x extracts files from a tar archive

-z this option causes tar to call gunzip (or gzip when creating an archive) directory

-j this option simillar manner calls bzip2 or bunzip2


Example:

[bash]$ tar -cvf all.tar foo1 foo2 foo3

[bash]$ tar -tvf all.tar

[bash]$ tar –xvzf foo.tar.gz #(pack/unpack decompress/compress)


 
 
   

Copyright 2006 © Burnnet Computers LLC.