Using the BASH Shell - 3

CompTIA Linux+ Domain:

Domain 3.0: Security

CompTIA Linux+ Objective:

Objective 3.6: Given a scenario, backup, restore, and compress files.

Overview

Fedora Workstation is a Linux distribution based on Red Hat Linux. This lab provides guidance on using the BASH Shell of the Linux+. By performing this lab, students will learn how to execute various archiving and compression commands.

outcomes:

In this lab, you will learn to:

  1. Create archive files using tar, cpio, and dd.
  2. Compress and uncompress files using gzip, gunzip,  and bzip2.

Key terms and descriptions

gzip/gunzip
gzip is a file compression utility that using the Lempel-Ziv coding (LZ77) and uses an extension .gz.
bzip2
The bzip2 command is a file compression program developed in 1996 by Julian Seward using the Burrows-Wheeler algorithm.
tar
The tar command can also compress and uncompress tar/gz files.
cpio
The cpio command is another archiving command that is not as widely used or known as tar.