查找文件: sudo find android/ -name SensorDevice.cpp
在某个目录下查找文本内容: grep -rn ".h" .
grep -r --include=*.cpp "Google Inc." . | grep "sensor" -n
查看文件夹/文件的大小:du -sh ./
find /home/xxx/target/lib \( -name '*.a' -o -name '*.la' \) -print0 | xargs -0 rm -f
解释:在 /home/xxx/target/lib目录中查找*.a *.la的文件,打印显示,然后删除查找到的文件。
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请
点击举报。