The tar command is used for packing several files or even a whole directory into a single tar file.
To unpack a tar file, type:
tar xvf filename.tar
Note: Always move to an empty directory before unpacking a tar file.
When you unpack a tar file its contents are written to the current directory. Any file or directory with the same name as the contents of the tarfile will be overwritten!