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

Is android unix based?

591


What is positional parameters in unix?

479


How the Kernel handles the copy on write bit of a page, when the bit is set?

563


Is it possible to see information about a process while it is being executed?

778


Explain what is inode?

552






What are the devices represented in unix?

502


Difference between the fork() and vfork() system call?

597


What is unix operating system used for?

497


I want to invest in learning things that will get me good jobs in future. But wondering if Unix knowledge is something that is a MUST have or is it better to do any Data-warehouse tool (cognos, Qclik view, ETL etc..). Please suggest me.

1880


What is piping?

540


What scheme does the Kernel in Unix System V follow while choosing a swap device among the multiple swap devices?

538


List the different types of files that can be made available with unix?

488


How do you switch from any user type to a super user type?

584


What are the criteria for choosing a process for swapping out of the memory to the swap device?

604


What is unix explain its architecture?

583