Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



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

Answer / 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

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

Answer / ravi mahant

SED has more features compared to simple GREP. we can grep
and edit and replace string using SED.
GREP is used to find the string and active process.

Is This Answer Correct ?    30 Yes 7 No

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

Answer / kiruthiga.s

SED-- search and replace


grep filters the matching pattern

Is This Answer Correct ?    13 Yes 1 No

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

Answer / basanth

grep has only pattern space since it can store only one line at a time but sed has pattern space and hold space.it can store more than one line at a time

Is This Answer Correct ?    13 Yes 5 No

Post New Answer

More Unix Commands Interview Questions

Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?

0 Answers  


solaris Run level?

3 Answers   Wipro,


How do you find which version and name of unix you are using at the command prompt?

7 Answers  


Through which command will redirect output to bOth screen and files at the same time?

3 Answers  


how to remotely move a file ??? that mean how to move a file one machine to another machine ???

10 Answers   Altair,


Give the command to display space usage on the UNIX file system.

6 Answers  


How to view the hidden files in /etc directory?

10 Answers  


who to change the duplex setting of network interface in command line

1 Answers  


which command is used to identify the type of the file?

3 Answers  


What is the command to compare two files in unix?

0 Answers  


How would you change all occurrences of a value using VI?

4 Answers  


What is the use of finger command?

0 Answers  


Categories