Answer Posted / kavin
grep is used to filter or search for a pattern in the given
file.
for example
grep student class
will display only the lines that contains the word student
in it.
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What is the use of the command 'ls -x chapter[1-5]' ?
What does the md command do?
How do I run a bash script?
Explain how to use grep command to list find the records of a file containing 10 different strings?
How do you grep recursively?
What are the commands in UNIX to list the files in a Directory?
What is command substitution?
What is grep command in unix with examples?
What does the “echo” command do?
How to use grep command to list find the records of a file containing 10 different strings?
hw will u use awk in replacing cahrs and files
What is “chmod” command?
What is ‘ps’ command for?
What is the use of the tee command?
Why is it called a shebang?