Merge two text file

question

#1

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


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

?


#3

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