Linux Find Command Failed missing argument for -exec

Could you somebody help me with this

@chiruazure, you need to use -type instead of type

find /var/www/html/official -type f -name ‘*.php’ | wc -l

1 Like

Thank you it is working now

@chiruazure, Glad to hear that the issue has been resolved. Happy Learning with Kodekloud!