How to unzip a .gz file using Git Bash on Windows?
Asked Answered
H

1

13

I have tried to open a .gz file, How can i proceed ?

Ex: filename=details_IMST_20180626210209.dat.gz

Tried to open with notepad, git bash using less command. But couldn't open as it is zipped. suggest way to open the file.

Hipparch answered 27/6, 2018 at 10:2 Comment(2)
Stack Overflow is a site for programming and development questions. This question appears to be off-topic because it is not about programming or development. See What topics can I ask about here in the Help Center. Perhaps Super User or Unix & Linux Stack Exchange would be a better place to ask.Bonacci
This has been asked and answered so many times you have to make an effort to avoid finding an answer: How to unzip a .gz file on Windows. Also see How much research effort is expected of Stack Overflow users?Bonacci
H
15

Go to the file location in Git Bash and run the below command.

$ gunzip details_IMST_20180626210209.dat.gz

After executing that command, details_IMST_20180626210209.dat got created (.gz was removed).

We can open that file from notepad/notepad++.

Hipparch answered 27/6, 2018 at 10:14 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.