how to use grep command to list find the records of a file
containg 10 different strings
Answer Posted / supriya
grep 'word1|word2' <filename>
Is This Answer Correct ? | 1 Yes | 5 No |
Post New Answer View All Answers
Define the term directory?
How can you count the number of characters and lines in a file?
Explain different types of Unix systems.
How to remove the directory in unix?
Why is unix better than windows?
Is unix still around?
Where is unix used today?
What is the architecture of unix operating system?
What scheme does the Kernel in Unix System V follow while choosing a swap device among the multiple swap devices?
What is standard unix streams ?
What is necessary before running a shell script from the terminal?
What is the significance of the superuser?
How the Kernel handles the copy on write bit of a page, when the bit is set?
Describe file systems in unix?
How to remove the last line/trailer from a file in Unix script?