paste

Merge lines of files. More information: https://www.gnu.org/software/coreutils/paste.

paste -s path/to/file

paste -s -d delimiter path/to/file

paste file1 file2

paste -d delimiter file1 file2

paste -d '\n' file1 file2