what is the difference between SED and GREP ?
Which one is more better and why?

Answer Posted / kiruthiga.s

SED-- search and replace


grep filters the matching pattern

Is This Answer Correct ?    13 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between cat and more command?

623


What is command substitution?

618


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

630


What is the first character of the output in ls l command?

627


What is s and g in sed command?

555






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

627


Explain the steps that a shell follows while processing a command.

679


How do I open a port?

587


Name the unix command to find how many days the server has been up.

596


What is the function of grep command in unix?

580


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

951


What is unix command?

579


What do know about tee command and its usage?

584


Explain mount and unmount command.

609


What is the use of egrep command in unix?

623