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

What is the functionality of a top command?

628


Are you in or at the office?

617


Which command is used to delete all files in the current directory and all its sub-directories?

673


How can we use grep command in unix?

621


What does find command return in unix?

600






What does #!/ Bin sh do?

599


how to sort the content of the file based on numeric values

1258


What is updatedb?

591


How do I clear my terminal history?

588


Explain the steps that a shell follows while processing a command.

685


Can you enlist some commonly used network commands?

605


Explain command to show the space allocation of files?

633


What is .sh file?

624


What is a bash command?

627


What is grep short for?

561