首页 > 代码库 > How to locate a path? - Unix & Linux Stack Exchange
How to locate a path? - Unix & Linux Stack Exchange
How to locate a path? - Unix & Linux Stack Exchange
http://unix.stackexchange.com/questions/295559/how-to-locate-a-path
-r, --regexp REGEXP
Search for a basic regexp REGEXP. No PATTERNs are allowed if
this option is used, but this option can be specified multiple
times.
[a@localhost .dircache]$ locate -r openssl/sha.h
/opt/jenkins-1.658-0/common/include/openssl/sha.h
/opt/phabricator-20160523-0/common/include/openssl/sha.h
/opt/redmine-3.3.0-1/common/include/openssl/sha.h
/usr/include/openssl/sha.h
How to locate a path? - Unix & Linux Stack Exchange
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。