linux查看时间精确到秒.doc

上传人:汽*** 文档编号:544185502 上传时间:2023-06-09 格式:DOC 页数:3 大小:21.50KB
返回 下载 相关 举报
linux查看时间精确到秒.doc_第1页
第1页 / 共3页
linux查看时间精确到秒.doc_第2页
第2页 / 共3页
linux查看时间精确到秒.doc_第3页
第3页 / 共3页
亲,该文档总共3页,全部预览完了,如果喜欢就下载吧!
资源描述

《linux查看时间精确到秒.doc》由会员分享,可在线阅读,更多相关《linux查看时间精确到秒.doc(3页珍藏版)》请在金锄头文库上搜索。

1、linux查看文件时间精确到秒Linux 下查看文件时,ls l 缺省是不显示秒的: Java代码 -rw- 1 root root 1463 Jul 25 2012 anaconda-ks.cfg -rw-r-r- 1 root root 11 Feb 22 14:38 demo drwxr-xr-x 2 root root 4096 Jul 25 2012 Desktop -rw-r-r- 1 root root 36008 Jul 25 2012 install.log -rw-r-r- 1 root root 4939 Jul 25 2012 install.log.syslog dr

2、wxr-xr-x 2 root root 4096 Feb 22 15:15 jms -rw- 1 root root 46033 Oct 29 10:00 mbox 要显示秒(实际更精确),可以用 full-time 参数: Java代码 -rw- 1 root root 1463 2012-07-25 12:56:42.000000000 +0800 anaconda-ks.cfg -rw-r-r- 1 root root 11 2013-02-22 14:38:56.000000000 +0800 demo drwxr-xr-x 2 root root 4096 2012-07-25 2

3、1:17:04.000000000 +0800 Desktop -rw-r-r- 1 root root 36008 2012-07-25 12:56:31.000000000 +0800 install.log -rw-r-r- 1 root root 4939 2012-07-25 12:53:11.000000000 +0800 install.log.syslog drwxr-xr-x 2 root root 4096 2013-02-22 15:15:24.000000000 +0800 jms -rw- 1 root root 46033 2012-10-29 10:00:29.0

4、00000000 +0800 mbox 要显示更多信息,用 stat 命令 Java代码 #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: 2013-02-22 15:15:24.000000000 +0800 Modify: 2013-02-22 15:15:24.000000000 +0800 Change: 2013-02-22 15:15:24.000000000 +0800

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 生活休闲 > 社会民生

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号