Table of Contents

unix Keyword 3

Paste

Definition

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.

References

http://en.wikipedia.org/wiki/Paste_(Unix)

unix Keyword 3 Phase 2

Cut

Definition

Cut removes sections of each line of files.

Print selected parts of lines from each FILE to standard output.

References

Demonstration

brett@ubuntu:~$ cat file
gidlesd
dddiii
llfees
jfkdasdioels
fjoewaqffcjio

brett@ubuntu:~$ cut -c 2-4 file
idl
ddi
lfe
fkd
joe

brett@ubuntu:~$