Compression

Files are often compressed to save space. To use the files, you'll have to know how to extract them. First we look at the file command. This can tell you how a certain file is compressed.

$ file [filename]

The file command looks at a file and tells you what it is (text, mp3, zip, etc.)

$ file documentation.php
documentation.php: ASCII English text


$ file testfile.tar
testfile.tar: GNU tar archive

On windows the most common type of compressed file is .zip . This both archives (makes all the files into one) and compresses (tries to make that one file smaller). Generally on UNIX systems the archiving and compressing are done separately. We'll look first at the archiving tool.

Title Filter     Display # 
# Article Title Hits
1 Zip and Rar 1207
2 Bzip2 1406
3 Gzip 1100
4 Tar 1090
5 Compression 1622
 

Follow Us!

facebook

twitter

Who's Online

We have 7 guests online
Valid XHTML & CSS | Template Design ah-68 | Copyright © 2009 by CompSoc