What is FIND, GREP and SED ? Could you please give me the
difference between all the three? Where we use this commnands?

Answer Posted / mohan

find is finding a specific file & directory with perm...
wise,hardlink...

grep : search a specified string on the line. it will take
from output or file

sed: is a editor tool. using this u can do what u want....

Is This Answer Correct ?    6 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is grep and how do you use it?

569


Is ‘du’ a command? If so, what is its use?

626


What are the commands in UNIX to list the files in a Directory?

610


Which command is used to find whether the system is 32 bit or 64 bit?

626


How do I run a whois command?

594






how to sort the content of the file based on numeric values

1240


What command will change your prompt to myprompt?

694


What is the use of egrep command in unix?

622


What is in grep command?

640


What is “chmod” command?

560


How to use grep command to list find the records of a file containing 10 different strings?

643


What is the comma to show the space allocation of files?

555


Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?

949


When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system. How can i findthe right soluion??? My pgm: #include # include int main() { int pid; pid=fork(); if(pid < 0) {exit(-1);} else if(pid==0) { printf("Child Process is Sleeping ..."); sleep(10); printf("Orphan Child's Parent ID : %u ",getppid()); } else { printf("Parent Process Completed ... %u ",getpid()); exit(0); } return 0; } Output:

1752


What does the command '$ls | wc –l > file1' do?

675