If you can see this check that
| next section | prev section | up | prev page | next page |
You can use special characters to cause a pattern to match various strings, in much the same way you use wildcard characters in file names to match a variety of filenames.
Examples of grep usage:
% grep '.outing' demofile % grep 'RFC-97[34]' demofile % grep -i 'rfc-97[34]' demofile (-i mean 'case-insensitive') % grep 'Tw.*on' demofile % grep 'inf.*' demofile % grep '^network' demofile % grep 'routing$' demofile
Common options for the grep command:
You should also note that you can exclude characters with a combination of the caret ^ and square brackets []. For example:
% grep 'J[aei]' names James Jane Jess Jim % grep 'J[^aei]' names Jock John Jordan
| Tutlinks: | intro1 intro2 wildcard permission pipe vi essential admin net fwall DNS diag Apache1 Apache2 MySQL1 MySQL2 |
| Useful: | Quiz Forums |
| Site Links: | XMLZoo ActiveSQL ProgZoo SQLZoo |