What is the difference between grep & find?

Answers were Sorted based on User's Feedback



What is the difference between grep & find? ..

Answer / chandra (acs)

grep is used to search for string in a file
find is used to searche files or directories

Is This Answer Correct ?    150 Yes 10 No

What is the difference between grep & find? ..

Answer / mahesh raghunandanan

grep is used for searching text patterns within a file which
supports regular expression.only fgrep is used to find
string in an expression.



find is a file locator.
used to search certain files or directories.

Is This Answer Correct ?    74 Yes 11 No

What is the difference between grep & find? ..

Answer / siva

Grep is used to find strings in a file.
Find is used to find a file in a directory or to find directory in the list of directories.

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More Unix AllOther Interview Questions

what is the name os the first os and tell me the year when it was discovered

1 Answers   Qiscet,


Telnet sometimes doesn't permit root logons,how will you then change a file writable only by root on a remote host?

1 Answers  


From command line how will you add a user account?

2 Answers  


How many VI editor modes do you know?

8 Answers   Infosys,


What is the difference between hard link & softlink?

2 Answers  






i am prepairing for 2+ yrs exp in oracle/unix production support,can u tell me which type issue comes in server plz help

0 Answers   Crimson Logic,


How do you use Unix for Backend Testing ?

1 Answers   Wipro,


Explain the read, write, and execute permissions on a UNIX directory.

1 Answers  


What is file constructing in UNIX/AIX ?

2 Answers   IBM, TCS,


what is the time for incident, problem and change management tickets?

0 Answers   CGI,


How do you log in to a remote Unix box?

2 Answers  


How do you create special files like named pipes and device files?

1 Answers   Wipro,


Categories