Published
- 1 min read
linux tar gz
The solution for this is noted below
linux tar gz
Solution
# Basic syntax:
# Compress:
tar -czvf <output_file> <directory_to_zip>
# Uncompress / extract:
tar -zxvf <tar_gz_file>
# View contents without extracting:
tar -tf <tar_gz_file>
Try other methods by searching on the site. That is if this doesn’t work