locate command can be used to search for files. Locate command is good at search an index but not great at listing the results. To get better listing features, you can pipe it to ls command as follows:
$ locate something | xargs ls -lh
Simply Explaining Technology
locate command can be used to search for files. Locate command is good at search an index but not great at listing the results. To get better listing features, you can pipe it to ls command as follows:
$ locate something | xargs ls -lh