mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> Co-authored-by: Juri Dispan <juri.dispan@posteo.net> Co-authored-by: Isaac Vicente <isaacvicentsocial@gmail.com>
382 B
382 B
cat
打印和拼接文件的工具。 更多信息:https://www.gnu.org/software/coreutils/cat.
- 以标准输出,打印文件内容:
cat {{path/to/file}}
- 多文件合并到目标文件:
cat {{path/to/file1 path/to/file2 ...}} > {{target_file}}
- 多文件合并,并追加到目标文件:
cat {{path/to/file1 path/to/file2 ...}} >> {{target_file}}