I have installed xampp on ubuntu 13.04, it works and its running. My Yii folder is in /opp/lampp/htdocs/Yii-Main so the yiic bash file is in opt/lampp/htdocs/Yii-Main/framework/yiic

I go to the framework directory and run the command:

sudo yiic webapp ../../test

And it says : "sudo: yiic: command not found"

If I run :

sudo ./yiic webapp ../../test

Then it just says : "sudo: ./yiic: command not found"

What is causing this?