![]() Grep is used as a way to identify files containing a specific files, but what if you wanted to do the exact opposite? What if you wanted to find files not containing a specific string on your Linux system? This is the whole purpose of the invert search option of grep. grep () method removes items from an array as necessary so that all remaining items pass a provided test. ![]() ![]() To exclude particular words or lines, use the –invert-match option.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |