I am unable to extract .gz log files. I am getting below weird text.
Can anyone help ?
Solved! Go to Solution.
Views
Replies
Total Likes
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
i am not using any tool, just removing .gz
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
and how to do without linux in windows??
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
it works with this wsl and gzip command
Views
Likes
Replies
Views
Likes
Replies