how to extract the tar file in linux code example Example 1: extract tar linux tar -zxvf file_name.tar.gz Example 2: extract tar tar -xvf file.tar