

- w: force it to only find specific words.- i: will not distinguish between upper and lower case.With grep we will find any text in any fileįirst of all we will explain the available options: 7 Accessing system information with grep.5 Know how many times a word appears in a file.2 With grep we can also search for files.1 with grep we will find any text in any file.Here we show you everything you need to know.


By combining these options we will be able to perform complex searches in one or more files. Like many other commands, grep Has many available options that we will add in the form of letters and each one will serve a different task. Its name comes from g / re / p, a command that works for something similar in a Unix / Linux text editor. Grep It is a command that will help us to find text within the file that we indicate. In Linux we have very powerful tools that we can launch from the Terminal and if we want find any text that is in our team we will use the command grep. This shortcut is also available in many applications, there are programs that use the "B" for "Search, but these shortcuts only work if we are inside the application and with the file open. The "F" stands for "Find", "to find" in English, and can be used, for example, to find text on a web page. Almost anyone who has a computer or who works with one will know the keyboard shortcut Ctrl + F to find text.
