zsh: command not found: find

160 Views Asked by At

I have recently updated my MacOS to Sonoma 14.1.1

Have tired various methods to fix this command to no avail.

I typed this to the terminal

find. -name "DS_Store" type f -delete

and got this response

zsh: command not found: find.

I have already tried doing

PATH=/bin:/usr/bin:/usr/local/bin:/sbin:${PATH}
export PATH
0

There are 0 best solutions below