4 ms·
> Finding a specific file by name across the system > Linux: find / -name "config.txt" This is not how you find a file across the entire system, you use ploca
by flexagoon 6mo ago
> Finding a specific file by name across the system
> Linux: find / -name "config.txt"
This is not how you find a file across the entire system, you use plocate for that. find would take ages to do what plocate does instantly
- gib444 6mo agoNo. "Slower" is not the same as "different functionality". In fact, "find" is guaranteed to be more correct. And more widely available.
- Nux 6mo agoYes and no, with `find` I know I'm getting "live" results from the filesystem, whereas plocate (and s/locate) merely searches through a database updated god knows when, assuming it's even installed and the bulk of the files indexed.