使用 shell 查找文件目录

find file directory with the shell

我要查找目录'thimthumb'。

我安装了很多wordpress,搜索字符串应该是一个主题。 在某些社区,他们说 thimthumb 有病毒,所以我想搜索它。

我是 root 并尝试使用 find 但我做错了。有人可以为我创建 find 字符串吗?

find /thimthumb   # that's it?!

您可以使用此 find 命令:

find / -type d -name 'thimthumb' -delete

find -name ‘thimthumb’ -print 从您要搜索的目录中。

如果您安装了 "mlocate" 软件包,您可以 运行:

locate thimthumb

如果它没有return您可能需要更新数据库的任何东西

updatedb