IBM AIX:核壳:文件的修改日期显示 [英] IBM AIX: core-shell: show date of modification of file

查看:246
本文介绍了IBM AIX:核壳:文件的修改日期显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想这样做在bash(见时文件的最后修改):

I'd like to do something like this with bash (see time when file was last modified):

ls -lha
ls --full-time

但我必须在AIX上使用核 - 壳。怎么可以这样实现吗?

but I must use core-shell on AIX. How can be so achieved?

推荐答案

您可以使用国家统计局:

You can use istat:


$ istat  test.ksh
Inode 86741 on device 10/8 File
Protection: rw-r-----
Owner: 6361(user2) Group: 621(norgroup)
Link count: 1 Length 116 bytes
Last updated: Thu Jun 9 14:25:11 EDT 2011
Last modified: Thu Jun 9 14:25:11 EDT 2011
Last accessed: Fri Jan 20 16:08:46 EST 2012

请参阅我的博客 - stat命令的AIX版本 - 命令来获得文件的时间戳

这篇关于IBM AIX:核壳:文件的修改日期显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆