tldr/pages/common/cat.md

11 lines
228 B
Markdown

# cat
> Print and concatenate files.
- Print the contents of *file1* to the standard output
`cat {{file1}}`
- Sequentially print the contents of *file1* and *file2* to the file *file3*.
`cat {{file1}} {{file2}} > {{file3}}`