Ask a Question related to UNIX Programming, Design and Development.
-
Alvaro Puente #1
ls showing seconds?
Hi all!
Is there any way that ls show timestamps with seconds (i.e. format
hh:mm:ss)?
If not ls, maybe there is another command...
Thanks!/Alvaro
Alvaro Puente Guest
-
Quotes that appear every few seconds
I am using dreamweaver and want to create a small side window on the page where short text quotes appear. The quotes need to change every 5-10... -
Need to convert seconds to DD:HH:MM:SS
So clearly I'm being stupid and this seemingly basic math is beyond my abilities at the moment. I've tried various things, but can't seem to figure... -
looping every x seconds
Hello, In PERL how do I execute a block of code every "x" seconds? I'm talking a loop or similar but it runs every x seconds, where x is given. -
2 seconds
hiya! check this: only the banks know about this, but it will save you a fortune are you prepared for lower mortgage repayments? ... -
format # of seconds to hh:mm
I am trying to trick some Infromix SQL command, so it will format the output of a query into the HH:MM. Say, a row data value 70 will be print as... -
Barry Margolin #2
Re: ls showing seconds?
In article <bf92vf$7p8$1@newstree.wise.edt.ericsson.se>,
Alvaro Puente <alvaro.puente-gonzalez@ece.ericsson.se> wrote:GNU ls has a --full-date option that I think will do this.>Is there any way that ls show timestamps with seconds (i.e. format
>hh:mm:ss)?
>If not ls, maybe there is another command...
--
Barry Margolin, [email]barry.margolin@level3.com[/email]
Level(3), Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.
Barry Margolin Guest
-
Marcus #3
Re: ls showing seconds?
Alvaro Puente wrote:
You haven't specified a platform, but ls from GNU fileutils 4.1.9 can do> Is there any way that ls show timestamps with seconds (i.e. format
> hh:mm:ss)?
it like so (probably not the only way):
ls -l --time-style=+'%D %r'
Probably, depending on your platform. I have a separate /usr/bin/stat> If not ls, maybe there is another command...
command that prints out all of the info from a struct stat for a given
file, which includes this information. Perhaps there's something
similar available on your machine.
-Marcus
Marcus Guest



Reply With Quote

