Skip to main content
Commands for structured data, encodings, checksums and archives, beside the Core Tools. Expand a command to see every flag it takes; man COMMAND prints its manual.

JSON and calculations

Query and transform a stream of JSON values.
Evaluate numeric expressions.
Evaluate integer and string expressions.
jq runs once per JSON value, whether input is JSONL, concatenated documents, or piped output. Use -s to collect the stream into an array, and --arg / --argjson to pass values safely. Limits: jq -C, -L, --stream-errors, and --build-configuration are unsupported. Input-consuming programs follow the common input / inputs patterns; partial drains or multiple conditional reads can differ from jq. Halts inside error handling can also differ.

Encoding and checksums

Encode or decode Base64.
Convert character encodings.
Create or reverse a hex dump.
Dump bytes in a chosen format.
Print an MD5 digest.
Generate or verify checksums.
Generate or verify checksums.

Archives and compression

Create, extract, or list archives.
Create ZIP archives.
Extract, inspect, or test ZIP archives.
Compress or decompress gzip data.
Decompress or test gzip data.
Read compressed content to stdout.
Compare compressed files.
Compare compressed files.
Compress, decompress, or test .xz data.
Compress, decompress, or test .xz data.
Compress, decompress, or test .bz2 data.
Compress, decompress, or test .bz2 data.
Search compressed content.
zegrep and zfgrep invoke zgrep with -E and -F respectively. uncompress is gzip -d. Limits: Archive creation does not traverse descendant mounts, and a mount root cannot be a source for tar -c or zip. Extracting or writing an archive requires a writable destination.