美文网首页
find && locate

find && locate

作者: developerAbble | 来源:发表于2018-01-07 18:44 被阅读0次
  • find
    find . -name "AdminUser*" -ls | grep "AdminUser"
    这条命令很有用

  • locate
    locate /etc/sh
    这是网上的经典例子,要注意一点,是从根目录开始的,要绝对路径。相对路径是不行的。

相关文章

网友评论

      本文标题:find && locate

      本文链接:https://www.haomeiwen.com/subject/gitibxtx.html