{"id":351,"date":"2023-09-02T11:52:05","date_gmt":"2023-09-02T09:52:05","guid":{"rendered":"https:\/\/linux-bibel.at\/?p=351"},"modified":"2023-09-02T11:52:06","modified_gmt":"2023-09-02T09:52:06","slug":"manpages-am-terminal-unter-linux-einfaerben","status":"publish","type":"post","link":"https:\/\/linux-bibel.at\/index.php\/2023\/09\/02\/manpages-am-terminal-unter-linux-einfaerben\/","title":{"rendered":"Manpages am Terminal unter Linux einf\u00e4rben"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Manpages bieten\u00a0Hilfe zu Befehlen und mehr\u00a0am\u00a0Terminal\u00a0unter Linux. Sie sehen jedoch recht eint\u00f6nig aus &#8211; hier ein Beispiel:<\/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\/man-1024x576.jpg\" alt=\"\" class=\"wp-image-352\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/man-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/man-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/man-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/man-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/man.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Etwas mehr Farbe und so bessere \u00dcbersicht schafft man, indem man die Manpages einf\u00e4rbt. Hierzu \u00f6ffnet man die Konfiguration der Bash (<strong><em>.bashrc<\/em><\/strong>) oder\u00a0Zsh\u00a0(<strong><em>.zshrc<\/em><\/strong>) in seinem Home-Verzeichnis und f\u00fcgt folgende neue Zeilen ein:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>export LESS_TERMCAP_mb=$'\\e&#91;1;32m'\nexport LESS_TERMCAP_md=$'\\e&#91;1;32m'\nexport LESS_TERMCAP_me=$'\\e&#91;0m'\nexport LESS_TERMCAP_se=$'\\e&#91;0m'\nexport LESS_TERMCAP_so=$'\\e&#91;01;33m'\nexport LESS_TERMCAP_ue=$'\\e&#91;0m'\nexport LESS_TERMCAP_us=$'\\e&#91;1;4;31m'<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Nutzen Sie als Desktop-Umgebung GNOME f\u00fcgen Sie noch folgende Zeile hinzu:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>export GROFF_NO_SGR=1<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Nun starten Sie das Terminal neu oder laden die Einstellungen mit:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>source ~\/.bashrc\nsource ~\/.zshrc<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">neu:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/man-1-1024x576.jpg\" alt=\"\" class=\"wp-image-353\" style=\"width:700px;height:394px\" width=\"700\" height=\"394\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/man-1-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/man-1-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/man-1-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/man-1-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/man-1.jpg 1920w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/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=\"351\" 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\">2    <\/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=\"351\" 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>Manpages bieten\u00a0Hilfe zu Befehlen und mehr\u00a0am\u00a0Terminal\u00a0unter Linux. Sie sehen jedoch recht eint\u00f6nig aus &#8211; hier ein Beispiel: Etwas mehr Farbe und so bessere \u00dcbersicht schafft man, indem man die Manpages einf\u00e4rbt. Hierzu \u00f6ffnet man die Konfiguration der Bash (.bashrc) oder\u00a0Zsh\u00a0(.zshrc) in seinem Home-Verzeichnis und f\u00fcgt folgende neue Zeilen ein: Nutzen Sie als Desktop-Umgebung GNOME f\u00fcgen [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":353,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[12,7,6],"class_list":["post-351","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\/351","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=351"}],"version-history":[{"count":1,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/351\/revisions"}],"predecessor-version":[{"id":354,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/351\/revisions\/354"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media\/353"}],"wp:attachment":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media?parent=351"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/categories?post=351"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/tags?post=351"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}