![]() E : Treats pattern as an extended regular expression (ERE) f file : Takes patterns from file, one per line. ![]() e exp : Specifies expression with this option. v : This prints out all the lines that do not matches the pattern n : Display the matched lines and their line numbers. h : Display the matched lines, but do not display the filenames. Options Description -c : This prints only a count of the lines that match a pattern The pattern that is searched in the file is referred to as the regular expression (grep stands for global search for regular expression and print out). The grep filter searches a file for a particular pattern of characters, and displays all lines that contain that pattern. ISRO CS Syllabus for Scientist/Engineer Exam.ISRO CS Original Papers and Official Keys.GATE CS Original Papers and Official Keys. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |