ChinaUnix.net
相关文章推荐:

查看文件访问时间

可以用查看访问时间用函数utime()或者"ls -lu"命令来查看文件最近一次被访问时间: # ls -lu -u 参数用来显示最近一次被访问时间,而不是最近一次被调整的时间,这个参数不能单独使用,必须和 -t 或者 -l参数结合使用. 下面的例子列示出根目录(/)下的文件最近一次被访问时间: #ls -lu total 18452 -rw-r--r-- -1 root system -- --26 Jun 14 07:52 #UNTITLED# -rw------- -1 root system ---2128 Jun 14 07:52 .TTauthority -rw...

by aixcq - AIX文档中心 - 2006-06-19 13:06:54 阅读(1220) 回复(0)

相关讨论

solaris怎么分别查看文件的创建,修改,访问时间?ls 好象只能看修改时间。。

by echo52 - Solaris - 2004-09-20 04:29:42 阅读(851) 回复(0)

请问应用什么命令来查看文件访问时间(access time)?

by ebit - HP-UX - 2004-04-21 10:12:47 阅读(1052) 回复(1)
by ha_ - Shell - 2013-01-08 15:11:48 阅读(7022) 回复(7)

:oops: 怎样查看一个文件的:创建时间,最后修改时间,最后访问时间?如用shell,怎么实现?在线等待........!急!http://expert.csdn.net/Expert/topic/1632/1632076.xml?temp=.8254511

by forrest_wu - Solaris - 2003-04-08 11:29:58 阅读(2645) 回复(1)

man ls只告诉我以下的信息: -c Uses the time of last modification of the i-node for either sorting (when used with the -t flag) or for displaying (when used with the -l flag). This flag must be used with either the -t or -l flag, or both. 即“最近一次i节点修改时间” -l (Lower case L) Displays the mode, number of links, owner, group, size (in bytes), and time of last modification for each file. I...

by piccolo - Shell - 2006-11-22 11:46:10 阅读(4573) 回复(2)

小弟近日在用Unix,不知怎样查看某个文件夹及其子文件夹下的文件,是否有被更新?哪位大虾能帮我啊

by wilsom - HP-UX - 2005-10-10 15:08:35 阅读(1331) 回复(1)

aix中如何如何查看文件的创建时间 有没有同linux中stat的命令

by ntbbc - AIX - 2005-09-23 11:10:08 阅读(910) 回复(0)
by xuxufei - Solaris - 2004-12-02 22:38:46 阅读(876) 回复(2)
by xuxufei - Solaris - 2004-12-02 17:40:23 阅读(737) 回复(0)

如题。 在linux下和在solaris下 用telnet远程访问的时候,想控制某一用户访问时间,或者当空闲超过一定时间,就会自动断开。 具体是哪一个文件呢? 请大侠们赐教! 谢谢!

by regedit - Linux论坛 - 2005-05-10 11:42:26 阅读(623) 回复(1)