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 switching between users in unix?

0 Answers  


Sorry to all Technical person for mistake of Question. Now i am post currect question Why copied file permission is changed in destination. When i give all permission i.e 777 to file and copy that to other location in destination the permission is 755. But if give permission 555 in destination that file permission is 555 and if give permission 444 to file after copy in destination the file permission is 444. These all are happening in normal user. How the umask value is calculate here really i am not understand. Please write the proper answer. Thanks in Advance

3 Answers   TCS,


What is the command to view process running?

0 Answers  


Differentiate cat command from more command.

0 Answers  


distinguish between multi-tasking,multi-user,multi- processing and time sharing?

4 Answers   Infosys, Nikhil Construction,






how many types of file in unix?

34 Answers   MNC, TCS,


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

0 Answers  


How we will execute previous command in vi editor?

3 Answers   IBM, Infosys,


How do you remove a crontab file?

6 Answers  


distinguish between interrupts and exceptions?

2 Answers   Infosys,


what is the command to find out the difference between files and folders?

6 Answers  


which command is used to stop a running process in unix?

8 Answers  


Categories