Bre*_*ako 2 unix linux
如何从特定目录中找到所有包含字符串“ tomcat”的路径?即我想找到包含tomcat1,tomcat2,tomcat3等的任何东西?
谢谢。
Sve*_*ven 5
尝试
find . -iname tomcat\*
将点替换为要搜索的目录,或将cd替换为要搜索的目录。
如果只想搜索目录名称,请尝试
find . -type d -iname tomcat\*
归档时间:
12 年,5 月 前
查看次数:
3725 次
最近记录:
8 年,9 月 前