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 |
What are different types of shells?
. Using sed and grep, write a command which lists files and directories with following properties: (i) created in 1999 (ii) with user's as owner and group
What are Profilers?
why do you need to have a swap file system?
what is output mkvg pvname
HOW DO CREATE A NFS FILE SYSTEM
How can u doing testing in Unix environment ?
What is virtual memory?
Why do inode number start from 1 and not 0 ?
What are the events done by the Kernel after a process is being swapped out from the main memory?
Telnet sometimes doesn't permit root logons,how will you then change a file writable only by root on a remote host?
What are permissions in UNIX?