linux修改时间显示格式

1. 问题描述

Linux下经常使用 "ls - ll"命令查看文件夹或文件创建及权限信息,但是满屏的Mar

、May、Jul有点小难受。

2. 解决方案

修改bash_profile文件,当前用户配置显示格式:

vi  ~/.bash_profile
export TIME_STYLE='+%Y/%m/%d %H:%M:%S'
source ~/.bash_profile

设置图:

效果图:


posted @ 2019-07-13 23:18  软件老王  阅读(2119)  评论(0编辑  收藏  举报