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

26 releases since FreeBSD 10.4-RELEASE; the text changed 16 times.

  1. 10.4
  2. 11.0
  3. 11.1
  4. 11.2
  5. 11.3
  6. 11.4
  7. 12.0
  8. 12.1
  9. 12.2
  10. 12.3
  11. 12.4
  12. 13.0–13.3
  13. 13.4
  14. 13.5
  15. 14.0
  16. 14.1
  17. 14.2–16.0

From base 16.0-CURRENT-20261027-61c70dc16a79 in FreeBSD 16.0-CURRENT (2026-10-27). Parsed by carta from the page's mdoc source.