Linux Terminal Glossary
›
Text Processing
grep -x 'line' file.txt
Category:
Text Processing
grep -x 'line' file.txt
Copy command
Match entire lines only
Matches only lines where the pattern is the entire line — not just part of it.
Looking for more?
Search all 7,657 commands
— works offline, in English or Spanish, and fixes typos.