Whenever I am writing this:

tar - xvf grads-2.0.2.oga.2-bundle.tar.gz

I am getting this:

You must specify one of the '-Acdtrux', '--delete' or '--test-label' options

How to use this?

closed as off-topic by roaima, Archemar, Drav Sloan, chaos, G-Man Aug 4 '15 at 13:54

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions describing a problem that can't be reproduced and seemingly went away on its own (or went away when a typo was fixed) are off-topic as they are unlikely to help future readers." – roaima, Archemar, Drav Sloan, chaos, G-Man
If this question can be reworded to fit the rules in the help center, please edit the question.


Drop the space after -, or even drop - entirely:

tar xvf grads-2.0.2.oga.2-bundle.tar.gz

For those wondering what the options do, from man tar:

-x, --extract, --get
extract files from an archive

-v, --verbose
verbosely list files processed

-f, --file ARCHIVE
use archive file or device ARCHIVE
  • I am getting this error: "tar: Error is not recoverable: exiting now". Actually I am new to Ubuntu – girija Aug 4 '15 at 11:47
  • Is that all the output you're getting? What does ls -l grads-2.0.2.oga.2-bundle.tar.gz produce? It should indicate the file is 16,269,897 bytes in length. – Stephen Kitt Aug 4 '15 at 11:54

Not the answer you're looking for? Browse other questions tagged or ask your own question.