Append several files into the target file

bat

  • Print and concatenate files.
    A `cat` clone with syntax highlighting and Git integration.
    More information: <https://github.com/sharkdp/bat>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

bat {{file1}} {{file2}} >> {{target_file}}

click the source code to copy install bat on any operating system with command-not-found.com