![]() When used with no options and no arguments (i.e., input files), grep searches standard input (which by default is text typed in at the keyboard) for the specified pattern and returns each line that contains a match to standard output (which by default is the display screen).Ī line of text is defined in this context not as what appears as a line of text on the display screen but rather as all text between two newline characters. ![]() The items in square brackets are optional. It is one of the most useful and powerful commands on Linux and other Unix-like operating systems. Grep is used to search text for patterns specified by the user. ![]() How to use the grep command, by The Linux Information Project (LINFO) LINFO
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |