grep command in Linux/Unix
grep (global regular expression parse) is use for searching a pattern in a files or files . grep scan its input for a pattern and display the lines containing the pattern, line number , files which contain the pattern etc.
syntax:
grep [option] pattern file-name(s)
let we have file sandeep.lst contains following data
$ cat >
Saturday, October 15, 2011
0 comments:
Post a Comment