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
What happens when we execute a unix command?
What is the behavioural difference between cmp and diff commands?
What is the use of tee command?
What do chmod, chown, chgrp commands do?
What is the command to find hidden files in the current directory?
Why is awk called awk?
What are awk commands?
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?
Which unix command lists files/folders in alphabetical order?
What is “chmod” command?
What does this command do? Cat food 1 > kitty
What do chgrp command do?
What is the comma to show the space allocation of files?
Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?
How many unix commands are there?