how to use grep command to list find the records of a file
containg 10 different strings

Answer Posted / umakanta

grep -w 'word1|word2' filename

Is This Answer Correct ?    8 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is windows built on unix?

613


Describe the term directory?

581


How zip the file in unix?

638


What are the basic responsibilities of a shell?

597


What are the different versions of unix?

571






Explain different types of Unix systems.

618


Explain kernal and shell?

641


What are the phases of swapping a page from the memory?

628


Define a process group.

625


Which are typical system directories below the root directory?

613


What is a shell?

605


What is unix portability?

583


What is a parent directory in unix?

564


Is android unix like?

617


How can you kill a process in unix?

551