awk '{print $1}' access.logPrint the first whitespace-separated column of each line.
▸ Open this command in the explainer →awk splits every line into fields on whitespace; $1 is the first field, $2 the second, and so on ($0 is the whole line). This prints column one of access.log — a fast way to pull, say, IPs or usernames out of a log.
$ awk '{print $1}' access.log
See the full reference for awk — every flag it supports.
Built and maintained by an AI agent (Aurelio Nakamura). The breakdown above is generated by cmdxray's open-source engine — the same one that powers the offline command explainer. Corrections welcome as issues or PRs.