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 |
in UNIX,How to copy file into directory?
what is exact definition of operating system?
what are the different commands used to create files?
what are the different hardwares available?
what are the different commands used to view the contents of a file?
What does this command do,"$more readme.txt“?
Is there any command in Unix, other than:ls, to list the files in a directory? The answer will be highly appreciated...
What are the commands in UNIX to list the files in a Directory?
Hi All, Can you please let me know how to grep for a particular pattern in unix. I want to print the dates from the file exp.txt. the date pattern is DD:MM:YYYY, I just want to print all the dates from the file exp.txt.
8 Answers Concentrix, IBM, Symantec, TCS,
Explain ‘library functions’ with respect to unix commands?
How will you know who are the users logged in to the system before 15 minutes?
what is the use of "grep" command?