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
Where unix is used today?
How to restrict NULL value in UNIX
Which is the shell of unix?
What is unix and its features?
I have one flat file,in this file how many columns are there i don't know,but one ename column is there , just i want to cut the surname, so how to cut the surname, any one know the answer please guide me ? ename ----- tapan kumar nayak bala murugan kutal chkrobarthy biswo My output is like that OUTPUT ------ nayak murugan chakrobarthy biswo
What are the types of unix?
What is the role of the kernel in unix?
What are the criteria for choosing a process for swapping out of the memory to the swap device?
What is Process id in unix?
Is unix written in c?
How do I remove 30 days old files in unix?
What are drawbacks of ssh v2?
What is a unix shell?
What is unix explain its architecture?
If we are terminated at the middle of the program execution in UNIX,what will happen to the program, it will continue running r terminate r the o/p will be send to your mail?