Modify CentOS ll command displays the time format

Temporarily change the display style, when the session ends restore the original style:

export TIME_STYLE='+%Y-%m-%d %H:%M:%S'

Permanently change the display style, the effect of the changes will be saved

Modify / etc / profile file, at the end of the file content added

export TIME_STYLE='+%Y-%m-%d %H:%M:%S'
source /etc/profile

 

Guess you like

Origin www.cnblogs.com/dongqiliang/p/12391238.html