how to find multiple string?

Answer Posted / sarvan

Use extended grep command

egrep 'searchstr1 | searchchstr2' file.txt

Is This Answer Correct ?    18 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How old is unix?

486


What are the main features of korn shell?

518


Is used to create ordinary files on any unix system?

540


What is the full meaning of unix?

487


How to remove the directory in unix?

501






What does $? Mean in unix?

480


What is a unix shell?

515


Is unix free?

512


How do I remove 30 days old files in unix?

502


How zip the file in unix?

534


What is the root directory in unix?

493


briefly describe the shell's responsibilities?

800


What can you tell about shell variables?

512


What are different types of files in unix?

524


What is the symbol in unix?

492