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 |
I am trying to unmount a remote file system,but I do not unmount that file system.How can i know the user name (i.e.,user who is using that file system).....write the command with argument
What is a FIFO?
what is difference between milestone and run-levels in Solaris ?
in unix profile contains
What is an inode?
In this command sqlplus -s username/password what is -S and what's the use..???
What is the main advantage of creating links to a file instead of copies of the file?
How many VI editor modes do you know?
Name key files or directories on a Windows system that should always be backed up?
Explain the read, write, and execute permissions on a UNIX directory.
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
How do I log into a remote Unix machine(as a root/normal user)?Please specify with command user and argument.