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

Answer Posted / gogune suresh kumar

Both serves the purpose of "pattern matching" in files.
SED has more features compared to simple GREP. Ex: like
replacement of existing string with new string. Deleting the
lines in a file etc.

Is This Answer Correct ?    57 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What command is used to switching between users in unix?

560


Why is it called a shebang?

568


What does pipe () return?

592


How do I search for a file in unix command?

546


How many unix commands are there?

625






Is command prompt unix?

579


What is the use of egrep command in unix?

624


What is the difference between cat command and more command?

599


What does the md command do?

568


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

643


How do I clear my terminal history?

581


What is merge command in unix?

942


What is awk used for?

616


Name the various commands that are used for the user information in unix.

539


What is sed awk grep?

603