Using the 'locate' command for quicker file and directory location
┌
In OpenIndiana : there is a mlocate package.
You just need to install it :
pkg install mlocate
-
Indexing all folders and files
updatedb
-
Perform a search
locate FILE
┌
In OmniOSce : there is no locate package in core/extra repositories, you need to set up pkgsrc repository first.
-
Install pkgsrc repository
You must install pkgsrc repository first.
See another letter
-
Open a terminal and switch to root
su -
-
Install findutils
pkgin -y in findutils
-
Indexing all folders and files
updatedb
-
Perform a search
locate FILE
Don't miss what's next. Subscribe to Illumadmin: