grep command Assignment Help

Assignment Help: >> Filters - grep command

grep

This command finds files for a pattern and prints all lines which holds that pattern.

Syntax

grep [options] pattern  filename

If there is no file specified, grep suppose standard input. Usually, every line found is copied to standard output. The file name is printed before each line found if there is more than one input file.

The file is searched line through line for the pattern. Every line which holds the pattern is displayed on the terminal. The pattern which is found for in the file is known as a regular expression.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd