What is the syntax of "grep" command?

Answer Posted / jayachandran.g.r

syntax of "grep" command


syntax: grep {word to lookup} {filename}



Ex: grep man test

Is This Answer Correct ?    29 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the first line of a shell script called?

800


How can we find the process name from its process id?

913


Where are cowrie shells found?

768


What is a batch file used for?

785


Can we run shell script in windows?

798


shell script for reverse the string

1096


What is the use of echo in shell script?

776


What is @echo off?

767


I have to write Shells (Linux + Unix)for publishing packages and reports. Is it possible ? What are the differents executable programs ineed to call ?

1883


What is the way to do multilevel if-else's in shell scripting?

959


What is shell terminal?

726


c program to display the information of given file similar to givan by the unix or linux command ls -l

1936


What is the difference between grep and egrep?

834


What is scripting autism?

919


write a shell script to check the failed jobs?

4147