Skip to content

Glossary: Operating System Basics

awk

A small tool that picks fields out of lines of text. `awk '/^MemTotal/ {print $2}' /proc/meminfo` prints the second field of the MemTotal line.

Where the book teaches it

Related terms

grep