i would like to merge multiple files into single file in bash. so i use the code,
cat file1 file2 file3 file4 >> output
But because my computer has low memory i am not able to create the merged file. instead do you know how to simultaneously remove file1 file2 file3 once the data has been added to output file?