Answer Posted / bharath
grep command is used to search a string or a keyword in a
file.
syntax:
grep 'keyword' file
| Is This Answer Correct ? | 9 Yes | 3 No |
Post New Answer View All Answers
What is the command to find hidden files in the current directory?
What is the behavioural difference between cmp and diff commands?
What is the comma to show the space allocation of files?
What does the “echo” command do?
What is the size of time_t?
What is the use of sed command in unix?
What do chown command do?
Differentiate cmp command from diff command.
Why is it called grep?
What is the general format of unix command syntax?
What is sed awk grep?
What is the use of the command 'ls -x chapter[1-5]' ?
What is the use of tee command?
What is awk command used for?
What are file commands?