![]() |
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 Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| get Message from file within date range | ambharish | UNIX for Dummies Questions & Answers | 2 | 06-29-2007 05:20 PM |
| [Urgent]how to print the file names into a txt file??? | kumarsaravana_s | Shell Programming and Scripting | 15 | 03-12-2007 03:32 AM |
| Report file extraction based on Date range | ganapati | Shell Programming and Scripting | 2 | 07-13-2006 11:26 AM |
| Log File date compare for user defined range | mojo24 | Shell Programming and Scripting | 0 | 05-05-2006 06:39 AM |
| Displaying file names before a particular creation date | dhruv_saksena | UNIX for Dummies Questions & Answers | 1 | 09-02-2005 08:19 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Try using:
ls -lt | grep 'Date' Example: ( Using Solaris 7 ) If you were looking for files on July 4, 2000 you would ls -lt | grep 'Jul 4 2000' ls -lt | grep 'Jul(2spaces)4(2spaces)2000' If you were looking for files on November 30, 1998 you would ls -lt | grep 'Nov 30 1998' ls -lt | grep 'Nov(1space)30(2spaces)1998' You must be careful with your spacing. Run ls -l and pay close attention to the way the date field is spaced. Hope this helps. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|