manpagez: man pages & more
info grep
Home | html | info | man
[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

2. Invoking grep

The general synopsis of the grep command line is

 
grep options pattern input_file_names

There can be zero or more options. pattern will only be seen as such (and not as an input_file_name) if it wasn’t already specified within options (by using the ‘-e pattern’ or ‘-f file’ options). There can be zero or more input_file_names.


© manpagez.com 2000-2025
Individual documents may contain additional copyright information.