往.bashrc里加行
HISTFILE=.bash_history_$(w | grep `ps|grep ps|awk '{print $2}'`|awk '{print $3}')
让每个IP来的.bash_history变成.bash_history_IP
HISTFILE=.bash_history_$(w | grep `ps|grep ps|awk '{print $2}'`|awk '{print $3}')
让每个IP来的.bash_history变成.bash_history_IP