Fla.sh: The Simplest Flashcard Tool

Dmitri Popov

Productivity Sauce

Jan 06, 2015 GMT
Dmitri Popov

Consisting of merely 40 lines of code, the fla.sh Bash script is hands down the most simple and lightweight flashcard tool out there. The script features four commands. The fla.sh write command is used to create flashcards. A flashcard in this case is a plain text file which name is a prompt and the content is the answer. To study flashcards, run the fla.sh command, and the script will cycle through the existing flashcards. When you give a correct answer to a specific prompt, the script automatically marks the corresponding card as learned by prepending . to the flashcard's file name (thus hiding the flashcard). You can also mark any flashcard as learned using the fla.sh learn NAME command (where NAME is the filename of the flashcard). The fla.sh forget NAME command can come in handy when you need to re-activate a hidden flashcard.

Installing fla.sh is a matter of cloning the project's GitHub repository and moving the fla.sh script to a directory in your path (e.g., /usr/bin). Create then a separate directory for flashcards, switch to it, and use the fla.sh write command to create flashcards.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More

News