I've been trying to find a particular shared object within ./lib/ using the 'find' utility in the bash shell. To be more specific, to find this shared object I wanted to find all files that started with 'lib'. Here's a list, for example.
libpango-1.0.so.0 libpango-1.0.so.0.3600.8 libpangocairo-1.0.so.0 libpangocairo-1.0.so.0.3600.8 libpangoft2-1.0.so.0 libpangoft2-1.0.so.0.3600.8 libpangoxft-1.0.so.0 libpangoxft-1.0.so.0.3600.8
I tried using the -name option with the pattern 'lib.*', but none of the results I was looking for came up. Rather, several files from different directories & subdirectories were printed, whatnot. To be more specific, I typed this into the terminal:
find . -name 'lib.*' -print
Where exactly did I go wrong? What can I do to improve my pattern?
On another note, I'm using bash.