What is the syntax of grep command and what is its use?

Answer Posted / bhaskar

syntax

grep "filename or string name"


It is used to find the values quickly

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

887


Why is grep called grep?

997


Explain command to show the space allocation of files?

835


hw will u use awk in replacing cahrs and files

2936


Which command can you use to find the currently running process in unix server?

786


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

793


What are reported commands?

804


Describe the usage and functionality of the command rm –r * in unix?

1499


What do chmod, chown, chgrp commands do?

897


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

810


What is nr in awk command?

788


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

892


Is it inbetween or in between?

799


What is the use of finger command?

836


What are grep patterns?

774