how to find multiple string?

Answer Posted / satyaranjan samal

grep -e 'string 1' -e 'string 2' filename

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How would you display the last line of a file?

685


How to install unix on windows 10?

747


What is the difference between unix and windows operating system?

688


What unix means?

702


Is unix os free?

691


What is c shell in unix?

641


Write down some common shells with their indicators?

840


What is meant by unix operating system?

725


Who owns unix?

708


What is unix pattern?

674


What does pipe do in unix?

700


Write a script that prints out date information in this order: time, the day of week, day number, month, year(sample output: 17:34:51 pdt sun 12 feb 2012)

957


What is .sh file in unix?

735


Is unix free?

694


What is the root directory in unix?

701