Merge two text file



I am trying to merge two files. Are there any command like appending a text file 2 to the end of text file 1

open(file1, "a") do f
    write(f, read(file2))



This kind of thing maybe easier to do using unix commands (assuming that you’re on a unixy system).