ls -l returns the file modify time only down to the minute. How can I get the modify time of a file as hour, minutes and seconds? I'm running Solaris 2.6. Thanks,
As far as I know ls -lt will only give modification times to the minute. I think I've seen a request similar to this in one of the forums on Tek-Tips, but I haven't been able to find it yet. I'll keep looking, but you could try searching the Solaris forum for words which might be associated with modifiaction times. Cheers.
) does not seems to work.
From the man and the test I have done the -t option only sort the files by date instead of alphabetical order but does not display the seconds. I have tried on HP UX and Solaris 2.8. What Unix do you use ?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.