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 1351
2 Bzip2 1577
3 Gzip 1237
4 Tar 1215
5 Compression 1775
 

Follow Us!

facebook

twitter

Who's Online

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