Install agrep by entering the following commands in the terminal:
sudo apt update sudo apt install agrep
text search tool with support for approximate patterns
agrep is a version of standard grep with the following enhancements: . * the ability to search for approximate patterns * it is record oriented rather than just line oriented * multiple patterns with AND OR logic queries . This package contains glimpse's (4.x) last free version of grep.