Name | Type | Required | Default | Hint |
file1 | string | true | File to output | |
file2 | string | false | File to concatenate to previous file | |
file3 | string | false | File to concatenate to previous file(s) | |
file4 | string | false | File to concatenate to previous file(s) |
Read any number of files and return their concatenated contents. By default, the
the output is displayed on the console, but it can also be piped or redirected.
Output a single file
cat box.jsonConcatenate two files and output them to the screen
cat file1.txt file2.txtConcatenate two files and write them to one new file
cat file1.txt file2.txt > combined.txt