---
title: "Discussion on \"Cheatsheet & Examples: gzip\" | Hashnode"
description: "Discussion on \"Cheatsheet & Examples: gzip\". I need a cheatsheet for the gzip command.\nCompress a file\nExample Usage:\ngzip file.txt\nWhat it does:\nCompresses the specified file using the gzip algorithm, replacing the original file with a compressed version. The compressed file will have the .gz ..."
url: "https://hashnode.com/posts/cheatsheet-examples-gzip/687ed4c68c7bf427d5f22be1"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Cheatsheet & Examples: gzip](https://tech.mrleong.net/cheatsheet-examples-gzip?utm_source=hashnode&utm_medium=feed)

I need a cheatsheet for the gzip command. Compress a file Example Usage: gzip file.txt What it does: Compresses the specified file using the gzip algorithm, replacing the original file with a compressed version. The compressed file will have the .gz ...

Jul 22, 2025 · 3 min read · tech.mrleong.net  
Read the article

-   [#2articles1week](https://hashnode.com/tag/2articles1week)
-   [#cheatsheet](https://hashnode.com/tag/cheatsheet)
-   [#cli](https://hashnode.com/tag/cli)
-   [#gzip](https://hashnode.com/tag/gzip)

## Written by

[Hong](https://hashnode.com/@hongster)

@hongster · Johor Bahru, Malaysia

  
[View profile](https://hashnode.com/@hongster)

Script Monkey @ Innoractive

I work with Linux in the day, ballroom dancing at night. I use Arch, btw.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
