linux文件详细操作记录:
mkdir -p /var/log/user_record vi /etc/profile # 添加登陆时自动记录 script -t -f -q 2>/var/log/user_record/$USER-$UID-`date +%Y%m%d%H%M%S`.time -a /var/log/user_record/$USER-$UID-`date +%Y%m%d%H%M%S`.his if [ "$SHLVL" = 1 ]; then exit fi
操作记录在:/var/log/user_record中