I have installed Weka 3.7.12 on a linux machine with only commandline interface. I have downloaded the LibSVM.jar file as well and copied it in the same directory. How can I run the libsvm with 10 fold cross validation from the commandline in a similar way as in java weka.classifiers.trees.RandomForest -I 100 -t ./data/iris.arff Answer I was able to get