The cut Command

The cut command is used to select text from a line, either based on character position or field number.

By default, when selecting by field, the tab character is assumed to be the field delimiter (separator).


The paste Command

The paste command is used to merge two files.  It joins the first lines together, the second lines together, etc with a tab between them.


The sort Command

The sort command can be used to sort the output of a command or the contents of a file.

Like other commands, do not direct output back into the source file.

Options


The uniq Command

The uniq command removes duplicate adjacent lines.  Usually input is sorted first.

Options