tty.help
Appearance

Display preferences are saved in this browser.

headPeek at the beginning

Print the first lines of a file. -n 20 asks for twenty lines.

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

Example

head -n 20 README.md
  1. headCommand nameAliases, shell functions, wrappers and PATH can change which program runs.
  2. -n 20 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

A preview can still expose secrets. It does not prove the remainder of a file is harmless.

Before you run it

Use a small preview when you only need the beginning.

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