Linux server record All user's ops
摘要:
append to /etc/profile root@moonx:/tmp/dbasky/moonx# cat /etc/profile USER_IP=`who -u am i 2>/dev/null| awk '{print $NF}'|sed -e 's/[()]//g'` if [ "$U 阅读全文
posted @ 2019-11-26 17:24 csuyangpeng 阅读(125) 评论(0) 推荐(0) 编辑