Linux and Unix TAR Command

r00t May 29, 2014

Linux and Unix TAR Command

For those of you who didn’t know, The tar command used to rip a collection of files and directories into highly compressed archive file commonly called tarball or tar, gzip and bzip in Linux. The tar is most widely used command to create compressed archive files and that can be moved easily from one disk to anther disk or machine to machine. The main purpose of this article is to provide various tar command examples that might be helpful you to understand and become expert in tar archive manipulation.

Linux and Unix TAR Command

Create tar Archive File

Example command create a tar archive file idroot.tar for a directory /home/idroot in current working directory.

Create tar.gz Archive File

Example command create a compressed gzip archive file idroot.tar for a directory /home/idroot in current working directory.

Untar a tar File or gzip-bz2 tar File

Tar Command Options
Save

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!
Share on Google+0Share on Facebook0Tweet about this on TwitterShare on Tumblr0Share on StumbleUpon1Share on Reddit1Pin on Pinterest2

Leave a Comment