Text Processing

Command

Action

col

Process control characters.

cut

Select columns for display.

emacs

Work environment with powerful text-editing capabilities.

ex

Line editor underlying vi.

expand

Convert tabs to spaces.

fmt

Produce roughly uniform line lengths.

fold

Break lines.

gawk

Process lines or records one by one.

groff

Format troff input.

gs

Display PostScript or PDF file.

ispell

Interactively check spelling.

join

Merge different columns into a database.

paste

Merge columns or switch order.

rev

Print lines in reverse.

sed

Noninteractive text editor.

sort

Sort or merge files.

tr

Translate (redefine) characters.

unexpand

Convert spaces to tabs.

uniq

Find repeated or unique lines in a file.

vi

Visual text editor.

vim

Enhanced version of vi.

Get Linux in a Nutshell, 6th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.