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
Who invented grep?
What is the use of the command 'ls -x chapter[1-5]' ?
What is the first character of the output in ls l command?
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?
What is updatedb?
Write a command to display a file’s contents in various formats?
How do I run a whois command?
What does 'mkdir' command do in UNIX?
Is it inbetween or in between?
What is command statement?
Which command should you use to find the remaining disk space in unix server?
Is command prompt unix?
What is the use of the tee command?
What is unix command line?
What is the nmap command?