Vocatra is a console-based vocabulary trainer. It takes one or more vocabulary files, queries you for each word and lets you try to give the correct answer. You can enable different learning modes. If you prefer to learn sequentially it has an order mode. Otherwise, there is also a random mode available. You can find other preferences and more details in the man-page.
There are no reported vulnerabilities