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 execute a UNIX command in the background?
The UNIX shell is.... a).does not come with the rest of the system b).forms the interface between the user and the kernal c) does not give any scope for programming d) deos not allow calling one program from with in another e) all of the above
What is the difference between hard link & softlink?
Telnet sometimes doesn't permit root logons,how will you then change a file writable only by root on a remote host?
what is difference between milestone and run-levels in Solaris ?
Could you tell something about the Unix System Kernel?
How do you log in to a remote Unix box?
how to set request time out value for name resolution on clients (hp-ux) ?
differentiate between named & unnamed pipe.
11 Answers Cisco, IIT, ISEC,
Give the command to display space usage on the UNIX file system.
What are the main differences between Apache 1.x and 2.x?
Am using Mac OS 10.4.11 on an Imac (PPC) Internal hard disk got named disk0s3 and will not mount. What commands can be used in TERMINAL to rename the internal hard disk to C96?