发布时间:2015-01-21 16:36:14
historyUSER=`whoami`USER_IP=`who -u am i 2>/dev/null| awk '{print $NF}'|sed -e 's/[()]//g'`if [ "$USER_IP" = "" ]; then将以下内容追加到/etc/profile后面USER_IP=`hostname`fiif [ ! -d /tmp/history ]; then mkdir /tmp/history chmod 777 /tmp/historyfiif [ ! -d /tmp/history/${LOGNAME}.........【阅读全文】
发布时间:2015-01-21 16:31:55
删除默认默认的桥virbr0virsh net-destroy defaultvirsh net-autostart --disable default......【阅读全文】
发布时间:2015-01-21 16:27:32
按名字查找: find /var -name "messages*"按时间查找find . -cmin n 最后n分钟内修改过的文件find . -ctime n 最后n天内修改过的文件按大小find /tmp -size -1500c ......【阅读全文】