Concatenate and print files to standard output.
Section: Viewing and Text Basics
Print file contents
bash
bash
cat /etc/os-releaseExplanation
Good for small files and quick checks.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Viewing and Text Basics