Lab Chapter 3 Mod 4
Lab Chapter 3 Mod 4
Lab Chapter 3 Mod 4
– The archive file is not compressed — it uses the same amount of disk
>> To view the contents of a zip file without extracting it, use the
following zip command:
zip -sf MyZIP.zip
>> UnZIP
unzip ZipName.zip # extract all
II. GZIP
o Gzib: Standard linux compression algorithm
េលក្រគ� គឹម េនា | RUPP
3 |ទំព័រ
o In general, GZIP is much better compared to ZIP, in terms of
compression, especially when compressing a huge number of
files.
o Will automatically add extension “.gz” to file
>> Create tar.gz Archive File
To create a compressed gzip archive file we use the command.
gzip ArchivingName.tar
III. BZIP2
o The bzip2 tools can create significantly more compact files than gzip, but take much
longer to achieve those results due to a more complex algorithm.
o Better linux compress algorithm
o Automatically add extension “.bz2” to file