I need to find all .pem
files on my system. Would the following do this?
sudo find / -type f -name *.pem
If not, how would I write a find command to find every file of the sort?
findlinuxunix
I need to find all .pem
files on my system. Would the following do this?
sudo find / -type f -name *.pem
If not, how would I write a find command to find every file of the sort?
Best Answer
You're on the right track -- you just need to quote the pattern so that it gets interpreted by
find
and not by your shell: