Dict: Difference between revisions
imported>Crocodillian Create page to describe dictionary lookups with the dict utility. |
imported>Crocodillian m Add stub reference for dictd server. |
||
Line 32: | Line 32: | ||
[[Category:NixOS]] | [[Category:NixOS]] | ||
[[Category:Guide]] | [[Category:Guide]] | ||
[[Category:Dictd]] | |||
[[Category:Dictionary]] | [[Category:Dictionary]] | ||
[[Category:Database]] | [[Category:Database]] | ||
[[Category:Networking]] | [[Category:Networking]] |
Revision as of 14:28, 20 October 2021
The dict
utility does dictionary lookups from the command-line, it is part of the dictd
software distribution.
Setup
Add `dict` to your list of packages in /etc/nixos/configuration.nix
:
/etc/nixos/configuration.nix
environment.systemPackages = with pkgs; [
dict
];
Run the following as your user:
echo 'server dict.org' > ~/.dictrc
Usage
To lookup a word, run, for example:
dict snowflake