man > cat(1)

CAT(1) User Commands CAT(1)

๐Ÿ“‹ NAME

cat - concatenate files and print on the standard output

๐Ÿš€ Quick Reference

Use CaseCommandDescription
Concatenate filescat file1 file2Output contents of file1 and file2 sequentially
Number all linescat -n fileDisplay file with line numbers
Number non-blank linescat -b fileNumber only non-empty lines
Show ends of linescat -E fileDisplay $ at end of each line
Show tabscat -T fileDisplay TAB characters as ^I
Squeeze blank linescat -s fileSuppress repeated empty lines
Show all non-printingcat -v fileUse ^ and M- notation
Read from stdincatCopy standard input to standard output

๐Ÿ“– SYNOPSIS

cat [OPTION]... [FILE]...

๐Ÿ“ DESCRIPTION

Concatenate FILE(s) to standard output.

With no FILE, or when FILE is -, read standard input.

๐Ÿ’ก EXAMPLES

cat f - g

Output f's contents, then standard input, then g's contents.

cat

Copy standard input to standard output.

๐Ÿ‘ค AUTHOR

Written by Torbjorn Granlund and Richard M. Stallman.

๐Ÿ› REPORTING BUGS

GNU coreutils online help: <https://www.gnu.org/software/coreutils/>

Report any translation bugs to <https://translationproject.org/team/>

๐Ÿ“„ COPYRIGHT

Copyright ยฉ 2020 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.

๐Ÿ”— SEE ALSO

tac(1)

Full documentation <https://www.gnu.org/software/coreutils/cat> or available locally via: info '(coreutils) cat invocation'

cat(1)
๐Ÿ“‹ NAME ๐Ÿš€ Quick Reference ๐Ÿ“– SYNOPSIS ๐Ÿ“ DESCRIPTION ๐Ÿ’ก EXAMPLES ๐Ÿ‘ค AUTHOR ๐Ÿ› REPORTING BUGS ๐Ÿ“„ COPYRIGHT ๐Ÿ”— SEE ALSO

Generated by phpman v4.10.0-7-g98e9fd5 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-09-16 11:41 @216.73.216.152
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!