The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



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

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 02-09-2008
wereyou wereyou is offline
Registered User
  
 

Join Date: Sep 2006
Posts: 19
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
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:45 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0