What is grep and sed command?



What is grep and sed command?..

Answer / roshini

Grep is a line-based search utility and is used primarily to return lines from a file, or files, that match a particular search term. Sed is similar, as in it is a line-by-line style utility, but is meant more for string replacement within lines of text.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Unix Commands Interview Questions

What Command is used to make a directory?

4 Answers   IBM,


Describe the usage and functionality of the command rm –r * in unix?

0 Answers  


Explain mount and unmount command.

0 Answers  


How do I use nslookup?

0 Answers  


What is awk command used for?

0 Answers  






Differentiate cat command from more command.

0 Answers  


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

10 Answers   Altair,


What is ‘ps’ command for?

0 Answers  


Which unix command lists files/folders in alphabetical order?

0 Answers  


If we want to see first 35 lines of a file which command we have to use?

8 Answers  


Describe the zip/unzip command using gzip.

0 Answers  


Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.

0 Answers  


Categories