更新一些笔记

This commit is contained in:
2026-06-30 22:02:28 +08:00
parent a7132b4779
commit 26c9b207af
32 changed files with 245 additions and 88 deletions
+19
View File
@@ -0,0 +1,19 @@
# find \[起始路径] \[-name -size] \[-type] \[参数] \[+ - n kMG]
作用:查找指定文件
参数:
- -name:直接找符合的文件名
- -size:查找符合的大小
- -type:表示查找的类型
- +、-:表示大于或小于
- n:表示大小数字
- kMG:k表示kb(小写),M表示MB,G表示GB
示例:
- find / -name "test"
- find / -size -10k
- find / -size +1G
- find /home -name "*.txt"
- find /home -type f -name "*.log"
- find /home -type d -name "test"