What is the difference between grep & find?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
How do you list the files in an UNIX directory while also showing hidden files?
If the terminal is not showing the login prompt,what's the 1st thing you should check?and how do you solve the problem?
Have you used VI editor?
What is a FIFO?
how to raise a suncase?pls explain step by step?
does the stat() function call use the inode of the file to generate the information about a file? what is inode mostly used for?
What scripting languages do you know?
How do I log into a remote Unix machine(as a root/normal user)?Please specify with command user and argument.
in unix how to change old name to new name
What steps are required to perform a bare-metal recovery?
hi.when will u come to klnce 4 campus interviews??/
Name key files or directories on a UNIX system that should always be backed up?