Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Just to put an example, in the Terminal:

php -f file.php

Works perfectly, when I try to use this in GeekTool it just does not work.

It works fine till:

php -f

Displaying the possible option, but when I write: file.php it just doesn't work.

share|improve this question
Do you get an error message? "Does not work" is not very informative. – Dennis Williamson Nov 25 '10 at 3:14
@Denis, Sorry about that, the thing is nothing happes really... just blank. – Trufa Nov 25 '10 at 3:18
up vote 4 down vote accepted

Either php isn't found or file.php isn't found. Use the full path, or "cd" to the folder where file.php is.

share|improve this answer
Thanks mankoff! It was exactly that! I had to 'cd' to the file. Thank you very much! – Trufa Nov 25 '10 at 3:33

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.