What is grep and sed command?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I search for text in vi?

586


Using unix command how to display no of records in oracle?

608


What is the unix command to confirm a remote host is alive or not?

579


What is the first character of the output in ls l command?

633


What is .sh file?

619






What is grep command in unix with examples?

604


What does this command do,"$more readme.txt“?

689


What is grep short for?

556


What is command substitution?

624


why metadb requires a seperate slice to create Solaris volume manager

2555


What command is used to check the current users?

592


What is the difference between cat command and more command?

599


What is the use of the tee command?

598


Is ‘du’ a command? If so, what is its use?

637


What does grep v do?

559