Linux Command-Line Fundamentals
Exit

Lesson 16 of 18 · User

awk for administrators: fields, conditions, sums, reports

45 min Ubuntu 24.04

Objective

Use awk for what it does better than any other command-line tool: reading columns, filtering on a condition, calculating (sums, averages, maximum) and grouping by category. In one line, you will turn a file or the output of a command into a small report with figures.

This lesson is part of the full course

Unlock Linux Command-Line Fundamentals to read every lesson, do the exercises, access the simulations and earn your certificate.

Already enrolled? Log in.