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 does the command ' $who | sort –logfile > newfile' do?
What do chown command do?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
Which unix command lists files/folders in alphabetical order?
Is it inbetween or in between?
What is s and g in sed command?
What are the differences among a system call, a library function, and a unix command?
Who command in unix operating system?
Write a command that will display files in the current directory, in a colored, long format.
How does shebang work?
What is grep in bash?
Who wrote grep?
why metadb requires a seperate slice to create Solaris volume manager
What is the use of egrep command in unix?
How can we use grep command in unix?