[CMD="u"][/CMD]Tonight I executed a command that I've probably run thousands of times:
And I got a strange, single line response instead of a list of php files:
There is a file called cron.php in the working directory. There is nothing special about that file; it's just another php file.
If I move up one directory (from /usr/local/www/drupal7 to /usr/local/www) and execute the same command it runs fine.
The following command runs perfectly from several other directories that I tried, just not from /usr/local/www/drupal7:
This behavior occurred on a FreeBSD 9.0 AMD64 machine. I have a 7.4 AMD64 machine that has the same directory structure and I get a similar error there. Instead of "unknown primary or operator", I get "unknown option."
Has anyone else seen anything like this? Am I doing something wrong?
Code:
find . -name *.php
And I got a strange, single line response instead of a list of php files:
Code:
find: cron.php: unknown primary or operator
There is a file called cron.php in the working directory. There is nothing special about that file; it's just another php file.
If I move up one directory (from /usr/local/www/drupal7 to /usr/local/www) and execute the same command it runs fine.
The following command runs perfectly from several other directories that I tried, just not from /usr/local/www/drupal7:
Code:
find /usr/local/www/drupal7 -name *.php
This behavior occurred on a FreeBSD 9.0 AMD64 machine. I have a 7.4 AMD64 machine that has the same directory structure and I get a similar error there. Instead of "unknown primary or operator", I get "unknown option."
Has anyone else seen anything like this? Am I doing something wrong?