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

Answer Posted / raja

egrep "string1|string2" *.*

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a filter in unix? Give an example.

717


How to find a file in unix?

749


Give a brief idea about representation of devices in unix.

737


Explain what are the unix system calls for i/o?

707


Which language is used in unix?

681


Is unix multiuser?

637


Describe the responsibilities of shell in brief.

667


What is a directory?

717


What are different types of files in unix?

757


Explain what are links and symbolic links in unix file system?

742


How do we change file access permissions?

801


What is difference between unix and windows?

685


List some of the frequent shells used in unix along with their indicators?

688


What is difference between unix and windows operating system?

738


What is source unix?

692