#命令行優化: echo "export PS1='\[\033[01;31m\]\u\[\033[00m\]@\[\033[01;32m\]\h\[\033[00m\][\[\033[01;33m\]\t\[\033[00m\]]:\[\033[01;34m\]\w\[\033[00m\]$ '" >>/etc/profile source /etc/profile #歷史記錄優化: export HISTTIMEFORMAT='%F %T ' echo "export HISTTIMEFORMAT='%F %T '" >>/etc/profile source /etc/profile
效果圖:ide