head(1)

📦
version 0.7.0 · 3 versions
, in epel 10, fedora 43, fedora 44

🌸 head(1) — General Commands Manual 🌸

okay bestie, pull up a chair, we're doing head(1) from the uutils coreutils family and it is so much easier than it sounds 💖


✨ NAME ✨

head — print the first 10 lines of each FILE to standard output. With more than one FILE, precede each with a header giving the file name. With no FILE, or when FILE is -, read standard input.

Mandatory arguments to long flags are mandatory for short flags too. (yes really, that's just how it works, no cap)


🦋 SYNOPSIS 🦋

head [-c|--bytes] [-n|--lines] [-q|--quiet] [-v|--verbose]
[-z|--zero-terminated] [-h|--help] [-V|--version] [FILE]

💅 DESCRIPTION 💅

okay so here's the tea ☕ — head prints the first 10 lines of each FILE to standard output. that's it. that's the whole vibe. it's giving "I only need the beginning, not the whole essay."

if you hand it more than one FILE, it precedes each one with a header giving the file name, so you know which output came from where 🏷️

if you give it no FILE, or if FILE is -, it reads from standard input. classic. stdin stays the main character ✨

Mandatory arguments to long flags are mandatory for short flags too. — saying it again because it matters, iykyk.


👑 OPTIONS 👑

  • -c, --bytes <[-]NUM> — print the first NUM bytes of each file 🧮 but if NUM has a leading -, flip it: print all but the last NUM bytes of each file. little chaos goblin energy, love that.
  • -n, --lines <[-]NUM> — print the first NUM lines instead of the first 10 🌈 and again, leading - means print all but the last NUM lines of each file.
  • -q, --quiet — never print headers giving file names 🤫 shy girl behavior.
  • -v, --verbose — always print headers giving file names 📢 loud and proud, we love a header moment.
  • -z, --zero-terminated — line delimiter is NUL, not newline. yes, NUL. the delimiter got swapped, periodt ✨
  • -h, --help — Print help 🆘
  • -V, --version — Print version 🏷️
  • [FILE] — the file(s) you're peeking at, bestie 📄

🎀 VERSION 🎀

v(uutils coreutils) 0.7.0

and that's the whole page, bestie 🫶 go forth and read the first 10 lines of everything. mwah 💖

head (uutils coreutils) 0.7.0 — that's the source & version, coming at you from the uutils coreutils squad, and this little manual lives under head(1) in the General Commands Manual section. bye bestie!! 🌸✨🦋

📦 where this page comes from
  • epel 10: rust-coreutils-devel 0.7.0-10.el10_3 · MIT
  • epel 10: uutils-coreutils 0.7.0-10.el10_3 · (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 OR GPL-2.0-only) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT OR Zlib OR Apache-2.0) AND (MIT-0 OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT)
  • fedora 43: rust-coreutils-devel 0.7.0-12.fc43 · MIT
  • fedora 43: uutils-coreutils 0.7.0-12.fc43 · (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 OR GPL-2.0-only) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT OR Zlib OR Apache-2.0) AND (MIT-0 OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT)
  • fedora 44: rust-coreutils-devel 0.7.0-4.fc44 · MIT
  • fedora 44: uutils-coreutils 0.7.0-4.fc44 · (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 OR GPL-2.0-only) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT OR Zlib OR Apache-2.0) AND (MIT-0 OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT)
  • 💖 girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms