Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

11
  • 7
    Where do I get a version of gunzip with -k or --keep? I'm using version 1.5 in Gentoo and it has no such option. Commented Sep 18, 2014 at 22:02
  • 2
    @PavelŠimerda It was added in version 1.6. I've amended my answer. Thanks. Commented Sep 18, 2014 at 22:15
  • Thanks a lot! With the other option this is now the best answer. Commented Sep 18, 2014 at 22:21
  • 2
    @PavelŠimerda If you need --keep but don't have it, just make a copy of file.gz first. Commented Aug 19, 2015 at 16:33
  • 4
    gunzip -c file.gz > file or zcat file.gz > file also work. superuser.com/questions/45650/… Commented May 1, 2017 at 14:38