What is grep and sed command?



What is grep and sed command?..

Answer / roshini

Grep is a line-based search utility and is used primarily to return lines from a file, or files, that match a particular search term. Sed is similar, as in it is a line-by-line style utility, but is meant more for string replacement within lines of text.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Unix Commands Interview Questions

How many bits use for MAC address?

7 Answers   Google,


What is the function of grep command in unix?

0 Answers  


What is the difference between AWK and SED commands? Plz give example and explain...

3 Answers   RBS,


What is .sh file?

0 Answers  


what are the different commands used to view the contents of a file?

5 Answers  






How we will execute previous command in vi editor?

8 Answers   Infosys,


How to identify whether a file is normal file or directory?

3 Answers  


which script will invoke first ,when /etc/init.d starts

1 Answers  


If JFS file system is 100% full how we can increase the file system ?

3 Answers  


distinguish between multi-tasking,multi-user,multi- processing and time sharing?

4 Answers   Infosys, Nikhil Construction,


What is command statement?

0 Answers  


what is the function of grep command?

4 Answers  


Categories