How to locate a path?
How to locate a path? - Unix & Linux Stack Exchangehttp://unix.stackexchange.com/questions/295559/how-to-locate-a-path
-r, --regexp REGEXP
Search for a basic regexp REGEXP.No PATTERNsareallowedif
thisoptionis used, but this option can be specified multiple
times.
$ 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
页:
[1]