That egrep command searches for those three strings (regular expressions, really) in all files in the current directory. An easier egrep commandīefore I go away, here's an easier egrep command to look at: While my original locate -i calendar command shows nearly 3,000 files, the locate command combined with grep and egrep in this manner shows only 15 files. I used the -v argument to perform the "opposite" meaning of a normal egrep command, so strings with these patterns were not shown and also used the -i argument to perform a case insensitive egrep search here.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |