0% found this document useful (0 votes)
4 views1 page

Chapter 9 Summary

Chapter 9 discusses file archiving and compression techniques for efficiency and storage. It explains how to use Linux commands like gzip and tar for compressing and archiving files, detailing their functionalities and options. The chapter also mentions the use of Microsoft zip files, though they are less commonly supported in comparison to Linux tools.

Uploaded by

eshaanp23
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views1 page

Chapter 9 Summary

Chapter 9 discusses file archiving and compression techniques for efficiency and storage. It explains how to use Linux commands like gzip and tar for compressing and archiving files, detailing their functionalities and options. The chapter also mentions the use of Microsoft zip files, though they are less commonly supported in comparison to Linux tools.

Uploaded by

eshaanp23
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Chapter 9 continues our focus on files and explores how to archive and compress files for

efficiency and storage. Archiving files means combining multiple files into a single file, making
it smaller in size and easier to move around. Compressing files means making them smaller by
removing redundant information about the files. The compression algorithm encodes the original
file in a way that is easy to restore, consequently making the file smaller and easier to store and
send. There are two types of compression, lossless and lossy. Linux has built in tools to help with
compression, the first of which is gzip. This command compresses the text file into a new file
called a .gz file. Using the -l command, the shell will output data about the newly compressed
file compared to the original file. Using the gunzip command, the file can be restored to its
original state. To archive files, the user can use the tar command in the shell. The tar command
has three modes, create, extract, and list. To create, the user can use the tar command with -c to
create and archive. The .tar file will contain multiple files within and save storage space. The .tar
files can be compressed even further using the gzip or by using the -z option with the tar
command. By using the -t command, the user can list all of the files compressed inside of an
archive. To extract files from the archive, the user can use the -x option with the tar command.
Finally, the user can also use the classic zip files from microsoft, although it is less prevalent as
they are not as supported.

You might also like