往.bashrc裡加行
HISTFILE=.bash_history_$(w | grep `ps|grep ps|awk '{print $2}'`|awk '{print $3}')
讓每個IP來的.bash_history變成.bash_history_IP
往.bashrc裡加行
HISTFILE=.bash_history_$(w | grep `ps|grep ps|awk '{print $2}'`|awk '{print $3}')
讓每個IP來的.bash_history變成.bash_history_IP