awk
is a specialized tool and programming language for querying and transforming text. In this lesson, we’ll scratch the surface of the possibilities it provides by leveraging it in one of its most common use cases: extracting data from columns of text. Awk makes it easy to select and print just the columns and rows that we want from commands, like ps
, that return a table of data.