The gzip command is a popular tool used for compressing/decompressing files in Linux. We’ve already covered the basics of this tool here. This utility produces .gz files in output. But sometimes – like while transferring files – the extension may get chopped off. You’ll be glad to know there exists a tool that you can use to force the .gz extension back to these compressed files.