{"id":387,"date":"2023-09-02T18:36:59","date_gmt":"2023-09-02T16:36:59","guid":{"rendered":"https:\/\/linux-bibel.at\/?p=387"},"modified":"2023-09-02T18:37:00","modified_gmt":"2023-09-02T16:37:00","slug":"lolcat-bringt-farbe-ins-linux-terminal","status":"publish","type":"post","link":"https:\/\/linux-bibel.at\/index.php\/2023\/09\/02\/lolcat-bringt-farbe-ins-linux-terminal\/","title":{"rendered":"lolcat bringt Farbe ins Linux-Terminal"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Das Terminal unter Linux gl\u00e4nzt ja nicht unbedingt farbenfroh &#8211; hier k\u00f6nnte die Software lolcat nachhelfen.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">lolcat installieren<\/h3>\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 Paket-Verwaltung durch das Paket &#8222;<strong>lolcat<\/strong>&#8222;.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">lolcat nutzen<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Einen ersten Blick auf die Software bringt der Befehl:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>lolcat -h<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Hiermit zeigt sich die kurze Hilfe:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/lolcat-1024x576.jpg\" alt=\"\" class=\"wp-image-388\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/lolcat-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/lolcat-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/lolcat-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/lolcat-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/lolcat.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Nun wollen wir uns einmal ansehen, wie wir die Software unter normalen Umst\u00e4nden nutzen k\u00f6nnten. Wir \u00fcbergeben den eigentlichen Befehl ganz einfach per Pipe &#8222;|&#8220; an lolcat weiter. Nehmen wir beispielsweise den Befehl:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>top<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">(der Taskmanager am Terminal):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>top | lolcat<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/lolcat-1-1024x576.jpg\" alt=\"\" class=\"wp-image-389\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/lolcat-1-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/lolcat-1-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/lolcat-1-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/lolcat-1-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/lolcat-1.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Um sich eine Textdatei mittels lolcat anzeigen zu lassen, gen\u00fcgt der einfache Befehl (etwa f\u00fcr die .bashrc):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>lolcat .bashrc<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/lolcat-2-1024x576.jpg\" alt=\"\" class=\"wp-image-390\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/lolcat-2-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/lolcat-2-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/lolcat-2-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/lolcat-2-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/lolcat-2.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\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=\"387\" 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=\"387\" 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>Das Terminal unter Linux gl\u00e4nzt ja nicht unbedingt farbenfroh &#8211; hier k\u00f6nnte die Software lolcat nachhelfen. lolcat installieren Unter auf Debian basierenden Linux-Distributionen installieren Sie diese Software wie \u00fcblich ganz einfach \u00fcber die Paket-Verwaltung durch das Paket &#8222;lolcat&#8222;. lolcat nutzen Einen ersten Blick auf die Software bringt der Befehl: Hiermit zeigt sich die kurze Hilfe: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":389,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[12,7,6],"class_list":["post-387","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-terminal","tag-kommandozeile","tag-shell","tag-terminal"],"_links":{"self":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/387","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=387"}],"version-history":[{"count":1,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/387\/revisions"}],"predecessor-version":[{"id":391,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/387\/revisions\/391"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media\/389"}],"wp:attachment":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media?parent=387"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/categories?post=387"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/tags?post=387"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}