18 Tar Command Examples in Linux

Best Affordable Linux and WordPress Services For Your Business
Outsource Your Linux and WordPress Project and Get it Promptly Completed Remotely and Delivered Online.

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Ravi Saive

I am Ravi Saive, creator of TecMint. A Computer Geek and Linux Guru who loves to share tricks and tips on Internet. Most Of My Servers runs on Open Source Platform called Linux. Follow Me: Twitter, Facebook and Google+

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

89 Responses

  1. Rajendran says:

    Just want to say Thanks !!

  2. shyam says:

    Thank you so much for valuable information on Linux tar command.

  3. swapnil Tembhare says:

    The wildcard is not working for me, it given an error called unmatched even when content is available in tar.

    e.g. content in work.tar.gz
    tar -zxvf  work.tar.gz --wildcards '*.log' , returns nothing but an error i.e. "UNMATCHED ."
  4. Reza says:

    There are a few errors in the article, such as “begin with .php” instead of “ended with .php” also several truncated commands and mixed-mashed command and switches which might mess up on some distribution. for example the .flv extract is nowhere specified on command line, you might mean “video directory” not *.flv. i counted several other errors, this article seriously needed polish. (I’ve posted this comment erroneously on the split article, sorry)

  5. Alex says:

    Its important to note that the -f flag should be the last on the list of flags.

Leave a Reply to Alex Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.