Are you running the script from the same directory as svm_classify If not maybe svm_classify cannot be found echo $PATH ,should tell you what all is included else use the full path of the program. It would be a good idea to use die as above in order to get an error message: does it say cannot find file or some such. HTH, chimni