Linux Terminal Glossary
›
Text Processing
awk '/pattern/' file.txt
Category:
Text Processing
awk '/pattern/' file.txt
Copy command
Print lines matching a pattern
Prints every line that matches a pattern — similar to grep but within awk, allowing more complex processing after matching.
Looking for more?
Search all 7,657 commands
— works offline, in English or Spanish, and fixes typos.