grep

grep - Command to match a specified pattern.

 grep(1) grep(1) NAME grep, egrep, fgrep - search a file for a pattern SYNOPSIS Plain call with pattern grep [-E|-F] [-c|-l|-q] [-insvx] pattern [file ...] Call with (multiple) -e pattern grep [-E|-F] [-c|-l|-q] [-binsvx] -e pattern... [-e pattern] ... [file ...] Call with -f file grep [-E|-F] [-c|-l|-q] [-insvx] [-f pattern_file] [file ...] Obsolescent: egrep [-cefilnsv] [expression] [file ...] fgrep [-cefilnsvx] [strings] [file ...] DESCRIPTION The grep command searches the input text files (standard input default) for lines matching a pattern. Normally, each line found is copied to the standard ...

Get HP-UX 11i System Administration Handbook and Toolkit, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.