grep === > Similar to the traditional `grep` command. ``` USAGE: grep [-A ] [-B ] [-C ] [-h] [-i] [-v] [-n] [-m ] [-e] [--trim-end] pattern SUMMARY: grep command for pipes. EXAMPLES: sysprop | grep java sysprop | grep java -n sysenv | grep -v JAVA sysenv | grep -e "(?i)(JAVA|sun)" -m 3 -C 2 sysenv | grep JAVA -A2 -B3 thread | grep -m 10 -e "TIMED_WAITING|WAITING" WIKI: https://alibaba.github.io/arthas/grep OPTIONS: -A, --after-context Print NUM lines of trailing context) -B, --before-context Print NUM lines of leading context) -C, --context Print NUM lines of output context) -h, --help this help -i, --ignore-case Perform case insensitive matching. By default, grep is case sensitive. -v, --invert-match Select non-matching lines -n, --line-number Print line number with output lines -m, --max-count stop after NUM selected lines) -e, --regex Enable regular expression to match --trim-end Remove whitespaces at the end of the line Pattern ```