Skip to content
Advertisement

Use tar to archive the contents of your home directory in linux

I am trying to archive the contents of my home directory using tar and then compress the tar file with gzip. I know you can uncompress and unarchive the .tar.gz file using cat, tar and gzip. But , I don’t know how to compress and archive.

Advertisement

Answer

Hey there here is a link for your question. a full guide

https://www.howtogeek.com/248780/how-to-compress-and-extract-files-using-the-tar-command-on-linux/

JavaScript

Here’s what those switches actually mean:

JavaScript
User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement