UNIX Command Example: grep - Searching Word String Keyword

UNIX Command Example: grep - Searching Word String Keyword

Logon to UNIX command prompt then copy & past the bellow code to get some interesting result:

   grep Cat test2.txt
   Here "grep" is the command to search word or string in a result set.
   "Cat" is the word/string/keyword to search.
   "test2.txt" is file to which grep works.
   If everything went well we should get some interesting result as follows:

UNIX Command Example: grep - searching word string - result in the UNIX command prompt

No comments:

Post a Comment

leave your comments here..