---
name: "fitshdr"
section: "1"
platform: "linux"
package: "wcslib"
version: "8.10-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/fitshdr"
---

# fitshdr(1)

List headers from a FITS file

## NAME

fitshdr - List headers from a FITS file

## SYNOPSIS

**fitshdr** \[*-q N*\] \[*\<infile\>*\]

## DESCRIPTION

List headers from a FITS file specified on the command line, or else on stdin, printing them as 80-character keyrecords without trailing blanks.

## OPTIONS

- **-q** N

  Quit after reading the Nth header, where N is an integer (optional space between **-q** and N).
