how to find multiple string?

Answer Posted / amedela chandra sekhar

fgrep 'searchstr1 | searchchstr2' file.txt

Is This Answer Correct ?    9 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to stop an infinite loop in unix?

507


What are drawbacks of ssh v2?

534


What is necessary before running a shell script from the terminal?

468


Is unix multiuser?

484


Name two paging states for a page in memory?

581






Is mac terminal unix?

467


Explain about the directory representation in UNIX?

536


What is the difference between soft link and hard link in Unix operating system ?

620


What is unix structure?

507


What are the three main components of unix architecture?

496


What is alias mechanism? Explain.

560


What is path variable in unix?

490


What is a filter in unix?

534


What are the hidden files in unix?

554


Is android unix based?

586