locate is a command I’ve used in the past, but now, fresh installed with sudo apt get locate it doesn return anything.

locate --version returns locate (GNU findutils) 4.10.0, from 2024

or, have I forgotten something?

  • MonkderVierte@lemmy.zip
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 day ago

    Btw, there’s also
    IFS=:; find $PATH -executable -iname "$1" -print
    Speed advantages of a indexed DB don’t matter much anymore with nowadays hardware.