What does awk mean?
Awk is a small but powerful programming language built into Unix and Linux systems, used chiefly for scanning text files line by line, matching patterns, and performing actions on what it finds. It excels at tasks such as extracting columns of data, reformatting output, counting occurrences, and generating simple reports — often accomplishing in a single line what would take many lines in another language. Created in the late 1970s at Bell Labs by Alfred Aho, Peter Weinberger, and Brian Kernighan, its name comes directly from their shared initials. Awk remains widely used today by system administrators, developers, and anyone working with plain-text data, and it is prized for being available virtually everywhere with no installation required. Though largely superseded by more general-purpose scripting languages for complex programs, it retains a devoted following for quick, elegant text processing at the command line.
nounAwk is a pattern-scanning and text-processing programming language and command-line utility on Unix and Unix-like systems, designed for extracting and transforming text from files or data streams.
- A pattern-directed text-processing programming language and Unix command-line utility.
"She wrote a one-line awk command to pull every email address out of the server log."
"He used awk to sum the numbers in the second column of a CSV file."
"The sysadmin's shell scripts relied heavily on awk for parsing configuration files."
The name 'awk' isn't an acronym at all — it's simply the initials of its three creators: Alfred Aho, Peter Weinberger, and Brian Kernighan.
Reviewed by Deb Chak, Editor. AI-assisted content curated by RJS Tech Solutions LLP.
Etymology of awk
Awk was developed in 1977 at Bell Laboratories by Alfred Aho, Peter Weinberger, and Brian Kernighan; its name is formed from the initials of their surnames. It was created as a pattern-matching and text-processing tool to complement existing Unix utilities like sed and grep. The language was standardized in POSIX and has several implementations, including the widely distributed GNU version, gawk.
How awk is actually used
Almost exclusively used in computing contexts; written in lowercase as a command name or capitalized (AWK) when referring to the language itself.
Easily confused with awk
Gawk is the GNU implementation of awk, adding extensions beyond the standard POSIX language.