12-09
12-09
12-09
12-09
12-09
12-09
12-09
12-09
12-09
12-09
12-09
12-09
ADADADADAD
网站建设 时间:2024-12-07 12:45:54
作者:文/会员上传
12-09
12-09
12-09
12-09
12-09
12-09
12-09
12-09
12-09
12-09
12-09
12-09
是的,in 命令在 Linux 中可以用于目录搜索find /path/to/directory -type f -name "search_pattern"其中,/path/to/directory 是你想要搜索的目录路径,search_pattern 是你想要
以下为本文的正文内容,内容仅供参考!本站为公益性网站,复制本文以及下载DOC文档全部免费。
是的,in
命令在 Linux 中可以用于目录搜索
find /path/to/directory -type f -name "search_pattern"
其中,/path/to/directory
是你想要搜索的目录路径,search_pattern
是你想要匹配的文件名模式。例如,如果你想在 /home/user/documents
目录中搜索所有 .txt
文件,你可以使用以下命令:
find /home/user/documents -type f -name "*.txt"
11-20
11-19
11-20
11-20
11-20
11-19
11-20
11-20
11-19
11-20
11-19
11-19
11-19
11-19
11-19
11-19