Linux

paste

SafeJoin lines side by side

paste file1 file2

Glues files line-by-line horizontally (cat joins vertically) — quick column-wise merges.

Examples

  • paste -d, names.txt emails.txtMerge two columns CSV-style

Syntax

paste [-d delim] <file1> <file2> / paste -s

Before you run it

Read only.

Related commands

  • cutExtract columns
  • columnAlign into a table
  • awkField processing

The same reference, with no signal at all

Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store