小编Cio*_*res的帖子

如何在 shell 脚本中使用“查找”从当前目录进行搜索?

我希望程序看起来像这样:

read a
if[ find . name $a ]; then
  echo "You found the file"
else "You haven t found the file"
fi
Run Code Online (Sandbox Code Playgroud)

scripts directory find

1
推荐指数
1
解决办法
3万
查看次数

标签 统计

directory ×1

find ×1

scripts ×1