![]() |
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 |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| What's The Easiest Route To Creating A Unix Executable File for Terminal? | unimachead | OS X (Apple) | 10 | 11-03-2008 12:40 PM |
| Two SQL connections..suggest changes. | bhagat.singh-j | Shell Programming and Scripting | 0 | 10-25-2006 02:21 AM |
| Easiest way to send output to a debug file? | LordJezo | Shell Programming and Scripting | 2 | 02-17-2006 10:00 AM |
| What's the easiest way to display system cpu, memory, # drives/size ?? | eyounes | UNIX for Advanced & Expert Users | 4 | 03-12-2002 08:31 AM |
| Easiest and best scripting book ? | simon2000 | UNIX for Dummies Questions & Answers | 2 | 02-13-2002 10:45 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Suggest me the easiest method
Hi,
I want to check whether a file of the format myfile_YYYYMMDD_HHMMSS.txt exists in a particular directory. Here YYYYMMDD_HHMMSS is the time stamp, so it will be numbers always [ I want to check for numbers only, no need to check whether valid time , if it is well and good ]. What is the best method to do this I did it like this : ls myfile_[0-9]*_[0-9]*.txt but it will list files like myfile_YYYYDD_HH.txt etc Regards Shihab |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|