Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

How to read a gz file?

  1. Jun 3, 2009 #1
    I just downloaded the file covtype.data.gz and it is quite a large file about 75Mb. But I do not know how to read the file. Please tell me what to do.:cry:

    I'm using window XP and I know how to unzip dot zip or dot rar. However my computer doesn't recognized the new file format. Why it is there are two dots in the file name covtype.data.gz ?
  2. jcsd
  3. Jun 3, 2009 #2


    User Avatar
    Science Advisor
    Homework Helper

    gz is like zip or rar except that it contains only a single file "covtype.data"
    winrar can probably open it, otherwise just download gzip from http://www.gzip.org/

    Multiple extentions are more common in unix where '.' is just another filename character it doesn't have the special meaning as in dos. The gzip program simply puts .gz onto the end to show that it is compressed.
  4. Jun 3, 2009 #3
    Thank you mgb_phys
    I must go and try now.
  5. Jun 3, 2009 #4


    User Avatar

    Staff: Mentor

    gzipped files are easily opened with WinRAR.
  6. Jun 3, 2009 #5


    User Avatar
    Science Advisor
    Homework Helper
    Gold Member

  7. Jun 4, 2009 #6
    I agree with the 7zip recommendation. It's free, open source, and opens just about anything (more than Winrar or Winzip).
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook