![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to search reports with specified keyword in log | danielnpu | Shell Programming and Scripting | 4 | 02-23-2009 03:31 AM |
| Multiple Line search using grep | pistachio | UNIX for Dummies Questions & Answers | 6 | 09-06-2008 11:11 AM |
| search multiple words using grep | pb18798 | UNIX for Dummies Questions & Answers | 20 | 08-26-2008 01:43 AM |
| grep/cat/more -- search in a txt file and display content from a specific "keyword" | I-1 | UNIX for Dummies Questions & Answers | 4 | 02-21-2007 04:57 AM |
| multiple search with grep | amon | Shell Programming and Scripting | 5 | 04-04-2006 06:53 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
multiple search keyword in grep
Dear All,
I have a file containing info like TID:0903 asdfasldjflsdjf TID:0945 hjhjhkhkhkh TID:2045 hjhjhkhkhkh TID:1945 hjhjhkhkhkh TID:2045 hjhjhkhkhkh I need to show only lines containing TID:0903 asdfasldjflsdjf TID:0945 hjhjhkhkhkh TID:2045 hjhjhkhkhkh TID:2045 hjhjhkhkhkh but I put the command grep 'TID:09\|TID:20' filename.txt but shows nothing. Can any one help? |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|