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


Please Help Members By Posting Answers For Below Questions

Using unix command how to display no of records in oracle?

615


What command is used to check the current users?

598


What do know about tee command?

607


What are grep patterns?

581


What is the comma to display different lines that are found when compare two files?

595






What are file commands?

656


How do I find previous commands in unix?

599


What are the general commands in using unix os for a beginner?

583


What is the difference between grep and grep?

571


How does the system know where one command ends and another begins?

1582


What is awk used for?

626


What do chown command do?

536


Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?

650


What is grep short for?

558


How do you repeat a command in terminal?

598