How to quickly find anything in a Linux system via Command Line

Abu Eesa
FusionQA
Published in
Feb 12, 2019

If you are searching for some library or something else and are not sure where in the Linux system it is located, it can easily be found with a quick command via the Command Line.

For example, the file we are looking for is “libcxcore.so.4”, then this should tell us where it’s located:

sudo find / -name "libcxcore*"

The result should be something like this IF it exists and is found:

/usr/local/lib/libcxcore.so.4

Another method which might be faster is:

locate libcxcore

Note: Replace ‘libcxcore’ with whatever you are searching for!

--

--