Performing a search from the current directory where this file resides, this find command finds the file.
# find . page.tpl.php
However, when I search from a child directory, this command,
# find ../. page.tpl.php
prints out the list of files, WITH the requested file listed in the output,
.././parent_dir/page.tpl.php
However, the results are,
find: `page.tpl.php': No such file or directory
Then when I add the -name argument it works,
# find ../. -name page.tpl.php
I simply forget to use arguments sometimes and the false negative is really aggravating. What's going on?
findhave such funny commandline syntax?" or "What exactly is find doing here?" – dmckee Jun 16 '11 at 21:15