{"id":4307,"date":"2023-09-15T12:49:15","date_gmt":"2023-09-15T10:49:15","guid":{"rendered":"https:\/\/linux-bibel.at\/?p=4307"},"modified":"2023-09-15T12:49:18","modified_gmt":"2023-09-15T10:49:18","slug":"dict-woerterbuch-fuer-das-terminal-unter-linux","status":"publish","type":"post","link":"https:\/\/linux-bibel.at\/index.php\/2023\/09\/15\/dict-woerterbuch-fuer-das-terminal-unter-linux\/","title":{"rendered":"Dict &#8211; W\u00f6rterbuch f\u00fcr das Terminal unter Linux"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Dict ist ein W\u00f6rterbuch f\u00fcr das <a rel=\"noreferrer noopener\" href=\"https:\/\/www.linux-bibel-oesterreich.at\/viewtopic.php?t=3\" target=\"_blank\">Terminal<\/a> unter Linux, obwohl &#8211; die kleine Software kann schon etwas mehr als etwa nur die Bedeutung von W\u00f6rtern anzeigen. Wichtig gleich einmal zu Beginn &#8211; die Software braucht eine Internet-Verbindung &#8211; warum, dies werden wir gleich sehen.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Dict installieren<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Unter auf Debian basierenden Linux-Distributionen installieren Sie diese Software wie \u00fcblich ganz einfach \u00fcber die <a rel=\"noreferrer noopener\" href=\"https:\/\/www.linux-bibel-oesterreich.at\/viewtopic.php?t=10\" target=\"_blank\">Paket-Verwaltung<\/a> durch das Paket &#8222;<strong>dict<\/strong>&#8222;. Auch finden Sie diese Software unter <a rel=\"noreferrer noopener\" href=\"https:\/\/sourceforge.net\/projects\/dict\/files\/\" target=\"_blank\">Sourceforge<\/a> zum Download.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Dict nutzen<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Wie schon beschrieben &#8211; man nutzt die Software am Terminal, einen Eintrag im Anwendungsmen\u00fc sucht man also vergebens. F\u00fcr die paar Kilobyte kann die Software jedoch recht viel. Nun, wollen wir uns einmal die Anzahl der verf\u00fcgbaren W\u00f6rterb\u00fccher anzeigen lassen:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>dict -D | wc -l<\/code><\/pre>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dict.jpeg\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dict-1024x576.jpeg\" alt=\"\" class=\"wp-image-4314\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dict-1024x576.jpeg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dict-300x169.jpeg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dict-150x84.jpeg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dict-768x432.jpeg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dict-1536x864.jpeg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dict.jpeg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\"> Wir haben also aktuell 167 verschiedene W\u00f6rterb\u00fccher zur Verf\u00fcgung, gehen wir etwas weiter &#8211; mit folgendem Befehl lassen wir uns die nutzbaren W\u00f6rterb\u00fccher anzeigen:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>dict -D<\/code><\/pre>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dict-1.jpeg\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dict-1-1024x576.jpeg\" alt=\"\" class=\"wp-image-4315\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dict-1-1024x576.jpeg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dict-1-300x169.jpeg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dict-1-150x84.jpeg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dict-1-768x432.jpeg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dict-1-1536x864.jpeg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dict-1.jpeg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Linux Zu Beginn sehen Sie den Namen des W\u00f6rterbuches, dahinter eine kurze Beschreibung. W\u00f6rterb\u00fccher, die mit &#8222;<strong>fd-<\/strong>&#8220; beginnen, dienen zum \u00dcbersetzen von W\u00f6rtern. Leider sind die W\u00f6rterb\u00fccher nicht gerade alphabetisch sortiert &#8211; man muss sich also durchhangeln. Versuchen wir gleich einmal Deutsch-Schwedisch &#8211; ich m\u00f6chte im Beispiel &#8222;<strong>Danke<\/strong>&#8220; ins Schwedische \u00fcbersetzen, mit &#8222;<strong>-d<\/strong>&#8220; w\u00e4hlt man das W\u00f6rterbuch aus:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>dict -d fd-deu-swe \"Danke\"<\/code><\/pre>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dict-2.jpeg\" rel=\"lightbox-2\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dict-2-1024x576.jpeg\" alt=\"\" class=\"wp-image-4316\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dict-2-1024x576.jpeg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dict-2-300x169.jpeg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dict-2-150x84.jpeg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dict-2-768x432.jpeg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dict-2-1536x864.jpeg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dict-2.jpeg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Dies funktioniert nat\u00fcrlich mit allen m\u00f6glichen Sprachen, ein weiteres Beispiel:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>dict -d fd-eng-deu \"Thanks\"<\/code><\/pre>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dict-3.jpeg\" rel=\"lightbox-3\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dict-3-1024x576.jpeg\" alt=\"\" class=\"wp-image-4317\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dict-3-1024x576.jpeg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dict-3-300x169.jpeg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dict-3-150x84.jpeg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dict-3-768x432.jpeg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dict-3-1536x864.jpeg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dict-3.jpeg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Wir k\u00f6nnen aber nat\u00fcrlich auch direkt nach W\u00f6rterb\u00fcchern suchen &#8211; hierzu nutzen wir einfach den Befehl:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>grep<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Um beispielsweise nach allen W\u00f6rterb\u00fcchern zum \u00dcbersetzen zu suchen, die mit &#8222;<strong>fd-eng-<\/strong>&#8220; beginnen:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>dict -D | grep fd-eng-<\/code><\/pre>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dict-4.jpeg\" rel=\"lightbox-4\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dict-4-1024x576.jpeg\" alt=\"\" class=\"wp-image-4318\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dict-4-1024x576.jpeg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dict-4-300x169.jpeg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dict-4-150x84.jpeg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dict-4-768x432.jpeg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dict-4-1536x864.jpeg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dict-4.jpeg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\"> Oder um nach allen W\u00f6rterb\u00fcchern zum \u00dcbersetzen:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>dict -D | grep fd-<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Wir k\u00f6nnen aber auch ganz einfach in alle verf\u00fcgbaren Sprachen \u00fcbersetzen lassen, hierzu nutzen wir die Option &#8222;<strong>trans<\/strong>&#8220; &#8211; ein Beispiel:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>dict -d trans love<\/code><\/pre>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dict-5.jpeg\" rel=\"lightbox-5\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dict-5-1024x576.jpeg\" alt=\"\" class=\"wp-image-4319\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dict-5-1024x576.jpeg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dict-5-300x169.jpeg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dict-5-150x84.jpeg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dict-5-768x432.jpeg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dict-5-1536x864.jpeg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dict-5.jpeg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Sehen wir uns die Liste der W\u00f6rterb\u00fccher etwas genauer an, hier findet sich unter anderem auch eine Liste der Elemente &#8211; das W\u00f6rterbuch nennt sich einfach &#8222;<strong>elements<\/strong>&#8222;, wollen wir einmal den Begriff &#8222;<strong>Helium<\/strong>&#8220; nachschlagen:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>dict -d elements helium<\/code><\/pre>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dict-6.jpeg\" rel=\"lightbox-6\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dict-6-1024x576.jpeg\" alt=\"\" class=\"wp-image-4320\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dict-6-1024x576.jpeg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dict-6-300x169.jpeg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dict-6-150x84.jpeg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dict-6-768x432.jpeg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dict-6-1536x864.jpeg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/dict-6.jpeg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/www.linux-bibel-oesterreich.at\/download\/file.php?id=6194&amp;mode=view\"><\/a>Noch viel mehr zu dieser Software zeigt nat\u00fcrlich die Manpage mit dem Befehl:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>man dict<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Erstver\u00f6ffentlichung: Fr 3. M\u00e4r 2023, 20:43<\/strong><\/p>\n<div class=\"pld-like-dislike-wrap pld-custom\">\r\n    <div class=\"pld-like-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-like-trigger pld-like-dislike-trigger  \" title=\"Gef\u00e4llt mir\" data-post-id=\"4307\" data-trigger-type=\"like\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                            <img src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/12\/Daumen-Hoch.png\" alt=\"Gef\u00e4llt mir\" \/>\r\n            <\/a>\r\n    <span class=\"pld-like-count-wrap pld-count-wrap\">    <\/span>\r\n<\/div><div class=\"pld-dislike-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-dislike-trigger pld-like-dislike-trigger  \" title=\"Gef\u00e4llt mir nicht\" data-post-id=\"4307\" data-trigger-type=\"dislike\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                            <img src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/12\/Daumen-Runter.png\" alt=\"Gef\u00e4llt mir nicht\" \/>\r\n            <\/a>\r\n    <span class=\"pld-dislike-count-wrap pld-count-wrap\"><\/span>\r\n<\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Dict ist ein W\u00f6rterbuch f\u00fcr das Terminal unter Linux, obwohl &#8211; die kleine Software kann schon etwas mehr als etwa nur die Bedeutung von W\u00f6rtern anzeigen. Wichtig gleich einmal zu Beginn &#8211; die Software braucht eine Internet-Verbindung &#8211; warum, dies werden wir gleich sehen. Dict installieren Unter auf Debian basierenden Linux-Distributionen installieren Sie diese Software [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[57],"tags":[6],"class_list":["post-4307","post","type-post","status-publish","format-standard","hentry","category-buero","tag-terminal"],"_links":{"self":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/4307","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/comments?post=4307"}],"version-history":[{"count":3,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/4307\/revisions"}],"predecessor-version":[{"id":4327,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/4307\/revisions\/4327"}],"wp:attachment":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media?parent=4307"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/categories?post=4307"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/tags?post=4307"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}