What is the syntax of grep command and what is its use?
Answer Posted / amit
grep command is used to search the any word, any sentence
from given or input file.
syntex of grep command is
grep "word or sentence" filename
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
Which command is used to find whether the system is 32 bit or 64 bit?
What is the difference between grep and grep?
Explain command to view process running?
What does the command '$ls | wc –l > file1' do?
Which command is used to create a directory?
What is command statement?
What does touch command do in unix?
What do chmod command do?
Which command will print your home directory on screen?
What is the use of sed command in unix?
What is the use of egrep command in unix?
What does awk stand for?
What are awk commands?
Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?
What is .sh file?