Re: Time of a file again
Posted in 1998
Topics: Platform-Specific Issues
Hi, Use 'ls -lt' for last time update, but then you should parse result thru awk-program, for example. Like this: ls -lt | awk '{print $8;}' as output you'll get last time update. Using $7 instead of $8 you'll get day and, finally, $6 - month. > > > Hi... > > Thanks... > But is is possible in shell. I mean anykind of shell command exists? > > Regards, > > Praveen Mohanan > > > > > Hi, Praveen > > > Try 'stat' C-function > > > > Hi users, > > > > This may be a simple question. > > > > Can anyone tell me how to find the time of a file, when it was > last > > updated. env. solaris 2.5.1. > > Is there any specific command for that? > > > > > > Regards, > > > > Praveen Mohanan > > praveen_mohanan@hotmail.com > > > > > > > > ______________________________________________________ > > Get Your Private, Free Email at http://www.hotmail.com > > > > > -- > Dmitry V. Belochkin phone: +7 8452 512828 > INTERCOM Company, Saratov http://www.intercom.ru/~db > > > > ______________________________________________________ > Get Your Private, Free Email at http://www.hotmail.com > -- Dmitry V. Belochkin phone: +7 8452 512828 INTERCOM Company, Saratov http://www.intercom.ru/~db