updatedb
Create or update the database used by locate. It is usually run daily by cron. More information: <https://manned.org/updatedb>.
Install
- All systems
-
curl cmd.cat/updatedb.sh
- Debian
-
apt-get install mlocate - Ubuntu
-
apt-get install mlocate -
Alpine
-
apk add mlocate - Arch Linux
-
pacman -S mlocate - Kali Linux
-
apt-get install mlocate - CentOS
-
yum install mlocate - Fedora
-
dnf install mlocate - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install mlocate - Raspbian
-
apt-get install mlocate - Docker
-
docker run cmd.cat/updatedb updatedbpowered by Commando
Create or update the database used by locate. It is usually run daily by cron. More information: <https://manned.org/updatedb>.
-
Refresh database content:
sudo updatedb -
Display file names as soon as they are found:
sudo updatedb --verbose
© tl;dr; authors and contributors