gzip Help and SyntaxIT technician command center
Linux · Linux and Bash

gzip Help and Syntax

Display usage, options, and built-in help for the Linux command gzip.

Copy-ready commandgzip Help and Syntax
gzip --help
Production warning

Help and syntax commands are generally read-only. The original command shown for context may change systems or data; review it before execution.

Requirements and permissions

Requirements
Linux with the referenced utility installed
Permissions
No elevated permissions are normally required to view help; local policy and shell access still apply.
Last reviewed
2026-07-31

Examples

Display the full reference

Requests the command's built-in usage information without performing its normal operation.

gzip --help

Original command context

The original gzip example is included for context. Review all parameters before using it in production.

gzip -k large.log

Common errors

Unknown option --help

Try 'man gzip' or 'info gzip' because some Unix utilities use manual pages instead of a --help option.