extract tar file in linux command code example
Example 1: extract tar linux
tar -zxvf file_name.tar.gz
Example 2: how to unzip Tar file
## Untar files in Current Directory ##
tar -xvf filename.tar.gz
## Untar files in specified Directory ##
tar -xvf filename.tar.gz -C /path_name_for_unzip/
-x : extract
-C : specified directory
-v : Verbosely show the .tar file progress.
-f : filename of archive file
Example 3: extract tar
tar -xvf file.tar