Created
September 14, 2016 12:59
-
-
Save johnmurch/2ddaacc21d38a552790b9c039771a781 to your computer and use it in GitHub Desktop.
Merge error and log files into 1 file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
tail -n +1 file1.txt file2.txt file3.txt >> log.txt | |
#==> file1.txt <== | |
#<contents of file1.txt> | |
#==> file2.txt <== | |
#<contents of file2.txt> | |
#==> file3.txt <== | |
#<contents of file3.txt> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment