If you are a Linux administrator, developer or operator you may well come across the need to use the command grep. This guide is designed to help you get up and running with this powerful command easily and quickly. The tool is used to search for text and regular expressions from small or larger files. This could be a few hundred lines or a few million lines, grep will treat them equally. With 22 pages of examples and explanations, you will find this the best most concise and useful one-stop guide you will find. Looking at fixed-text, and extended regular expressions we will help you tame your searching where you become the master.
Who are you? What are you doing here? What do you need? Well, you should have some basic Linux skills and at the command line. Learning is all about working at the command line to search for text within files. If you can’t or don’t want to work at the command line, then this is not the guide for you. You don’t have to be a Linux administrator or have administrative rights to the system on which you work, you just need a system. The searching text in this way is for anyone using Linux and working with text files. This may be administrators but may equally be developers, operators or DevOps.
What you will learn
Working though the course or reading the guide you are gradually going to make friends with the command line tool, grep. We start with the basics, assuming that you are not familiar with it or regular expressions. By the end of this course you will be able to differentiate between the different variants. You will also be able to access the features of all of these tools though the single grep command. You will find yourself searching for simple text and regular expressions before moving onto expanded regular expressions. Before you realise it you will be the go-to person for grep!