Put two files side by side line by line
merge two files side by side linux | combine two lists into columns | join lines of a file into one line | paste | merge | columnspaste -d ';' domains.txt ips.txtReads both files in parallel and prints line 1 of the first next to line 1 of the second, and so on. If one file is shorter, the missing fields stay empty. Conversely, paste -sd ',' datei turns all lines of a file into a single comma-separated line.
Note: Lines are matched only by their position. To combine lines by a common key, join is the right tool.
Also searched as
- merge two files side by side linux
- combine two lists into columns
- join lines of a file into one line