{"id":17074,"date":"2024-11-14T14:39:30","date_gmt":"2024-11-14T13:39:30","guid":{"rendered":"https:\/\/linux-bibel.at\/?p=17074"},"modified":"2024-11-14T14:48:25","modified_gmt":"2024-11-14T13:48:25","slug":"keine-angst-vor-dem-terminal","status":"publish","type":"post","link":"https:\/\/linux-bibel.at\/index.php\/2024\/11\/14\/keine-angst-vor-dem-terminal\/","title":{"rendered":"Keine &#8222;Angst&#8220; vor dem Terminal"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Eines vorab &#8211; die meisten modernen Linux-Distributionen bieten dem User &#8211; je nach Desktop-Umgebung &#8211; eine Bedienung \u00e4hnlich der von Windows gewohnt. D. h. viele system-relevante Aufgaben k\u00f6nnen mit Hilfe von grafischen Tools erledigt werden.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Das <strong>Terminal<\/strong>, auch Kommandozeile oder Shell genannt, ist ein textbasiertes Interface, \u00fcber das Benutzer direkt mit dem Linux-Betriebssystem kommunizieren k\u00f6nnen. Es erm\u00f6glicht die Eingabe von Befehlen, um Aufgaben auszuf\u00fchren und das System zu steuern.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/terminal_3.png\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" width=\"980\" height=\"604\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/terminal_3.png\" alt=\"\" class=\"wp-image-17082\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/terminal_3.png 980w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/terminal_3-150x92.png 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/terminal_3-300x185.png 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/terminal_3-768x473.png 768w\" sizes=\"auto, (max-width: 980px) 100vw, 980px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Das Terminal mag anfangs einsch\u00fcchternd wirken, aber mit etwas \u00dcbung wird es zu einem universellen Werkzeug f\u00fcr Linux-Benutzer.<\/p>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Vorteile des Terminals<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Effizienz:<\/strong> Viele Aufgaben lassen sich schneller per Befehl als \u00fcber die grafische Oberfl\u00e4che erledigen.<br><strong>Automatisierung:<\/strong> Befehle k\u00f6nnen in Skripten kombiniert werden, um komplexe Aufgaben zu automatisieren.<br><strong>Ressourcenschonung:<\/strong> Das Terminal verbraucht weniger Systemressourcen als grafische Oberfl\u00e4chen.<br><strong>Fernzugriff:<\/strong> Erm\u00f6glicht die Verwaltung von entfernten Systemen \u00fcber SSH.<br><strong>Pr\u00e4zise Kontrolle:<\/strong> Bietet detaillierte Steuerungsm\u00f6glichkeiten f\u00fcr Systemeinstellungen und -prozesse.<br><strong>Lerneffekt:<\/strong> Die Arbeit im Terminal f\u00f6rdert das Verst\u00e4ndnis f\u00fcr die Funktionsweise des Betriebssystems.<\/p>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Grundlegende Konzepte<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Befehle:<\/strong> Programme oder integrierte Shell-Funktionen, die bestimmte Aktionen ausf\u00fchren<br><strong>Argumente:<\/strong> Zus\u00e4tzliche Informationen, die an Befehle \u00fcbergeben werden<br><strong>Flags\/Optionen:<\/strong> Modifikatoren, die das Verhalten von Befehlen anpassen<br><strong>Arbeitsverzeichnis:<\/strong> Der aktuelle Ordner, in dem Befehle ausgef\u00fchrt werden<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Hier ist ein einfaches Beispiel, das die Konzepte von Befehlen, Argumenten, Flags\/Optionen und dem Arbeitsverzeichnis im Linux-Terminal veranschaulicht:<\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code><strong>ls -l \/home\/user\/Dokumente<\/strong><\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/terminal_04-1.png\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"498\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/terminal_04-1-1024x498.png\" alt=\"\" class=\"wp-image-17085\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/terminal_04-1-1024x498.png 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/terminal_04-1-150x73.png 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/terminal_04-1-300x146.png 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/terminal_04-1-768x374.png 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/terminal_04-1.png 1060w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Lassen Sie uns dieses Beispiel aufschl\u00fcsseln:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Befehl:   ls<\/strong><br>Dies ist der grundlegende Befehl zum Auflisten von Verzeichnisinhalten.<br><strong>Flag\/Option:   -l<\/strong><br>Dies ist eine Option, die dem Befehl ls mitteilt, eine detaillierte (&#8222;long&#8220;) Auflistung zu erzeugen. Sie zeigt zus\u00e4tzliche Informationen wie Berechtigungen, Besitzer, Gr\u00f6\u00dfe und Datum der letzten \u00c4nderung an.<br><strong>Argument:   \/home\/user\/Dokumente<\/strong><br>Dies ist das Argument, das dem Befehl mitteilt, welches Verzeichnis aufgelistet werden soll. In diesem Fall ist es ein absoluter Pfad zum Documents-Ordner eines Benutzers.<br><strong>Arbeitsverzeichnis:<\/strong><br>Obwohl es in diesem Befehl nicht explizit sichtbar ist, spielt das Arbeitsverzeichnis eine Rolle. Wenn Sie stattdessen nur ls -l ohne ein spezifisches Verzeichnis eingeben w\u00fcrden, w\u00fcrde der Befehl die Inhalte des aktuellen Arbeitsverzeichnisses auflisten.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">F\u00fchren wir den Befehl mit Klick auf [Enter] aus&#8230;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/terminal_05.png\" rel=\"lightbox-2\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"330\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/terminal_05-1024x330.png\" alt=\"\" class=\"wp-image-17086\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/terminal_05-1024x330.png 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/terminal_05-150x48.png 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/terminal_05-300x97.png 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/terminal_05-768x248.png 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/terminal_05.png 1069w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Wir erhalten den aktuellen Inhalt &#8211; Dateien und Ordner &#8211; im Dokumente-Verzeichnis des Benutzers user aufgelistet.<br>Im Dateimanager w\u00fcrde das so aussehen:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/terminal_06.png\" rel=\"lightbox-3\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"656\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/terminal_06-1024x656.png\" alt=\"\" class=\"wp-image-17087\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/terminal_06-1024x656.png 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/terminal_06-150x96.png 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/terminal_06-300x192.png 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/terminal_06-768x492.png 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/terminal_06.png 1145w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>System aktualisieren &#8211; \u00fcber die grafische Softwareverwaltung<\/strong> <strong>und im Terminal <\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Viele Linux-Distributionen verf\u00fcgen \u00fcber eine grafische Software- und Aktualisierungsverwaltung oder diese kann nachinstalliert werden. Alle Funktionen, die \u00fcber grafische Tools ausgel\u00f6st werden, k\u00f6nnen auch im Terminal erledigt werden &#8211; und das zumeist wesentlich schneller.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Beispiel Software Center von Solus<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/terminal_08.png\" rel=\"lightbox-4\"><img loading=\"lazy\" decoding=\"async\" width=\"971\" height=\"716\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/terminal_08.png\" alt=\"\" class=\"wp-image-17089\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/terminal_08.png 971w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/terminal_08-150x111.png 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/terminal_08-300x221.png 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/terminal_08-768x566.png 768w\" sizes=\"auto, (max-width: 971px) 100vw, 971px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Analog dazu der Update-Aufruf im Terminal mit dem entsprechenden Befehl:<\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code><strong>sudo eopkg upgrade<\/strong><\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"727\" height=\"378\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/terminal_09-1.png\" alt=\"\" class=\"wp-image-17092\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/terminal_09-1.png 727w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/terminal_09-1-150x78.png 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/terminal_09-1-300x156.png 300w\" sizes=\"auto, (max-width: 727px) 100vw, 727px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Mit Klick auf [Enter] wird der Befehl ausgef\u00fchrt &#8211; nach vorheriger Passworteingabe&#8230;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"727\" height=\"377\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/terminal_10-1.png\" alt=\"\" class=\"wp-image-17093\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/terminal_10-1.png 727w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/terminal_10-1-150x78.png 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/terminal_10-1-300x156.png 300w\" sizes=\"auto, (max-width: 727px) 100vw, 727px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">wird der Befehl &#8211; also die Aktualisierung durchgef\u00fchrt&#8230;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/terminal_11.png\" rel=\"lightbox-5\"><img loading=\"lazy\" decoding=\"async\" width=\"729\" height=\"373\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/terminal_11.png\" alt=\"\" class=\"wp-image-17094\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/terminal_11.png 729w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/terminal_11-150x77.png 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/11\/terminal_11-300x153.png 300w\" sizes=\"auto, (max-width: 729px) 100vw, 729px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Abschlie\u00dfende Bemerkung<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Das soll nur eine kleine \u00dcbersicht aufzeigen. @robertgoedl hat zum Thema Terminal einen ausf\u00fchrlichen Beitrag unter dem Titel:  <a href=\"https:\/\/linux-bibel.at\/index.php\/2023\/11\/01\/einstieg-in-das-linux-terminal-erste-schritte\/\" data-type=\"link\" data-id=\"https:\/\/linux-bibel.at\/index.php\/2023\/11\/01\/einstieg-in-das-linux-terminal-erste-schritte\/\">Einstieg in das Linux-Terminal \u2013 erste Schritte<\/a> hier in der Linux-Bibel ver\u00f6ffentlicht &#8211; sehr empfehlenswert. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Wie bereits erw\u00e4hnt, Linux l\u00e4sst sich \u00fcberwiegend ohne Einsatz des Terminals oder auch Konsole nutzen. In bestimmten Situationen z.B. Abbruch oder Fehler w\u00e4hrend eines Aktualisierungsprozesses kann der Eingriff in das System mit Hilfe des Terminals jedoch notwendig werden.<\/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=\"17074\" 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\">9    <\/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=\"17074\" 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\">0<\/span>\r\n<\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Eines vorab &#8211; die meisten modernen Linux-Distributionen bieten dem User &#8211; je nach Desktop-Umgebung &#8211; eine Bedienung \u00e4hnlich der von Windows gewohnt. D. h. viele system-relevante Aufgaben k\u00f6nnen mit Hilfe von grafischen Tools erledigt werden. Das Terminal, auch Kommandozeile oder Shell genannt, ist ein textbasiertes Interface, \u00fcber das Benutzer direkt mit dem Linux-Betriebssystem kommunizieren k\u00f6nnen. [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":17075,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17,4],"tags":[278,1285,6],"class_list":["post-17074","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-system","category-terminal","tag-konsole","tag-linux-einstieg","tag-terminal"],"_links":{"self":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/17074","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\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/comments?post=17074"}],"version-history":[{"count":11,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/17074\/revisions"}],"predecessor-version":[{"id":17100,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/17074\/revisions\/17100"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media\/17075"}],"wp:attachment":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media?parent=17074"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/categories?post=17074"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/tags?post=17074"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}