What is the syntax of grep command and what is its use?
Answer Posted / bharath
grep command is used to search a file for keywords.
grep 'keyword' file
Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
What are the general commands in using unix os for a beginner?
What does this command do? Cat food 1 > kitty
What are awk commands?
What is unix command?
Is it inbetween or in between?
Is ‘du’ a command? If so, what is its use?
What does the command '$ls | wc –l > file1' do?
What is the size of time_t?
How do I clear my terminal history?
What command is used to switching between users in unix?
Write a command to display a file’s contents in various formats?
How to display no of records in oracle using unix command?
Which command is used to find whether the system is 32 bit or 64 bit?
Why is grep called grep?
What is ‘ps’ command for?