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
Explain the steps that a shell follows while processing a command.
What is the pipe command?
What will the following command do?
How do I run a bash script?
What is grep short for?
How many unix commands are there?
Can you explain a little bit about command substitution?
What does find command return in unix?
What's a command word?
What is unix command line?
What is ‘ps’ command for?
What does sed command do in unix?
How do I use grep to search for a file?
Differentiate cmp command from diff command.
What does #!/ Bin sh do?