In other words, find returns files and directories in the filesystem based on your search criteria (e.g. The difference can be subtle if you don’t have a lot of experience with Linux. filename, modify date, size, file type, etc…), grep is a utility to search for patterns in the content of files or in the output of other commands. What is the difference between the grep and find commands?įind is a utility to search for files and directories in the Linux filesystem based on certain criteria (e.g. It seemed obvious to me, but maybe it’s not if you are getting started with Linux. I have heard people asking what is the difference between grep and find multiple times in the last few years.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |