ostree-cat(1)

ostree-cat1

Display or concatenate contents of files

Usage

ostree cat COMMIT PATH ...

Overview

This command functions much like the typical Unix "cat" command, in that it displays the contents of a file, or concatenates them given two or more files. However, this command requires the user to specify a commit - a checksum or refspec corresponding to a given build. If you use a refspec, OSTree will refer to the most recent commit, unless you specify a parent build using the carat (^) at the end of the refspec. It will then operate the command in that given commit.

Examples

$ ostree cat my-branch helloworld.txt

        Hello, world!

Releases

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

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13
  6. Arch

From ostree 2026.4-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.