Looking Up Definitions Directly in the Terminal

June 24, 2022

sdcv (Stardict under Console Version) is a cool and useful command line program to define words directly in the terminal, and it’s available in both the main Arch and Debian repositories. The dictionaries themselves, however, must be downloaded separately. Here are the steps I took, along with the alias I setup in my .bashrc file.

Now you can run “sdcv” from within a terminal and it will prompt you to enter a word you’d like to define. Alternatively, you can run sdcv [word to define]

I also created an alias for sdcv so that I can simply type “define” and the word to get a definition. This can be done by adding the following to your .bashrc file in your home directory:
alias define='sdcv'

Thanks for reading. Feel free to send comments, questions, or recommendations to hey@chuck.is.