13

Selecting the file of latest Date

view full story
linux-howto

http://www.unix.com – Hi Folks, I have one query that there is a folder in which daily several logs files are getting created , I reached to that location through putty but what I observer that 10 files of different date are been created with same name , what I need to see is the latest file ...let say the location is cd /var/logs at this location I see ten different files of different date with same name say abc.log , I want to see the abc.log file of the latest date before opening it in Vi , please advise me the command that will filter out the latest abc.log file of latest date, so That I can open the latest (HowTos)