Linux Commands Reference - Complete Linux Command Guide

Comprehensive Linux command reference with 150+ commands. Search, filter by category, and view detailed usage examples.

Share
Back to commands

paste

Merge lines of files

Syntax

paste [OPTION]... [FILE]...

Common Options

-dSpecify delimiter (default TAB)
-sMerge files sequentially

Common Examples

paste file1.txt file2.txt

Merge files side by side

paste -d "," file1.txt file2.txt

Merge with comma delimiter

paste -s file.txt

Merge all lines into one

paste -d ":" names.txt ages.txt

Colon separated merge

Related Commands

Related Tools

More Code & Dev Tools