The Unix tar command is used to compress a folder by creating a tarball (a tar archive file). To use the tar command, open the command line and type: ...
The tar command in Unix can be used to uncompress a tar file. To do this, use the following command: The output of this command will be the list of files that were extracted from the tar archive.