Skip to Content
Basic Linux Terminal Tips and Tricks: Learn to Work Quickly on the Command Line
book

Basic Linux Terminal Tips and Tricks: Learn to Work Quickly on the Command Line

by Philip Kirkbride
August 2020
Beginner
376 pages
6h 59m
English
Apress
Content preview from Basic Linux Terminal Tips and Tricks: Learn to Work Quickly on the Command Line
© Philip Kirkbride 2020
P. KirkbrideBasic Linux Terminal Tips and Trickshttps://doi.org/10.1007/978-1-4842-6035-7_10

10. Parsing Text

Philip Kirkbride1 
(1)
Montreal, QC, Canada
 

No matter what you’re doing on Linux, you’ll likely find yourself needing to parse text at some point. As Linux is largely file based, there is a huge need for utilities which can parse large amounts of text to find specific values, format, and process it.

There are several utilities that can be used for parsing text. In this chapter, we’ll look at several of these utilities and how you can see them to parse text.

grep

grep is one of the most commonly used command-line tools. It allows you to find a specific string in a set of text. For example, given a file with several lines, ...
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

Working with Linux ??? Quick Hacks for the Command Line

Working with Linux ??? Quick Hacks for the Command Line

Petru I»ôfan, Bogdan Vaida

Publisher Resources

ISBN: 9781484260357Purchase LinkPublisher Website