ls -l --time-style '+%Y/%m/%d %H:%M:%S'
ls -l --time-style '+%Y%m%d %H:%M:%S'
也可以写入默认配置中,后面就不用每次指定了
vi ~/.bash_profile
export TIME_STYLE='+%Y/%m/%d %H:%M:%S'
cat ~/.bash_profile | grep TIME
source ~/.bash_profile
posted on
2020-02-22 21:09
aozima
阅读(932)
评论()
收藏
举报