Tar Command Examples

This page provides few examples of tar command which will be useful.Lets create a folder named justgeek and some files in it. $ mkdir justgeek$ cd justgeek/ $ touch 1.txt 2.txt 3.txt 4.txt 5.txt To create a new tar archive. $ tar -czvf justgeek.tar.gz justgeek justgeek/ justgeek/1.txt justgeek/2.txt justgeek/4.txt justgeek/3.txt justgeek/5.txt Here is a another […]

Read More