How to Use Tar Command in Linux - a Graphical Explanation

by matt392 in Circuits > Linux

39 Views, 0 Favorites, 0 Comments

How to Use Tar Command in Linux - a Graphical Explanation

TarCommand.png

A graphical explanation of how to use the tar command in Linux.

Attached as a PNG image and PDF file.
To create an archive:tar -czvf NameOfArchive.tar.gz /PathToFolder/FolderOrFileName - "c": create archive - "z": compress archive using gzip - "v": create a verbose output when the command is run - "f": allows user to name the archive   ================================To extract an archive:tar -xzvf NameOfArchive.tar.gz - "x": extracts the archive - "z": unzip the archive using gzip - "v": create a verbose output when command is run - "f": name of the archived file to be extracted

Downloads

Supplies

  1. Linux terminal
  2. tar command installed