The cat command takes a list of file names for its arguments.
It outputs the contents of those files directly to the standard output, which, by default, is directed to the screen.
Examples
Write the content of a file:
You can use the option -n to print the line number:
Write the content of multiple files:
Write the content of multiple files one by one (enter EOF character ('^D') for each file):