![]() |
|
|
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 latest file | inquirer | Shell Programming and Scripting | 4 | 04-02-2009 12:15 PM |
| copying the latest file | Aswarth | Shell Programming and Scripting | 12 | 05-23-2008 09:12 AM |
| ftp command to get latest file | laiko | UNIX for Dummies Questions & Answers | 2 | 05-14-2008 07:10 AM |
| Getting latest file from ftp | arunavlp | UNIX for Dummies Questions & Answers | 3 | 02-08-2008 10:19 AM |
| want to cat the latest log file created | vkandati | UNIX for Dummies Questions & Answers | 1 | 03-08-2005 06:13 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Read the latest file
I need to read the contents of the latest file. Below is a sample. I can use the tail command but can this be put into a script?
I just need to read the latest TWSMERGE.log -rwxr--r-- 1 tws unison 431581 Feb 06 05:01 20080205_TWSMERGE.log -rwxr--r-- 1 tws unison 5353 Feb 07 04:59 20080206_NETMAN.log -rwxr--r-- 1 tws unison 431089 Feb 07 05:01 20080206_TWSMERGE.log -rwxr--r-- 1 tws unison 5353 Feb 08 04:59 20080207_NETMAN.log -rwxr--r-- 1 tws unison 430095 Feb 08 05:03 20080207_TWSMERGE.log -rwxr--r-- 1 tws unison 5353 Feb 09 04:59 20080208_NETMAN.log -rwxr--r-- 1 tws unison 431690 Feb 09 05:01 20080208_TWSMERGE.log -rwxr--r-- 1 tws unison 6307 Feb 09 16:25 20080209_NETMAN.log -rwxr--r-- 1 tws unison 351434 Feb 09 18:00 20080209_TWSMERGE.log |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|