Skip to content

Glossary: Security Monitoring and Automation

awk

Also written: $NF, substr

A command-line tool that splits each line into fields and prints or processes them. In awk, `$NF` is the last field and `substr()` cuts out part of a text, as timeline.sh does to pick the HH:MM:SS time.

Where the book teaches it

Related terms

grep