Simple things which we can do with grep command.
Some questions helpful in understand the command have been discussed here:
1. Find pattern red in file colors.txt try both match case and without match case.
2. Match files where exact word red appears.
3. Match only those lines where red does not appear.
4. Count the lines which have a word red.
5. Count the lines which have no word red.
6. Find the pattern straw in all files.
7. Find the exact word straw in all files.
8. Find the line and line number at which the word five appears in a file.
9. Find the lines in which the word Mango appears.
10. Find the lines in which the word mango appears, without matching the case.
11. Let's count the lines in which the word yellow appears in all files.
12. Find the files in which word red appears.
13. Find the files in which word red does not apear.
14. Print only the matching word from all the files.
15. Get next three lines after the word triangle in shapes.
16. Get two lines before the word blueberry in fruits.
Above tutorial is coming soon in Hindi too.
Previous video: • ls command tutorial(improved) . Next video: • Date Command Tutorial . For more useful articles and tutorials please visit my blog at: https://www.worldiswelcome.com
Sur cette page du site, vous pouvez voir la vidéo en ligne grep command tutorial 1 durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur WorldisWelcome 22 janvier 2019, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 48 fois et il a aimé 5 téléspectateurs. Bon visionnage!