How to Zip and Unzip files in UNIX

Here is how to Zip and Unzip files in UNIX

  • unzip myFile.zip – This command will uncompress compressed files with the .zip extension.
  • tar xvf myFile.tar – This command will uncompress compressed files with the .tar extension.
  • gunzip myFile.gz           – This command will uncompress compressed files with the .gz extension.

Leave a Comment