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
On this page of the site you can watch the video online grep command tutorial 1 with a duration of hours minute second in good quality, which was uploaded by the user WorldisWelcome 22 January 2019, share the link with friends and acquaintances, this video has already been watched 48 times on youtube and it was liked by 5 viewers. Enjoy your viewing!