find pathname -options [-print -exec -ok ...]
find . -name "http.conf"
mkdir -p /root/test/test
这样就在 /root 目录下建立了 test 目录 ,并在 /root/test目录下还建立了 /root/test/test 目录
useradd nginx -s /sbin/nologin -M //创建nginx用户不可登录
id nginx //可查看nginx用户的id
tar -zxvf xxx.gz -C xxx/xxx //解压到指定的目录
tar czvf oracle.tar.gz oracle --exclude=oracle/oradata* //压缩文件夹 忽略指定文件
ls -lR|grep "sess*" |wc -l 统计当前目录下文件个数