finding the presence of a word in a list of 'n' files
(pattern matching)

Answer Posted / akshay chavan

sed -n '/matchingpattern/g' file1 file2...

Is This Answer Correct ?    5 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differentiate relative path from an absolute path?

477


What are the main features of unix?

489


Who owns unix?

497


Explain kernal and shell?

557


Is unix still around?

468






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

512


How to know the ip address of user system?

551


How do I create a directory in unix?

497


What is unix kernel explain it?

512


How do you sort in unix?

566


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

482


Is darwin unix?

503


What is unix operating system explain various components of unix operating system?

474


What is the use of unix?

537


What is unix orphan process?

557