2014-05-10 13:23:41 +01:00
|
|
|
# cat
|
|
|
|
|
|
|
|
> Print and concatenate files.
|
|
|
|
|
2015-12-30 02:45:42 +00:00
|
|
|
- Print the contents of a file to the standard output
|
2014-05-10 13:23:41 +01:00
|
|
|
|
2015-12-30 02:45:42 +00:00
|
|
|
`cat {{file}}`
|
2014-05-10 13:23:41 +01:00
|
|
|
|
2015-11-22 21:09:29 +00:00
|
|
|
- Concatenate several files into the target file.
|
2014-05-10 13:23:41 +01:00
|
|
|
|
2015-11-23 22:05:54 +00:00
|
|
|
`cat {{file1}} {{file2}} > {{target-file}}`
|
2015-12-30 02:45:42 +00:00
|
|
|
|
|
|
|
- Append serveral files into the target file.
|
|
|
|
|
|
|
|
`cat {{file1}} {{file2}} >> {{target-file}}`
|