mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-06 02:26:01 +02:00
15 lines
299 B
Markdown
15 lines
299 B
Markdown
# cat
|
|
|
|
> Print and concatenate files.
|
|
|
|
- Print the contents of a file to the standard output:
|
|
|
|
`cat {{file}}`
|
|
|
|
- Concatenate several files into the target file:
|
|
|
|
`cat {{file1}} {{file2}} > {{target-file}}`
|
|
|
|
- Append serveral files into the target file:
|
|
|
|
`cat {{file1}} {{file2}} >> {{target-file}}`
|