[Tar](https://en.wikipedia.org/wiki/Tar_(computing) (originally coming from Tape ARchive) is a common tool in the belt of both system adminstrators and users of unix like systems. It allows you to create archives of files and extract them later.
Traditionally people learn it by copying examples:
The parameters contains three different bits:
- f (you want to deal with a file instead of something from stdin/stdout)
- x (extract) or create/compress (c)
- z/j/J (deal with different file types). This one is certainly the hardest one to remember.
It turns out, you don’t actually have to bother with it. Modern version of tar (both the BSD and GNU version) extract the filetype out of the file extension you specify automatically. So all you need for the examples above is:
TL;DR; Forget about jJz on tar, it is not needed.
Final tip: If you want to see which files got extracted, put “v” on it as well.