log files .gz in windows | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Rohan_Garg
Rohan_GargAccepted solution
New Participant
Mar 17, 2023 10:29 AM UTC

Hi @gbis1719,

 

It is easier to extract and read gzip files on linux system as compared to windows.

For windows, you can install Linux on windows using WSL. (Ubuntu WSL is available on Microsoft Store)

 

You can then use the gunzip command as shown below -

gunzip filename.log.gz

Or

gzip -d file.gz

This converts the .log.gz file to simply .log file. Hope this helps!

There are other ways as well. Please find the below blog -

https://linuxize.com/post/how-to-unzip-gz-file/

 

Thanks,

Rohan Garg

6 replies

Rohan_Garg
Rohan_GargAccepted solution
New Participant
Mar 17, 2023 10:29 AM UTC

Hi @gbis1719,

 

It is easier to extract and read gzip files on linux system as compared to windows.

For windows, you can install Linux on windows using WSL. (Ubuntu WSL is available on Microsoft Store)

 

You can then use the gunzip command as shown below -

gunzip filename.log.gz

Or

gzip -d file.gz

This converts the .log.gz file to simply .log file. Hope this helps!

There are other ways as well. Please find the below blog -

https://linuxize.com/post/how-to-unzip-gz-file/

 

Thanks,

Rohan Garg

Translate
gbis1719Author
Level 2
Mar 17, 2023 11:04 AM UTC

and how to do without linux in windows??

Translate
Rohan_Garg
New Participant
Mar 17, 2023 11:12 AM UTC

Hi @gbis1719. 

 

You can use WinZip or 7-Zip. I haven't tried it before but it should work nonetheless.

 

Also, you can refer the below URLs-

https://www.bls.gov/help/instructions-for-opening-gz-files.htm

https://www.winzip.com/en/learn/file-formats/gz/

https://www.wikihow.com/Extract-a-Gz-File

 

Thanks,

Rohan Garg

Translate
SivakumarKanoori
New Participant
Mar 17, 2023 10:19 AM UTC

@gbis1719 : how are you extracting it , which tool you are using to extract .

Translate
Thanks,Siva
gbis1719Author
Level 2
Mar 17, 2023 10:29 AM UTC

i am not using any tool, just removing .gz

Translate