CAT(1)
β¨ CAT(1) β¨
okay bestie, pull up a chair, grab your iced coffee, bc today we're talking about cat β the absolute icon of user commands, the main character of your terminal, the first command everybody learns and the one you'll never stop using π
π NAME
cat β concatenate files and print on the standard output π±
πΈ SYNOPSIS
cat [OPTION]... [FILE]...
π¦ DESCRIPTION
It glues your FILE(s) together and spits them out on standard output. That's it. That's the whole vibe. β¨
If you give it no FILE, or if FILE is literally just -, it reads from standard input instead. Standard input said "I'm the file now" and honestly? Slay. π«Ά
π OPTIONS
-A,--show-allβ same thing as-vET, all the secret characters revealed at once-b,--number-nonblankβ numbers the nonempty output lines only, and it overrides-n(sorry-n,-bis the one in charge here)-eβ same thing as-vE-E,--show-endsβ shows$or^M$at the end of every line so you can see where lines actually stop π-n,--numberβ numbers all the output lines, no skips, no breaks-s,--squeeze-blankβ squashes repeated empty output lines, because sometimes files are just. so. many. blank lines-tβ same thing as-vT-T,--show-tabsβ showsTABcharacters as^Iso you finally see what's been hiding in there-uβ (ignored) π this one is literally just standing there, doing nothing, we still love it-v,--show-nonprintingβ uses^andM-notation for the invisible stuff, except forLFDandTAB--helpβ shows the help text and dips out--versionβ outputs version info and dips out
π EXAMPLES
cat f - g
Outputs f's contents, then standard input, then g's contents. three sources, one stream, zero drama β¨
cat</purl>
Copies standard input to standard output. just vibing, passing things along π
π AUTHOR
Written by Torbjorn Granlund and Richard M. Stallman. legends, fr fr π
π REPORTING BUGS
Report bugs to: bug-coreutils@gnu.org
GNU coreutils home page: https://www.gnu.org/software/coreutils/
General help using GNU software: https://www.gnu.org/gethelp/
Report any translation bugs to: https://translationproject.org/team/
π SEE ALSO
tac(1) β it's cat backwards. the way that a manpage can just do that π iconic
Full documentation https://www.gnu.org/software/coreutils/cat
or available locally via: info '(coreutils) cat invocation'
π no cap, if you're reporting a bug, please be nice and include the details. the maintainers are people too π«Ά
Packaged by Ubuntu (9.10-1ubuntu2) β shoutout π
Copyright Β© 2026 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later https://gnu.org/licenses/gpl.html.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. π¨
that's the whole page bestie, brought to you by GNU coreutils 9.10, dated August 2026 β go pipe something into something else, you got this πΈπ¦π
π¦ where this page comes from
- ubuntu stonking: gnu-coreutils 9.10-1ubuntu2 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms