Linux file viewing time accurate to seconds

Source: Internet
Author: User
In linux, when the file viewing time is accurate to seconds in Linux, ls & amp; ndash; l is not displayed by default in seconds: java code www.2cto.com-rw ------- 1rootroot1463jul252012anaconw.ks.cfg-rw-r -- r -- 1rootroot... in linux, when the file viewing time is accurate to seconds in Linux, ls-l is not displayed by default in seconds: java code www.2cto.com-rw ------- 1 root 1463 Jul 25 2012 anaconda-ks.cfg-rw-r -- 1 root 11 Feb 22 demo drwxr-xr-x 2 root 4096 Jul 25 2012 Desktop-rw-r -- 1 root 36008 Jul 25 2012 install. log-rw-r -- 1 root 4939 Jul 25 2012 install. log. syslog drwxr-xr-x 2 root 4096 Feb 22 jms-rw ------- 1 root 46033 Oct 29 mbox to display seconds (more accurate ), you can use the-full-time parameter: Java code-rw ------- 1 root 1463 12:56:42. 000000000 + 0800 anaconda-ks.cfg-rw-r -- 1 root 11 14:38:56. 000000000 + 0800 demo drwxr-xr-x 2 root 4096 21:17:04. 000000000 + 0800 Desktop-rw-r -- 1 root 36008 12:56:31. 000000000 + 0800 install. log-rw-r -- 1 root 4939 12:53:11. 000000000 + 0800 install. log. syslog drwxr-xr-x 2 root 4096 15:15:24. 000000000 + 0800 jms-rw ------- 1 root 46033 10:00:29. 000000000 + 0800 mbox to display more information, run the stat command Java code # stat jms File: 'jms 'Size: 4096 Blocks: 8 IO Block: 4096 directory Device: fd00h/64768d Inode: 16253060 Links: 2 Access: (0755/drwxr-xr-x) Uid: (0/root) Gid: (0/root) Access: 15:15:24. 000000000 + 0800 Modify: 15:15:24. 000000000 + 0800 Change: 15:15:24. 000000000 + 0800

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.