![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | 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 here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Checking for existence of a flat file in UNIX ! | Ariean | Shell Programming and Scripting | 4 | 04-25-2008 11:58 AM |
| checking for existence of table in oracle | kjs | SUN Solaris | 0 | 10-19-2007 12:21 AM |
| Checking the existence of a file.. | igandu | Shell Programming and Scripting | 7 | 06-13-2007 12:47 AM |
| File existence problem | anormal | UNIX for Dummies Questions & Answers | 2 | 05-15-2006 09:54 AM |
| File existence | mpang_ | Shell Programming and Scripting | 2 | 03-27-2006 08:27 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
checking file existence
Hi,
My requirement was to check the existence of a file having a specified pattern.The way i tried to achieve this was if [ -f ilvs_trace*.`date +'%m%d'` ]; then echo "File found" fi an example file having this pattern was 'ilvs_trace01.0124'. it will vary from 01-22,thats why i tried the above one using wildcard. Would anyone can provide me a solution for this in the way i expects. Your help is appreciated. |
| Forum Sponsor | ||
|
|