![]() |
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 |
| Find cmd not working as expected | Vishal123 | Shell Programming and Scripting | 6 | 08-29-2007 03:11 AM |
| how to find in which shell i am working.. | pineapple | Shell Programming and Scripting | 2 | 04-01-2007 11:56 PM |
| FIND/GREP problem | dfb500 | UNIX for Dummies Questions & Answers | 1 | 11-13-2006 11:13 AM |
| find/if statement not working | geomonap | Shell Programming and Scripting | 12 | 12-16-2005 09:56 AM |
| How to find our working compiler | s_aamir | Shell Programming and Scripting | 8 | 04-04-2002 05:08 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
HI Friends,
Traxlist.txt --this is my file contains this txt ------------- 108042708190000.txt 108042708190001.txt 112040108174516.txt 112042708173000.txt 112042708174508.txt 112050108173000.txt 113042708100500.txt 113042708103026.txt i have varible called file1="112042708*.txt" i need to search this string type in Traxlist.txt and output should be 112042708173000.txt ---------------------- search=`grep $file1 Traxlist.txt` echo "search :"$search i tried this one but its not working can anyone help me out. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|