Intel Corporation Interview Question

What is the difference between find and grep in Unix?

Interview Answers

Anonymous

Jun 22, 2011

Find is to find files within a directory structure, grep can be used to find specific text within files.

1

Anonymous

Jan 24, 2015

Find is used to search for files and folders within a directory whereas grep is used for finding a pattern in a file.