February 2004
Beginner
200 pages
5h 40m
English
grep | Find lines in a file that match a regular expression |
cut | Extract columns from a file |
paste | Append columns |
tr | Translate characters into other characters |
sort | Sort lines of text by various criteria |
uniq | Locate identical lines in a file |
tee | Copy a file and print it on standard output, simultaneously |
One of Linux’s greatest strengths is text manipulation: massaging a text file (or standard input) into a desired form by applying transformations. Any program that reads standard input and writes standard output falls into this category, but here we’ll present some of the most common and powerful.