Ubuntu – What are the different arguments passed to tar command


What is the purpose of -xvzf arguments when we untar any tarBall file and what are the other arguments passed over the command?

I found it mentioned in many books but can't find anything.

Best Answer

Just type man tar in the terminal for the tar command manual.
You can also view it online at http://man.cx/tar or at http://linuxcommand.org/man_pages/tar1.html (Thanks to @Rinzwind)

The meaning of -xvzf is

-x --extract = extract files from an archive
-v, --verbose = verbosely list files processed
-z, --gzip = gzipped files eg. for tar.gz packages
-f, --file ARCHIVE = use archive file or device ARCHIVE
Related Question