Linux & Command Line

awk

/ɔːk/

Definition

A command-line text-processing tool that processes files line by line, splitting fields and applying programs.

Example in context

"awk '{print $1, $7}' access.log prints the IP address (field 1) and HTTP status (field 7) from each log line."

Related terms

Practice this term

Master awk in context by working through exercises in the Linux & Command Line module. You'll see the term used in real engineering scenarios with multiple-choice, fill-in-the-blank, and matching drills.