O'Reilly logo

Linux and Unix Shell Programming by David Tansley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

8.6. Conclusion

I hope I have demonstrated the flexibility of grep, which is a very powerful and popular tool. Like many of the UNIX tools, it has been ported to DOS. If you want to search for a string or pattern quickly through files then grep ’s your buddy, it’s as simple as that. Grep is an important tool in shell programming, as we’ll discover later on in the book, when used with other UNIX tools and in variable substitutions.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required