--- layout: page author: Agostino Monti category-page: advanced category-title: Advanced commands tags: filie coluns analize title: paste ---

paste is a Unix command line utility which is used to join files horizontally (parallel merging) by outputting lines consisting of the sequentially corresponding lines of each file specified, separated by tabs, to the standard output. Once involved, paste will read all its file arguments. For each corresponding line, paste will append the contents of each file at that line to its output along with a tab. When it has completed its operation for the last file, paste will output a newline character and move on to the next line.

cat

cat is a standard Unix utility that reads files sequentially, writing them to standard output. The name is derived from its function to concatenate files.

Examples

    paste file1.txt file2.txt 
cat fail1.txt fail2.txt

flags