Shell / Commands

cat

English

Overview

A command that outputs a file's contents as-is.

Details

A command that outputs a specified file's contents directly to standard output, also used to concatenate and display multiple files. The -n option numbers each line, and -A reveals otherwise invisible characters like tabs and line-end markers, which helps when tracking down stray hidden characters.

More Linux terms