Use tar to decompress file Jan 21, 2019 Different compression type x - extract f - read from a file v - verbose output (list all files) *.tar file tar xf foo.tar *.gz file tar xzf foo.gz *.xz file tar xf foo.xz tar xz foo.xz *.bz2 file tar xjf foo.bz2