bsdcat(1)

bsdcat1

Expand files to standard output

Usage

bsdcat [options] [files]

Overview

bsdcat expands files to standard output.

Options

bsdcat typically takes a filename as an argument or reads standard input when used in a pipe. In both cases decompressed data is written to standard output.

Examples

To decompress a file:

bsdcat example.txt.gz > example.txt

To decompress standard input in a pipe:

cat example.txt.gz | bsdcat > example.txt

Both examples achieve the same results - a decompressed file by redirecting output.

Releases

6 releases since Debian 9 (Stretch); the text changed 3 times.

  1. 9–10
  2. 11–12
  3. 13
  4. Arch

From libarchive 3.8.11-1 in Arch Linux 2026-11-01. Parsed by carta from the page's mdoc source.