ls显示的时间格式自定义

来源:互联网 发布:上海企业网络推广平台 编辑:程序博客网 时间:2024/06/06 02:09

ls显示的时间格式自定义

[root@localhost ~]# export TIME_STYLE='+%Y/%m/%d %H:%M:%S'

[root@localhost ~]# ls -l

-rw------- 1 root root  3964 2009/10/15 01:01:45 anaconda-ks.cfg

drwxr-xr-x 2 root root  4096 2009/10/15 01:17:03 Desktop

-rw-r--r-- 1 root root 52325 2009/10/15 01:00:51 install.log