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

Answer Posted / shilpa

syntax= % grep pattern file-name-1 file-name-2
It is used to search files

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is it called a shebang?

574


What is the search command in unix?

609


What command is used to check the current users?

598


Is command prompt unix?

586


What is grep short for?

558






What is s and g in sed command?

563


How do I open a port?

596


What does grep v grep do?

556


Who command in unix operating system?

669


How do I clear my terminal history?

588


What are awk commands?

586


What are some command words?

569


Who invented grep?

657


Name the general commands in using unix os for a beginner?

628


Which command is used to kill the last background job?

787