Friday 11, Apr 2025
We are moved to new domain
Click -> www.ehowtonow.com
Wednesday, 20 September 2017

paste Linux Command

paste

paste [options] files
Merge corresponding lines of one or more files into tab-separated vertical columns. Use - to read from standard input, instead of specifying a file. See also cut, join, and pr.

Options

-dchar, --delimiters=char
Separate columns with char instead of a tab. You can separate columns with different characters by supplying more than one char.

--help
Print a help message and then exit.

-s, --serial
Merge lines from one file at a time.

--version
Print version information and then exit.

Examples

Create a three-column file from files x, y, and z:

paste x y z > file

List users in two columns:

who | paste - -

Merge each pair of lines into one line:

paste -s -d"\t\n" list

Shop and help us

Flipkart Offer Snapdeal offer Amazon.in offer Amazon.com offer

Related Posts:

  • man Linux Command man man [options] [section] [title] Display information from the online reference manuals. man locates and prints the named title from the designated reference section. Traditionally, manpages are divided into nine sect… Read More
  • ssh-add - Linux Command ssh-add ssh-add [options] [files] ssh-add -e|-s reader Add RSA or DSA identities to the authentication agent (see ssh-agent), which must be running and must be an ancestor of the current process. ssh-add reads the files c… Read More
  • ssh-keygen Linux Command ssh-keygen ssh-keygen [options] Generate, manage, and convert authentication keys for ssh. When using ssh-keygen to create a key, the -t option must be specified to identify the type of key to create. Options -b bits … Read More
  • ssh-agent - Linux Command ssh-agent ssh-agent [options] [command [arguments] ] Hold private keys used for public key authentication. ssh-agent is usually executed at the beginning of an X or login session; then all other windows or programs given … Read More
  • Diff Linux Command diff diff [options] [diroptions] file1 file2 Compare two text files. diff reports lines that differ between file1 and file2. Output consists of lines of context from each file, with file1 text flagged by a < symbol and… Read More
  • Blogger Comments
  • Facebook Comments
  • Disqus Comments

0 comments:

Post a Comment

Item Reviewed: paste Linux Command Rating: 5 Reviewed By: eHowToNow