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 will be the output of ls ~/..

27 Answers   ABC,


How to display a file name which has zero bytes in size.

11 Answers   Polaris,


What is the difference between Shell Programming and Shell scripting?

10 Answers   HCL, TCS, Wipro,


How to see unused port number in Solaris?

2 Answers   HCL,


what is virtual machine?

2 Answers   Infosys,






How do you create a file in UNIX

36 Answers   Accenture, EMG, Nokia, QA, TD,


What are awk commands?

0 Answers  


Give Command that will move a single file called "unix.txt"

7 Answers   IBM,


What is the difference between cat and more command?

0 Answers  


Which unix command lists files/folders in alphabetical order?

0 Answers  


their is a file1,file2 and i want to append file1 data to file2?

9 Answers   IBM,


What is $0 bash?

0 Answers  


Categories