what is the use of "grep" command?

Answer Posted / bharath

grep command is used to search a string or a keyword in a
file.
syntax:
grep 'keyword' file

Is This Answer Correct ?    9 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the unix command to confirm a remote host is alive or not?

789


What is grep command in unix with examples?

826


How do you grep a case insensitive?

723


How do I delete files from command prompt?

790


What is the size of time_t?

885


What is a command and examples?

796


What's a command word?

793


What does this command do,"$more readme.txt“?

856


Is ‘du’ a command? If so, what is its use?

832


What is the command to view process running?

795


What is sed awk grep?

815


What command is used to switching between users in unix?

758


What are grep patterns?

760


What is unix command line?

804


What is rmdir command?

783