[rhn-users] timestamp needs seconds
Paula J. Lindsay
paula at scripps.edu
Fri Mar 16 12:53:03 UTC 2007
Thank you so much Carl. I think this is just what the doctor ordered!
Many thanks,
Paula
Carl G. Riches wrote:
> On Thu, 15 Mar 2007, Paula J. Lindsay wrote:
>
>> Hi,
>> I have a RHE ws 3. This linux box is connected to an nmr machine
>> which is doing experiments with cryonics. When the scientist wants
>> to know exactly what time, by seconds, his file was created, he only
>> sees:
>>
>> --rw-r--r-- 1 root root 0 Mar 20 2006 .fonts.cache-1
>> -rw-r--r-- 1 root root 63332 Mar 20 2006 testfile
>> -rw-r--r-- 1 root root 43543 Sep 18 2005 last.050918
>>
>> How can I get the timestamp on the file to read hour:minutes:seconds
>> -rw-r--r-- 1 root root 0 Mar 20 12:23:46 2006 phase2
>> the minutes and seconds are the most important. I did a man on ls,
>> but it didn't have what I needed, at least what I tried.
>> Many thanks in advance for your help.
>> Paula
>>
>
> Do you have the "--full-time" option to your version of ls?
> For example:
>
> $ ls --full-time testfile
> -rw-r--r-- 1 cgr staff 0 2007-03-15 16:14:11.268683000 -0700 testfile
>
> That looks like time in HH:MM:SS.fraction?
>
> Carl
>
> Carl G. Riches
> Software Engineer
> Department of Biostatistics
> Box 357232 voice: 206-616-2725
> University of Washington fax: 206-543-3286
> Seattle, WA 98195-7232 internet: cgr at u.washington.edu
>
> _______________________________________________
> rhn-users mailing list
> rhn-users at redhat.com
> https://www.redhat.com/mailman/listinfo/rhn-users
--
--*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
o The Paula J. Lindsay, IT Analyst III
/ Research Computing, TPC21
o Scripps phone: 858.784.9378
\ fax: 858.784.9301
o Research email: paula at scripps.edu
/
o Institute
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
More information about the rhn-users
mailing list