find ./ -size +100M -exec ls -lh {} \;
查找目录:find /(查找范围) -name '查找关键字' -type d
查找文件:find /(查找范围) -name 查找关键字 -print
基于目录深度搜索
向下最大深度限制为3
find . -maxdepth 3 -type f
搜索出深度距离当前目录至少2个子目录的所有文件
find . -mindepth 2 -type f
find . -maxdepth 3 -type f | xargs grep 'catalina.out'
保留原文件,解压到当前文件夹
jar -xvf game.war
保留原文件,解压到指定文件夹(文件夹不用事先创建)
unzip cipmid.war -d ./p