Update file index used by locate.
Section: Actions and locate
Refresh locate database
bash
bash
sudo updatedbLearn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Actions and locate