extract tar.zip file linux command code example Example: how to unzip using tar tar -xf archive.tar.gz