what is the function of grep command?

Answer Posted / khemnath chauhan

grep command let us find the desire pattern in given
statements or from contents of file.
SYNOPSIS:
$grep <pettern to search> <file name>
this will find the particular pattern.

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between grep and grep?

799


What is the use of egrep command in unix?

829


What is $0 bash?

890


how to sort the content of the file based on numeric values

1508


Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.

845


What do know about tee command and its usage?

850


How do I use grep to find a file?

808


Why is it called grep?

748


How to display no of records in oracle using unix command?

807


What is the difference between cat and more command?

900


How do you grep recursively?

775


Explain command to display different lines that are found when compare two files?

887


What is the nmap command?

810


How do I run a bash script?

811


What do chmod, chown, chgrp commands do?

895