查看版本/etc/rehat--release
uname -a查看内核
根据文件名查找后删除某个文件
find /tmp -name core -type f -print0 | xargs -0 /bin/rm -f
系统启动时自动运行
rc-update add smbd default
smbd文件必须在/etc/init.d/目录下
#env-update && source /etc/profile
更新环境并使个人配置生效
编译内核
cd /usr/src/linux-2.6.31
make
make modules_install
cp arch/x86_64/boot/bzImage /boot/kernel-2.6.31
重启