locate 不精确fide 起始目录 查找标准 动作
find -name-iname-type d f l s b c p-user-group-uid-gid-perm mode +mode anyone match -mode everyone match-size-atime-ctime 原数据修改时间-mtime 内容修改时间 n +n -n动作:-print-ls
-exec {} /;-ok {} /;
find /tmp -user john -type f -exec chmod redhat {} /;
-a-o-not
归档 tar tar -cf 归档后文件名 文件1 文件2 文件3 tar -xf 展开文件 tar -tf 不展开文件的情况下,看其中文件 tar -zcvf 归档后文件名 文件1 文件2 文件3 调用gzip既归档又压缩 tar -jcvf 归档后文件名 文件1 文件2 文件3 调用bzip2既归档又压缩 tar -zxvf -C 展开位置 调用gzip既解归档又解缩 tar -jxvf -C 展开位置 调用bzip2既解归档又解缩
uname-a 内核所有信息-t 内核版本号-v 编译版本-p 显示平台架构
sysctl 临时有效 -a 显示正在使用并设置默认值的参数 /etc/sysctl.conf中设置,被/etc/rc.d.sysinit调用 -p 重新读取/etc/sysctl.conf文件
lsmod 显示已加载的内核模块 名称 大小 被其他什么模块依赖 moinfo 显示模块信息 modprobe 安装模块 自动去uname -r目录下去查找模块 -r 卸载模块 etc/modprobe.conf配置文件 depmod 生成模块间关系依赖 insmod 安装模块,要制定路径 rmmod 卸载模块