Advanced · Understand the workspace
locate: Find files in the index
Syntax
locate file nameExamples
locate nginx.confUsage and sandbox support
For review only: practice in a real Linux environment, this sandbox does not execute this command.
This command is for reference and review, and the simulation terminal does not provide corresponding exercises yet.
Related commands
pwdShow current locationlsList files and directoriescdSwitch working directorytreeObserve the directory structuremanQuery command manualhelpView support scoperealpathParse absolute pathswhichFind external command locationtypeIdentify built-in and external commandsupdatedbUpdate file indexpushdEnter the directory and push onto the directory stackpopdPop directory stackdirsShow directory stack