Description
Searches text for lines that match words, patterns, or regular expressions. Users, developers, and administrators use it to inspect logs, source code, configuration files, and command output.
Run it from the terminal with files or piped input. It normally only reads data, but commands combined with shell scripts can expose sensitive matches in logs or terminal history.