User Tools

Site Tools


bash:files:combine_files

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

bash:files:combine_files [2022/06/13 10:14] – created peterbash:files:combine_files [2022/06/13 10:15] (current) peter
Line 1: Line 1:
 ====== BASH - Files - Combine files ====== ====== BASH - Files - Combine files ======
 +
 +<code bash>
 +cat file1 file2 > newfilename
 +</code>
 +
 +<WRAP info>
 +**NOTE:**  This will show contents of the files as it is doing the combining.
 +</WRAP>
 +
 +or
 +
 +<code bash>
 +cat file1 file2 >> newfilename
 +</code>
 +
 +<WRAP info>
 +**NOTE:**  This will not show contents of the files as it is doing the combining.
 +</WRAP>
  
bash/files/combine_files.1655115283.txt.gz · Last modified: 2022/06/13 10:14 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki