tar -xzf packed.tar.gz
- To extract a .tar archive, use the tar -xf command followed by the archive file name. - To create a new one use tar -czf followed by the archive name and the files and directories you want to add to the archive.