← Blog

Búsquedas en Linux

Comandos para buscar archivos en Linux: locate, which, whereis, find y búsqueda de archivos ocultos.

Busqueda 🍟

  • Nmonic : loc, wh i/e
  • Nmonic commands with "w" : whois, w, which, whereis, whoami, who, wget

With database:

updatedb ; locate sbd.exe

Withing PATH:

which sbd
 
whereis sdb

Complex:

find  /  -­‐name  sbd*
find / --name sdb* --exec file {} \;

Search for hidden (dot) files

find / -type d -name ".*"