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

what is shell?

5 Answers  


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)?

0 Answers  


In Unix file permissions what does the second field denotes?

3 Answers  


What is the use of awk command in unix?

0 Answers  


How do I use nslookup?

0 Answers  


What difference between cmp and diff commands?

0 Answers  


Why is awk called awk?

0 Answers  


What happens when we execute a unix command?

0 Answers  


Why is grep called grep?

0 Answers  


How to get the operating system's information in unix?

6 Answers   IBM, TCS,


How do you repeat a command in terminal?

0 Answers  


What is a shell in Unix? Name some common Unix shells.

2 Answers  


Categories