Earlier I thought its permission issue but I think found the result, if anyone else facing same issue then in linux they they have to actually execute it as :
./yiic webapp install/directorypatth
Please note those ./ as it means linux is supposed to execute that file. (assuming there is no permission issue)