tty.help
Appearance

Display preferences are saved in this browser.

catRead a small file

Write file contents to standard output. Multiple filenames are read in order.

Label
Read-oriented
Edited
2026-11-07
References
1 official

Example

cat README.md
  1. catCommand nameAliases, shell functions, wrappers and PATH can change which program runs.
  2. README.mdArgumentsFlags and operands as written. Quoting and expansion can change them before the program starts.
Illustrative syntax only. Do not run this without confirming the target and environment.

Things to check

Contents may include secrets. A large or binary file can overwhelm a terminal. Redirection around cat can still overwrite files.

Before you run it

Check the filename and avoid printing credential files.

Ask your agent

“Explain the entire command, including every flag and operator. What exact files, services or permissions could it affect, and how will we verify the result?”

Context is part of the command

A command name alone cannot determine safety. Aliases, shell functions, expansions, flags, permissions and working directory can change its behavior.

Explore a full command