2 Comments

    ‘grep’ command is used to search files for specific words or sentences. For example:

    /var/root/va # grep “you” herndon

    Above syntax will search for word ‘you’ in file name ‘herndon’ which is in directory ‘va’ and so on. Result will be displayed as the line or lines with the word ‘you’ in it.

    I hope this make sense:) just give it try, it will work

    The grep command is used to search text or searches the given file for lines containing a match to the given strings or words.

    grep ‘word’ filename

    grep jay qa

    will search all the words “jay” in the file qa

Leave a Reply

Loading Questions

If you are facing any issue like can not see video so please login into Google with email what you forwarded to us Google Login or mail to administrator qatraining@infotek-solutions.com