Any administrator may often need a command that can find all files by extension on Linux. This is especially useful if you're cleaning up a site and want to find all the files that have a specific extension. For example, I often clean WordPress for my clients and one...
~ $: pwd > find
pwd is a linux command that shows you what directory you’re in, now it tells you what tag you find
How to find all files by extension in Linux
To find all files by extension in Linux can be useful for cleaning the site from harmful files and files with extensions that should not be in a certain folder. For example, if a WordPress site is infected with malware files and you know that /wp-content/uploads must...