find命令
查找当前目录下的hello.txt文件
find -name "hello.txt"
find |grep hello.txt
ll |grep hello.txt
查找所有目录下的hello.txt文件
find / -name "hello.txt"
find / |grep hello.txt
查找当前目录下以h开头的文件
# 区分大小写
find -iname "h*"
# 不区分大小写
find -iname "h*"
更多精彩
查找当前目录下的hello.txt文件
find -name "hello.txt"
find |grep hello.txt
ll |grep hello.txt
查找所有目录下的hello.txt文件
find / -name "hello.txt"
find / |grep hello.txt
查找当前目录下以h开头的文件
# 区分大小写
find -iname "h*"
# 不区分大小写
find -iname "h*"