Linux环境变量配置
一、配置终端效果
二、配置history历史命令记录方式
echo 'export HISTTIMEFORMAT="`whoami` %F %T "' >> /etc/profile
echo 'export HISTTIMEFORMAT="[%Y-%m-%d %H:%M:%S] [`whoami`] [`who am i|awk '{print $NF}'|sed -r 's#[()]##g'`]: "' >> /etc/profile
*************** 当你发现自己的才华撑不起野心时,就请安静下来学习吧!***************