{"id":14032,"date":"2024-02-02T21:42:48","date_gmt":"2024-02-02T20:42:48","guid":{"rendered":"https:\/\/linux-bibel.at\/?p=14032"},"modified":"2024-02-02T21:42:49","modified_gmt":"2024-02-02T20:42:49","slug":"generic-colourizer-mehr-farbe-fuer-das-linux-terminal","status":"publish","type":"post","link":"https:\/\/linux-bibel.at\/index.php\/2024\/02\/02\/generic-colourizer-mehr-farbe-fuer-das-linux-terminal\/","title":{"rendered":"Generic Colourizer &#8211; mehr Farbe f\u00fcr das Linux-Terminal"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Mit der Software Generic Colourizer bringen Sie mehr Farbe unter Linux auf das Terminal &#8211; schnell und Einfach gesagt &#8211; Sie erhalten mehr \u00dcbersicht.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Generic Colourizer 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>grc<\/strong>&#8220; &#8211; auf dem Terminal als root:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>apt update\napt install grc<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Sollte die genutzte Distribution das Paket nicht in seinen Repositorys f\u00fchren, finden Sie die Software auch auf <a href=\"https:\/\/github.com\/garabik\/grc\" target=\"_blank\" rel=\"noreferrer noopener\">GitHub<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Generic Colourizer nutzen<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Die Software l\u00e4sst sich mit so ziemlich jedem Befehl kombinieren &#8211; f\u00fcr die Software nutzen Sie den Befehl <code>grc<\/code>. Nehmen wir beispielsweise den Befehl:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ls -lh<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/grc.jpeg\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"596\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/grc-1024x596.jpeg\" alt=\"\" class=\"wp-image-14033\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/grc-1024x596.jpeg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/grc-1536x894.jpeg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/grc-2048x1192.jpeg 2048w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/grc-150x87.jpeg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/grc-300x175.jpeg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/grc-768x447.jpeg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Im Beispiel oben wird der Befehl mit der Z-Shell ausgef\u00fchrt, je nach Distribution wird schon ein wenig Farbe mit ausgegeben oder auch nicht. Generic Colourizer passt die Ausgabe f\u00fcr jeden Befehl etwas an &#8211; nehmen wir denselben Befehl wie oben &#8211; jetzt jedoch mit Generic Colourizer:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>grc ls -lh<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/grc-1.jpeg\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"596\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/grc-1-1024x596.jpeg\" alt=\"\" class=\"wp-image-14034\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/grc-1-1024x596.jpeg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/grc-1-1536x894.jpeg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/grc-1-2048x1192.jpeg 2048w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/grc-1-150x87.jpeg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/grc-1-300x175.jpeg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/grc-1-768x447.jpeg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Sehen wir uns ein weiteres Beispiel an:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ip a\ngrc ip a<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/grc-2-scaled.jpeg\" rel=\"lightbox-2\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/grc-2-1024x640.jpeg\" alt=\"\" class=\"wp-image-14035\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/grc-2-1024x640.jpeg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/grc-2-1536x960.jpeg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/grc-2-2048x1280.jpeg 2048w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/grc-2-150x94.jpeg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/grc-2-300x188.jpeg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/grc-2-768x480.jpeg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Oder:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>netstat\ngrc netstat<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/grc-3-scaled.jpeg\" rel=\"lightbox-3\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/grc-3-1024x640.jpeg\" alt=\"\" class=\"wp-image-14036\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/grc-3-1024x640.jpeg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/grc-3-1536x960.jpeg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/grc-3-2048x1280.jpeg 2048w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/grc-3-150x94.jpeg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/grc-3-300x188.jpeg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/grc-3-768x480.jpeg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Oder auch:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ps aux\ngrc ps aux<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/grc-4-scaled.jpeg\" rel=\"lightbox-4\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/grc-4-1024x640.jpeg\" alt=\"\" class=\"wp-image-14037\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/grc-4-1024x640.jpeg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/grc-4-1536x960.jpeg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/grc-4-2048x1280.jpeg 2048w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/grc-4-150x94.jpeg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/grc-4-300x188.jpeg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/02\/grc-4-768x480.jpeg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Die farbig besser \u00fcbersichtliche Ausgabe funktioniert mit so einigen Befehlen, einfach probieren. Funktioniert Generic Colourizer mit einem Befehl nicht, sehen Sie einfach keinen Unterschied.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">M\u00f6chten Sie Generic Colourizer automatisch nutzen, ohne den Befehl <code>grc<\/code> immer anzugeben, schreiben Sie folgenden Konfiguration in die Konfigurationsdatei der jeweiligen Shell:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Bash:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>GRC_ALIASES=true<br>&#91;&#91; -s \"\/etc\/profile.d\/grc.sh\" ]] &amp;&amp; source \/etc\/grc.sh<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Zsh:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;&#91; -s \"\/etc\/grc.zsh\" ]] &amp;&amp; source \/etc\/grc.zsh<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Mehr zu Generic Colourizer am Link oben.<\/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=\"14032\" 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\">5    <\/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=\"14032\" 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>Mit der Software Generic Colourizer bringen Sie mehr Farbe unter Linux auf das Terminal &#8211; schnell und Einfach gesagt &#8211; Sie erhalten mehr \u00dcbersicht. Generic Colourizer installieren Unter auf Debian basierenden Linux-Distributionen installieren Sie diese Software wie \u00fcblich ganz einfach \u00fcber die Paket-Verwaltung durch das Paket &#8222;grc&#8220; &#8211; auf dem Terminal als root: Sollte die [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":14037,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[12,7,6],"class_list":["post-14032","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\/14032","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=14032"}],"version-history":[{"count":1,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/14032\/revisions"}],"predecessor-version":[{"id":14038,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/14032\/revisions\/14038"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media\/14037"}],"wp:attachment":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media?parent=14032"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/categories?post=14032"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/tags?post=14032"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}