CheatSnip

Related

Package Files

linux

Package and compress files

Archive Files

linux

Tape archive utility

Create File or Update Timestamps

linux

Create new empty files or update existing file timestamps.

linux/gzip

File Compression

Compress files

compression

Command

gzip

Explanation

gzip is used to compress the files. It compresses the files.

Examples

Compress file

gzip file.txt

Decompress file

gzip -d file.txt.gz

More

Concatenate Files

linux

Display file contents

Show File Start

linux

Output first part of files

Show File End

linux

Output last part of files

CheatSnip

Lightning-fast access to essential developer commands and code snippets. Search, copy, and master your favorite tools with our comprehensive cheat sheets.

Poorna Prakash

Quick Links

Git CommandsDockerNPMKubernetesYour Favorites

Legal

Terms & ConditionsPrivacy PolicyCookie Preferences

Company

About UsContact

© 2025 CheatSnip. All rights reserved.

Made with ❤️ for developers