Skip to Main Content
Linux Pocket Guide
book

Linux Pocket Guide

by Daniel J. Barrett
February 2004
Beginner content levelBeginner
200 pages
5h 40m
English
O'Reilly Media, Inc.
Content preview from Linux Pocket Guide

File Text Manipulation

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.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Linux Pocket Guide, 2nd Edition

Linux Pocket Guide, 2nd Edition

Daniel J. Barrett
Linux in a Nutshell, 6th Edition

Linux in a Nutshell, 6th Edition

Ellen Siever, Stephen Figgins, Robert Love, Arnold Robbins

Publisher Resources

ISBN: 9780596806347Errata Page