1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-11-02 09:38:01 +01:00
tldr/pages/common/cat.md

12 lines
217 B
Markdown
Raw Normal View History

2014-05-10 14:23:41 +02:00
# cat
> Print and concatenate files.
- Print the contents of *file1* to the standard output
2014-05-12 13:30:53 +02:00
`cat {{file1}}`
2014-05-10 14:23:41 +02:00
2015-11-22 22:09:29 +01:00
- Concatenate several files into the target file.
2014-05-10 14:23:41 +02:00
2015-11-22 22:09:29 +01:00
`cat {{file1}} {{file2}} {{file3}} > {{target-file}}`