How do I use WEKA from command line?

Reading the Primer article will help you understand the usage of the command line, as well as the How to run WEKA schemes from commandline article.