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

Answer Posted / raghu

egrep "word1|word2" filename

Is This Answer Correct ?    27 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How unix is different from other operating systems?

515


How does unix file system work?

517


How does unix work?

488


How do I run a shell script in unix?

548


What are the bits that support the demand paging?

564






What can you tell about shell variables?

515


How to terminate a shell script if statement?

571


What is unix computer?

519


What are system variables in unix?

686


What is file structure in unix?

510


How do you make programs portable on unix and dos under such circumstances?

479


How to move files from one directory to other in unix?

485


What are the layers of unix operating system?

530


What was unix originally written for?

535


What do you understand by the term filters?

532