{"id":370,"date":"2023-09-02T12:17:09","date_gmt":"2023-09-02T10:17:09","guid":{"rendered":"https:\/\/linux-bibel.at\/?p=370"},"modified":"2023-09-02T12:17:10","modified_gmt":"2023-09-02T10:17:10","slug":"exa-statt-ls-am-terminal-unter-linux-nutzen","status":"publish","type":"post","link":"https:\/\/linux-bibel.at\/index.php\/2023\/09\/02\/exa-statt-ls-am-terminal-unter-linux-nutzen\/","title":{"rendered":"exa statt ls am Terminal unter Linux nutzen"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Den Befehl\u00a0<strong><code>ls<\/code><\/strong>\u00a0kennt jeder, der sich unter Linux schon etwas mit dem\u00a0Terminal\u00a0befasst hat, er zeigt den Inhalt des aktuellen Verzeichnisses an:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ls<\/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\/exa-1024x576.jpg\" alt=\"\" class=\"wp-image-371\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/exa-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/exa-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/exa-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/exa-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/exa.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Recht neu unter Linux ist nun der Befehl&nbsp;<strong>exa<\/strong>, er ist um einiges farbenfroher und kann Ausgaben in vielen Arten formatieren.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">exa installieren<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Sie installieren diese Software unter auf Debian basierenden Linux-Distributionen ganz einfach \u00fcber die\u00a0Paket-Verwaltung\u00a0durch das Paket &#8222;<strong>exa<\/strong>&#8222;.<br>Findet sich die Software nicht in den Repositorys der genutzten Distribution, l\u00e4sst sich die Software auch \u00fcber das\u00a0Rust-Repository\u00a0installieren:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cargo install exa<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">exa nutzen<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Der grundlegende Befehl lautet ganz einfach:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>exa<\/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\/exa-1-1024x576.jpg\" alt=\"\" class=\"wp-image-372\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/exa-1-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/exa-1-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/exa-1-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/exa-1-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/exa-1.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Die Optionen des Befehls\u00a0<strong><code>exa<\/code><\/strong>\u00a0lauten ein wenig anders als die von\u00a0<strong><code>ls<\/code><\/strong>, sie zeigen sie unter anderem mit dem Befehl:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>exa --help<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Oder wie \u00fcblich auch auf der\u00a0Manpage\u00a0mit dem Befehl:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>man exa<\/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\/exa-2-1024x576.jpg\" alt=\"\" class=\"wp-image-373\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/exa-2-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/exa-2-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/exa-2-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/exa-2-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/exa-2.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">So zeigt:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>exa -lh<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">etwa Informationen \u00fcber Dateien, so wie etwa der Befehl:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ls -lh<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">mit verst\u00e4ndlichen Gr\u00f6\u00dfenangaben:<\/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\/exa-3-1024x576.jpg\" alt=\"\" class=\"wp-image-374\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/exa-3-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/exa-3-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/exa-3-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/exa-3-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/exa-3.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Auch mit\u00a0<strong>exa<\/strong>\u00a0lassen sich beliebig viele Kombinationen von Optionen nutzen, 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\/exa-4-1024x576.jpg\" alt=\"\" class=\"wp-image-375\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/exa-4-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/exa-4-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/exa-4-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/exa-4-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/exa-4.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=\"370\" 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\">1    <\/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=\"370\" 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>Den Befehl\u00a0ls\u00a0kennt jeder, der sich unter Linux schon etwas mit dem\u00a0Terminal\u00a0befasst hat, er zeigt den Inhalt des aktuellen Verzeichnisses an: Recht neu unter Linux ist nun der Befehl&nbsp;exa, er ist um einiges farbenfroher und kann Ausgaben in vielen Arten formatieren. exa installieren Sie installieren diese Software unter auf Debian basierenden Linux-Distributionen ganz einfach \u00fcber die\u00a0Paket-Verwaltung\u00a0durch [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":375,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[12,7,6],"class_list":["post-370","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\/370","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=370"}],"version-history":[{"count":1,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/370\/revisions"}],"predecessor-version":[{"id":376,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/370\/revisions\/376"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media\/375"}],"wp:attachment":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media?parent=370"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/categories?post=370"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/tags?post=370"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}