bash history 新增時間戳

參考自 https://blog.longwin.com.tw/2017/05/linux-bash-history-date-time-display-2017/

  1. vim ~/.bashrc # 於最下面加入:
    HISTTIMEFORMAT=’%F %T ‘
  2. source ~/.bashrc