grep -rn "sudo" *

结果如下模式:

eb/monitor/check.lua:64:    local res = command_util.execute("sudo ")
eb/monitor/check.lua:74:    local res = command_util.execute("sudo ")
eb/monitor/salve.lua:42:        local result,_ = os.execute("sudo ")
eb/monitor/salve.lua:115:                local result,_ = os.execute("sudo ")
eb/monitor/salve.lua:136:            local result,_ = os.execute("sudo ")


Logo

更多推荐