一些命令
tail -n 30 /var/log/messages | grep named
ssh-keygen -b 1024 -t rsa
scp /root/.ssh/id_rsa.pub root@192.168.1.181:/root/.ssh/authorized_keys
B
chmod 600 /root/.ssh/authorized_keys
开机启动的选项在这里
/etc/grub.conf -> ../boot/grub/grub.conf
前者是个软连接
例1:监控某个进程
ps -eo pid,etime|egrep '(7716|7670)'
例2: tail -n 30 /var/log/messages | grep named
cat /var/log/messages | grep named
例3:yum erase bind-9.8.2-0.17.rc1.el6_4.6.x86_64
http://songzj.iteye.com/blog/1920773
例4:查看端口是否被占用
netstat -tunlp|grep 53