How Do I Create an Archive in Linux Terminal?
Contents

How do I archive a folder in Linux?

Extract archive

  1. $ tar xf ostechnix.tar. We can also use the C logo (capital letter C) to extract the archive to a different directory. …
  2. $ tar xf ostechnix.tar -C Downloads/ Or, go to the Downloads folder and something like the following extract the archive.
  3. $ tar xf ../ostechnix.tar.

What utility can I use to create an archive Linux?

The useful archiving application on standard Linux distribution follows:

  1. tar Command. tar is the standard UNIX/Linux archiving application tool. …
  2. ar Command. ar is the creation and manipulation utility for archives, mainly used for binary object file libraries. …
  3. Gzip.
James H. Sterling

James H. Sterling

Environmental Science & Climate Journalist

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.

Share this article
Twitter Facebook Pinterest