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 is the command to find hidden files in the current directory?

0 Answers  


Are you in or at the office?

0 Answers  


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

3 Answers  


can we use cat command as an editor ..???

12 Answers   TCS,


What is the command to find maximum memory taking process on the server?

0 Answers  






what is ls -ltd?

5 Answers   HCL,


how will you convert a general file to a hidden file?

4 Answers  


Which command is used to kill the last background job?

0 Answers  


What are the differences among a system call, a library function, and a unix command?

0 Answers  


Which mode is used for allowing file write,read and append mode?

9 Answers   BitWise, TM,


how to make IGNITE-BACKUP in HP-UX?

4 Answers   HP,


What does the command '$ls | wc –l > file1' do?

0 Answers  


Categories