Linux history 如何查看、显示时间、清空、历史记录

linux历史记录显示时间

export HISTTIMEFORMAT="%F %T "

linux历史记录显示时间关闭

export HISTTIMEFORMAT=

linux历史操作记录

history

linux历史操作记录清空

history -c

 

posted @ 2024-05-17 08:48  EasTward  阅读(4)  评论(0编辑  收藏  举报