so I'm in the main folder for my web hosts, trying to find a file using find
. I couldn't find it - it was listed as no such file or directory - and I thought maybe it isn't anywhere.
However the following command doesn't work either:
find index.php
which is wrong cause there are a gazillion of them. Why is find not working? Is there a better command to use?
find /some/dir -name index.php
index.php
orfind: `index.php': No such file or directory
depending on whether or not there was anindex.php
in your current directory.-D stat
tofind
produces no output if find works correctly, finding no matches, but in an unexpected way.