how to use grep command to list find the records of a file
containg 10 different strings
Answer Posted / umakanta
grep -w 'word1|word2' filename
Is This Answer Correct ? | 8 Yes | 14 No |
Post New Answer View All Answers
How would you explain a kernel to a non-technical person?
In unix, what is echo used for?
What are hidden files in unix?
Is unix a programming language?
Is unix more secure than windows?
What are data structures that are used for Demand Paging?
Why unix terminals are called dummy terminals?
How to get the n-th field from a Unix command output?
What is unix shell scripting used for?
How do I check disk space in unix?
Which mode executes the fault handler?
What are pipes and filters in unix?
Is windows built on unix?
How to null a file in unix?
You have a file called tonky in the directory honky. Later you add new material to tonky. What changes take place in the directory, inode, and file?