Open jbeadling opened 11 months ago
gzip and zip are compression utilities used to compress and decompress files and directories in Unix-like operating systems.
Here we compress and decompress a file using gzip. Notice the file is now much smaller after compression.
Below we use the tar command and create a compressed archive using gzip.
Below we extract that archive we just created into a new directory
Summary
Learn how to compress and decompress files using various utilities like
tar,
gzip,
zip,
andunzip
on a Unix-like operating system.Description
Objective: Master the techniques for compressing and decompressing files to save disk space and facilitate easier file transfers.
Scope:
gzip
andzip
gunzip
andunzip
tar
Learning Tasks
Compressing Files:
gzip
andzip
to compress individual files or directories.Decompressing Files:
gunzip
andunzip
for decompressing files back to their original state.Archiving with
tar
:tar
command and various flags.Best Practices:
Hands-on Practice:
gzip.
gunzip.
tar
with multiple files.Troubleshooting:
Learning Goals
Priority