{"id":5310,"date":"2020-05-02T16:28:01","date_gmt":"2020-05-02T16:28:01","guid":{"rendered":"https:\/\/profi-tutorials.de\/linux\/?p=5310"},"modified":"2020-07-02T15:29:21","modified_gmt":"2020-07-02T15:29:21","slug":"befehl-diff","status":"publish","type":"post","link":"https:\/\/profi-tutorials.de\/linux\/grundlagen\/befehl-diff\/","title":{"rendered":"Der Befehl diff"},"content":{"rendered":"<p>Mit dem Standard &ndash; Befehl diff k&ouml;nnen Sie &uuml;ber die Kommandozeile eines Linux-Systems den Inhalt zweier Dateien oder auch Verzeichnisse vergleichen. diff gibt dann aus, worin sich der Inhalt der ersten Datei mit dem der zweiten Datei unterscheidet. Grunds&auml;tzlich werden die verglichenen Dateien von diff nicht ver&auml;ndert. Es ist Teil des Standard &ndash; Softwarepaketes GNU diffutils und ist somit in den meisten Linux-Distributionen bereits enthalten.<\/p>\n<h2 id=\"tab-con-3\">Installation<\/h2>\n<p><strong>diff <\/strong>ist Teil des Standard-Softwarepakets GNU diffutils und ist bei den meisten Linux-\/UNIX-Distributionen bereits installiert.<\/p>\n<h2 id=\"tab-con-1\">Syntax<\/h2>\n<p>Die allgemeine <a class=\"glossaryLink cmtt_Allgemein cmtt_Informatik\" aria-describedby=\"tt\" data-cmtooltip=\"&lt;div class=glossaryItemTitle&gt;Syntax&lt;\/div&gt;&lt;div class=glossaryItemBody&gt;&#8203;Im  Allgemeinen wird unter Syntax ein Regel&#8203;system verstanden, welches zur  Kombination elementarer Zeichen zu zusammengesetzten &#8203;Zeichen in (...)&lt;\/div&gt;\" href=\"https:\/\/profi-tutorials.de\/linux\/glossar\/syntax\/\" target=\"_blank\" data-mobile-support=\"0\" data-gt-translate-attributes='[{\"attribute\":\"data-cmtooltip\", \"format\":\"html\"}]' tabindex=\"0\" role=\"link\">Syntax<\/a> des Befehls <strong>diff <\/strong>lautet wie folgt:<\/p>\n<pre>diff [Optionen] Datei1 Datei2<\/pre>\n<p>Dabei ist es wichtig zu verstehen, wie <strong>diff <\/strong>die angegebenen Dateien vergleicht und was es mit der Ausgabe meint. <strong>diff <\/strong>gibt die Unterschiede so an, wie Sie den Inhalt der ersten Datei modifizieren m&uuml;ssen, damit er identisch mit dem Inhalt der zweiten Datei ist.<\/p>\n<h2 id=\"t-1588436616833\">Beispiele<\/h2>\n<p>Im folgenden Beispiel werden zwei einfache Text-Dateien &ldquo;befehl-diff1.txt&rdquo; und &ldquo;befehl-diff2.txt&rdquo; mit <strong>diff <\/strong>ohne zus&auml;tzliche Optionen<strong>&nbsp;<\/strong>verglichen. <strong>diff <\/strong>zeigt uns in seiner Ausgabe dann, welche Zeilen aus der ersten Datei ge&auml;ndert werden m&uuml;ssen, damit sie mit denen aus der zweiten Datei gleicht:<\/p>\n<h5>Inhalt der Datei &ldquo;befehl-diff1.txt&rdquo;<\/h5>\n<p>Ich lerne Linux&hellip;&hellip;auf profi-tutorials&hellip;&hellip;weil es spass macht.<\/p>\n<h5>Inhalt der Datei &ldquo;befehl-diff2.txt&rdquo;<\/h5>\n<p>Wir lernen Linux&hellip;&hellip;auf Profi-Tutorials&hellip;&hellip;weil es Spa&szlig; macht.<\/p>\n<h5>Beispiel &ndash; diff (change)<\/h5>\n<h6>Eingabe:<\/h6>\n<p>diff befehl-diff1.txt befehl-diff2.txt<\/p>\n<h6>Ausgabe:<\/h6>\n<p><strong>1,4c1,3<\/strong><strong>&lt;<\/strong> Ich lerne Linux&hellip;<strong>&lt;<\/strong> &hellip;auf profi-tutorials&hellip;<strong>&lt;<\/strong> &hellip;weil es spass macht.<strong>&lt; <\/strong>&mdash;<strong>&gt;<\/strong> Wir lernen Linux&hellip;<strong>&gt;<\/strong> &hellip;auf Profi-Tutorials&hellip;<strong>&gt;<\/strong> &hellip;weil es Spa&szlig; macht.<\/p>\n<p>In der Ausgabe gibt <strong>diff <\/strong>in der ersten Zeile an, wie die erste Datei &ldquo;befehl-diff1.txt&rdquo; inhaltlich ge&auml;ndert werden muss, damit sie dem Inhalt der zweiten Datei &ldquo;befehl-diff2.txt&rdquo; gleicht und listet ab Zeile zwei der Ausgabe alle weiteren nicht &uuml;bereinstimmenden Zeilen der beiden Dateien auf.<\/p>\n<p>In diesem Beispiel bedeutet die erste Zeile &ldquo;1,4c1,3&rdquo; folgendes:<\/p>\n<p>Die Zeilen <strong>1<\/strong> bis (<strong>,<\/strong>) <strong>4 <\/strong>in der ersten Datei (<strong>&lt;<\/strong>) m&uuml;ssen ge&auml;ndert werden (<strong>c<\/strong>hange), damit die Zeilen <strong>1<\/strong> bis (<strong>,<\/strong>) <strong>3<\/strong> der zweiten Datei (<strong>&gt;<\/strong>) &uuml;bereinstimmen.<\/p>\n<p>Die weiteren Zeilen der Ausgabe verdeutlichen die Zeilen aus der ersten Datei, die NICHT mit den Zeilen aus der zweiten Datei &uuml;bereinstimmen. Dabei bedeutet das &ldquo;<strong>&lt;<\/strong>&rdquo; am Anfang der Zeilen, dass diese aus der ersten Datei stammen und das &ldquo;<strong>&gt;<\/strong>&rdquo; am Anfang der Zeilen, dass diese aus der zweiten Datei sind.<\/p>\n<p>Die Zeichenfolge &ldquo;<strong>&mdash;<\/strong>&rdquo; der Ausgabe des Beispiels besagt, dass der Inhalt der ersten Datei nun zu Ende ist und alle weiteren Zeilen aus der zweiten Datei sind.<\/p>\n<p>Damit der Inhalt der ersten Datei &ldquo;befehl-diff1.txt&rdquo; nun dem Inhalt der zweiten Datei &ldquo;befehl-diff2.txt&rdquo; gleicht, m&uuml;ssen wir folgendes in der ersten Datei &auml;ndern:<\/p>\n<p>Zeile 1: &ldquo;<strong>Ich<\/strong>&rdquo; muss zu &ldquo;<strong>Wir<\/strong>&rdquo; und &ldquo;lerne&rdquo; zu &ldquo;lerne<strong>n<\/strong>&rdquo; ge&auml;ndert werden.<\/p>\n<p>Zeile 2: &ldquo;<strong>p<\/strong>rofi-<strong>t<\/strong>utorials&rdquo; muss zu &ldquo;<strong>P<\/strong>rofi-<strong>T<\/strong>utorials&rdquo; ge&auml;ndert werden.<\/p>\n<p>Zeile 3: &ldquo;<strong>s<\/strong>pa<strong>ss<\/strong>&rdquo; muss zu &ldquo;<strong>S<\/strong>pa<strong>&szlig;<\/strong>&rdquo; ge&auml;ndert werden.<\/p>\n<p>Zeile 4: Diese Leerzeile muss entfernt werden.<\/p>\n<p>In einem weiteren Beispiel werden wieder zwei Text-Dateien &ldquo;befehl-diff3.txt&rdquo; und &ldquo;befehl-diff4.txt&rdquo; mit <strong>diff <\/strong>verglichen, aber dieses Mal fehlt in der ersten Datei eine Zeile, ansonsten sind die Inhalte identisch:<\/p>\n<h5>Inhalt der Datei &ldquo;befehl-diff3.txt&rdquo;<\/h5>\n<p>Wir lernen Linux&hellip;&hellip;weil es Spa&szlig; macht.<\/p>\n<h5>Inhalt der Datei &ldquo;befehl-diff4.txt&rdquo;<\/h5>\n<p>Wir lernen Linux&hellip;&hellip;auf Profi-Tutorials&hellip;&hellip;weil es Spa&szlig; macht.<\/p>\n<h5>Beispiel2 &ndash; diff (add)<\/h5>\n<h6>Eingabe:<\/h6>\n<p>diff befehl-diff3.txt befehl-diff4.txt<\/p>\n<h6>Ausgabe:<\/h6>\n<p>1a2&gt; &hellip;auf Profi-Tutorials&hellip;<\/p>\n<p>Hier gibt <strong>diff <\/strong>in der ersten Zeile mit &ldquo;<strong>1a2<\/strong>&rdquo; seiner Ausgabe an, dass <strong>NACH<\/strong> der ersten (<strong>1<\/strong>) Zeile der ersten Datei die zweite (<strong>2<\/strong>) Zeile aus der zweiten Datei hinzugef&uuml;gt (<strong>a<\/strong>dd) werden muss, damit die Inhalte beider Dateien identisch sind. Anschlie&szlig;end wird die Zeile der zweiten Datei (<strong>&gt;<\/strong>) ausgegeben, die hinzugef&uuml;gt werden muss.<\/p>\n<p>Weiterhin kann <strong>diff <\/strong>auch die Inhalte zweier Verzeichnisse miteinander vergleichen. Dabei listet <strong>diff <\/strong>in seiner Ausgabe wie &uuml;blich nur die Unterschiede auf. Dies zeigen wir im folgenden Beispiel. Verglichen werden dabei die beiden Verzeichnisse &ldquo;diff-verzeichnis1&rdquo; und &ldquo;diff-verzeichnis2&rdquo;:<\/p>\n<h5>Inhalt des Verzeichnisses &ldquo;diff-verzeichnis1&rdquo;<\/h5>\n<p>-rw-r&ndash;r&ndash; 1 <a class=\"glossaryLink cmtt_Informatik\" aria-describedby=\"tt\" data-cmtooltip=\"&lt;div class=glossaryItemTitle&gt;Root-Benutzer&lt;\/div&gt;&lt;div class=glossaryItemBody&gt;Der Root-Benutzer ist der m&auml;chtigste Benutzer-Account auf Linux-Systemen.&lt;\/div&gt;\" href=\"https:\/\/profi-tutorials.de\/linux\/glossar\/root-benutzer\/\" target=\"_blank\" data-mobile-support=\"0\" data-gt-translate-attributes='[{\"attribute\":\"data-cmtooltip\", \"format\":\"html\"}]' tabindex=\"0\" role=\"link\">root<\/a> root 0 Mai 1 19:50 profi.txt<\/p>\n<h5>Inhalt des Verzeichnisses &ldquo;diff-verzeichnis2&rdquo;<\/h5>\n<p>-rw-r&ndash;r&ndash; 1 root root 0 Mai 1 19:50 profi.txt-rw-r&ndash;r&ndash; 1 root root 0 Mai 1 19:50 tutorials.txt<\/p>\n<h5>Beispiel &ndash; diff (Verzeichnisse)<\/h5>\n<h6>Eingabe:<\/h6>\n<p>diff diff-verzeichnis1 diff-verzeichnis2<\/p>\n<h6>Ausgabe:<\/h6>\n<p>Nur in diff-verzeichnis2: tutorials.txt.<\/p>\n<h2 id=\"t-1588436616834\">Die wichtigsten Optionen<\/h2>\n<p><strong>diff <\/strong>kann auch mit zus&auml;tzlichen Optionen aufgerufen werden. Im Folgenden werden einige beschrieben.<\/p>\n<h4>&ndash;help (Hilfe)<\/h4>\n<p>Mit der&nbsp;<strong>Option &ndash;help<\/strong> k&ouml;nnen Sie sich die Hilfe von <strong>diff<\/strong><strong>&nbsp;<\/strong>ausgeben lassen.<\/p>\n<pre>diff --help<\/pre>\n<h4>-q &ndash; Quick<\/h4>\n<p><strong>-q<\/strong> (<strong>q<\/strong>uick) k&ouml;nnen Sie verwenden, wenn Sie einfach schnell wissen m&ouml;chten, ob sich die Inhalte zweier Dateien &uuml;berhaupt voneinander unterscheiden.&nbsp;Die Ausgabe von&nbsp;<strong>diff<\/strong> bleibt leer, wenn keine inhaltlichen Unterschiede vorhanden sind, andernfalls wird ausgegeben, dass sie sich unterscheiden:<\/p>\n<h5>Beispiel -q<\/h5>\n<h6>Eingabe:<\/h6>\n<p>diff -q befehl-diff1.txt befehl-diff2.txt<\/p>\n<h6>Ausgabe:<\/h6>\n<p>Dateien befehl-diff1.txt und befehl-diff2.txt sind verschieden.<\/p>\n<h4>-s &ndash; Same<\/h4>\n<p>Mit <strong>-s<\/strong> (<strong>s<\/strong>ame) gibt <strong>diff<\/strong> zus&auml;tzlich aus, wenn die beiden angegebenen Dateien inhaltlich identisch sind:<\/p>\n<h5>Beispiel -s<\/h5>\n<h6>Eingabe:<\/h6>\n<p>diff -s befehl-diff2.txt befehl-diff4.txt<\/p>\n<h6>Ausgabe:<\/h6>\n<p>Dateien befehl-diff2.txt und befehl-diff4.txt sind identisch.<\/p>\n<h4>-y<\/h4>\n<p><strong>diff<\/strong> gibt mit der Option<strong> -y<\/strong> (side by side) die Inhalte der beiden Dateien in zwei Spalten aus und markiert die Zeilen, die unterschiedlich sind:<\/p>\n<h5>Beispiel 1 -y<\/h5>\n<h6>Eingabe:<\/h6>\n<p>diff -y befehl-diff1.txt befehl-diff2.txt<\/p>\n<h6>Ausgabe:<\/h6>\n<p>Ich lerne Linux&hellip;&nbsp; &nbsp; &nbsp; &nbsp; |Wir lernen Linux&hellip;&hellip;auf profi-tutorials&hellip; |&hellip;auf Profi-Tutorials&hellip;&hellip;weil es spass macht.&nbsp; &nbsp;|&hellip;weil es Spa&szlig; macht.&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;<\/p>\n<p>Die erste Spalte beinhaltet die Zeilen aus der ersten Datei &ldquo;befehl-diff1.txt&rdquo; und die zweite Spalte die Zeilen aus der zweiten Datei &ldquo;befehl-diff2.txt&rdquo;.<\/p>\n<p>Das Zeichen &ldquo;<strong>|<\/strong>&rdquo; bedeutet, dass die beiden Zeilen sich inhaltlich unterscheiden.<\/p>\n<p>Das Zeichen &ldquo;<strong>&lt;<\/strong>&rdquo; bedeutet, dass diese Zeile der ersten Datei in der zweiten Datei nicht vorkommt.<\/p>\n<h5>Beispiel 2 -y<\/h5>\n<h6>Eingabe:<\/h6>\n<p>diff -y befehl-diff3.txt befehl-diff4.txt<\/p>\n<h6>Ausgabe:<\/h6>\n<p>Wir lernen Linux&hellip;&nbsp; &nbsp; &nbsp; &nbsp; Wir lernen Linux&hellip;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &gt;&hellip;auf Profi-Tutorials&hellip;&hellip;weil es Spa&szlig; macht.&nbsp; &nbsp; &nbsp;&hellip;weil es Spa&szlig; macht.<\/p>\n<p>Das Zeichen &ldquo;<strong>&gt;<\/strong>&rdquo; bedeutet, dass in der ersten Datei &ldquo;befehl-diff3.txt&rdquo; die Zeile aus der zweiten Datei &ldquo;befehl-diff4.txt&rdquo; fehlt.<\/p>\n<p><strong>diff<\/strong> hat noch weitere Optionen, unter Anderem die Option <strong>-e<\/strong> (<strong>e<\/strong>d-Script), womit Sie ein ed-Skript erstellen k&ouml;nnen. Dieses Skript kann dann mit einem Editor wie &ldquo;ed&rdquo; oder &ldquo;ex&rdquo; genutzt werden, um den Inhalt der ersten Datei so zu &auml;ndern, dass er mit dem Inhalt der zweiten Datei &uuml;bereinstimmt.<\/p>\n<p style=\"text-align: center;\">Abonniere JETZT unseren Newsletter!<\/p>\n<p style=\"text-align: center;\">Verpasse nie wieder <strong>neue<\/strong> Beitr&auml;ge und <strong>exklusive Insider-Only-Inhalte!<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Mit dem Standard &#8211; Befehl diff k\u00f6nnen Sie \u00fcber die Kommandozeile eines Linux-Systems den Inhalt zweier Dateien oder auch Verzeichnisse vergleichen. diff gibt dann aus, worin sich der Inhalt der ersten Datei mit dem der zweiten Datei unterscheidet. Grunds\u00e4tzlich werden die verglichenen Dateien von diff nicht ver\u00e4ndert. Es ist Teil des Standard &#8211; Softwarepaketes GNU [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":6003,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","tve_updated_post":"<div class=\"thrv_wrapper thrv_text_element\"><p>Mit dem Standard - Befehl diff k\u00f6nnen Sie \u00fcber die Kommandozeile eines Linux-Systems den Inhalt zweier Dateien oder auch Verzeichnisse vergleichen. diff gibt dann aus, worin sich der Inhalt der ersten Datei mit dem der zweiten Datei unterscheidet. Grunds\u00e4tzlich werden die verglichenen Dateien von diff nicht ver\u00e4ndert. Es ist Teil des Standard - Softwarepaketes GNU diffutils und ist somit in den meisten Linux-Distributionen bereits enthalten.<\/p><\/div><div class=\"thrv_wrapper thrv_contents_table\" data-columns=\"2\" data-headers=\"h2,h3\">\n\t<div class=\"tve_contents_table\">\n\t\t<span class=\"tve_ct_title\" style=\"\" data-css=\"tve-u-171a6c7102e\">Inhaltsverzeichnis<\/span>\n\t\t<div class=\"tve_ct_content tve_clearfix\"><div class=\"ct_column\"><div class=\"tve_ct_level0\"><a href=\"#tab-con-3\" rel=\"nofollow\">Installation<\/a><\/div><div class=\"tve_ct_level0\"><a href=\"#tab-con-1\" rel=\"nofollow\">Syntax<\/a><\/div><\/div><div class=\"ct_column\"><div class=\"tve_ct_level0\"><a href=\"#t-1588436616833\" rel=\"nofollow\">Beispiele<\/a><\/div><div class=\"tve_ct_level0\"><a href=\"#t-1588436616834\" rel=\"nofollow\">Die wichtigsten Optionen<\/a><\/div><\/div><\/div>\n\t<\/div>\n<\/div><div class=\"thrv_wrapper thrv_text_element\"><h2 class=\"\" id=\"tab-con-3\">Installation<\/h2><p><strong>diff <\/strong>ist Teil des Standard-Softwarepakets GNU diffutils und ist bei den meisten Linux-\/UNIX-Distributionen bereits installiert.<\/p><h2 class=\"\" id=\"tab-con-1\">Syntax<\/h2><p>Die allgemeine Syntax des Befehls <strong>diff <\/strong>lautet wie folgt:<\/p><p>[code]diff [Optionen] Datei1 Datei2[\/code]<\/p><p>Dabei ist es wichtig zu verstehen, wie <strong>diff <\/strong>die angegebenen Dateien vergleicht und was es mit der Ausgabe meint. <strong>diff <\/strong>gibt die Unterschiede so an, wie Sie den Inhalt der ersten Datei modifizieren m\u00fcssen, damit er identisch mit dem Inhalt der zweiten Datei ist.<\/p><h2 class=\"\" id=\"t-1588436616833\">Beispiele<\/h2><p>Im folgenden Beispiel werden zwei einfache Text-Dateien \"befehl-diff1.txt\" und \"befehl-diff2.txt\" mit <strong>diff <\/strong>ohne zus\u00e4tzliche Optionen<strong>&nbsp;<\/strong>verglichen. <strong>diff <\/strong>zeigt uns in seiner Ausgabe dann, welche Zeilen aus der ersten Datei ge\u00e4ndert werden m\u00fcssen, damit sie mit denen aus der zweiten Datei gleicht:<\/p><\/div><div class=\"thrv_wrapper thrv_contentbox_shortcode thrv-content-box tve-elem-default-pad\">\n\t<div class=\"tve-content-box-background\" style=\"\" data-css=\"tve-u-171d150971b\"><\/div>\n\t<div class=\"tve-cb\"><div class=\"thrv_wrapper thrv_text_element\" data-css=\"tve-u-171d150971a\" style=\"\"><h5 class=\"\" data-css=\"tve-u-171d1509719\">Inhalt der Datei \"befehl-diff1.txt\"<\/h5><\/div><div class=\"thrv_wrapper thrv-divider\" data-style-d=\"tve_sep-1\" data-thickness-d=\"2\" data-color-d=\"rgb(66, 66, 66)\" data-css=\"tve-u-171d150971c\" style=\"\">\n\t<hr class=\"tve_sep tve_sep-1\" style=\"\">\n<\/div><div class=\"thrv_wrapper thrv_text_element\" style=\"\" data-css=\"tve-u-171d150971e\"><p data-css=\"tve-u-171d150971d\">Ich lerne Linux...<br>...auf profi-tutorials...<br>...weil es spass macht.<\/p><p data-css=\"tve-u-171d150971d\"><br><\/p><\/div><\/div>\n<\/div><div class=\"thrv_wrapper thrv_contentbox_shortcode thrv-content-box tve-elem-default-pad\">\n\t<div class=\"tve-content-box-background\" style=\"\" data-css=\"tve-u-171d150971b\"><\/div>\n\t<div class=\"tve-cb\"><div class=\"thrv_wrapper thrv_text_element\" data-css=\"tve-u-171d150971a\" style=\"\"><h5 class=\"\" data-css=\"tve-u-171d1509719\">Inhalt der Datei \"befehl-diff2.txt\"<\/h5><\/div><div class=\"thrv_wrapper thrv-divider\" data-style-d=\"tve_sep-1\" data-thickness-d=\"2\" data-color-d=\"rgb(66, 66, 66)\" data-css=\"tve-u-171d150971c\" style=\"\">\n\t<hr class=\"tve_sep tve_sep-1\" style=\"\">\n<\/div><div class=\"thrv_wrapper thrv_text_element\" style=\"\" data-css=\"tve-u-171d150971e\"><p data-css=\"tve-u-171d150971d\">Wir lernen Linux...<br>...auf Profi-Tutorials...<br>...weil es Spa\u00df macht.<\/p><\/div><\/div>\n<\/div><div class=\"thrv_wrapper thrv_contentbox_shortcode thrv-content-box tve-elem-default-pad\">\n\t<div class=\"tve-content-box-background\" style=\"\" data-css=\"tve-u-171d13191eb\"><\/div>\n\t<div class=\"tve-cb\"><div class=\"thrv_wrapper thrv_text_element\" data-css=\"tve-u-171d13191ea\" style=\"\"><h5 class=\"\" data-css=\"tve-u-171d13191e8\">Beispiel - diff (change)<\/h5><\/div><div class=\"thrv_wrapper thrv-divider\" data-style-d=\"tve_sep-1\" data-thickness-d=\"2\" data-color-d=\"rgb(66, 66, 66)\" data-css=\"tve-u-171d13191ec\" style=\"\">\n\t<hr class=\"tve_sep tve_sep-1\" style=\"\">\n<\/div><div class=\"thrv_wrapper thrv_text_element\"><h6 class=\"\">Eingabe:<\/h6><\/div><div class=\"thrv_wrapper thrv_text_element\" style=\"\" data-css=\"tve-u-171d13191ef\"><p data-css=\"tve-u-171d13191ee\">diff befehl-diff1.txt befehl-diff2.txt<\/p><\/div><div class=\"thrv_wrapper thrv_text_element\"><h6 class=\"\">Ausgabe:<\/h6><\/div><div class=\"thrv_wrapper thrv_text_element\" style=\"\" data-css=\"tve-u-171d13191ed\"><p data-css=\"tve-u-171d13191f0\"><strong>1,4c1,3<\/strong><br><strong>&lt;<\/strong> Ich lerne Linux...<br><strong>&lt;<\/strong> ...auf profi-tutorials...<br><strong>&lt;<\/strong> ...weil es spass macht.<br><strong>&lt; <\/strong><br>---<br><strong>&gt;<\/strong> Wir lernen Linux...<br><strong>&gt;<\/strong> ...auf Profi-Tutorials...<br><strong>&gt;<\/strong> ...weil es Spa\u00df macht.<\/p><\/div><\/div>\n<\/div><div class=\"thrv_wrapper thrv_text_element\"><p>In der Ausgabe gibt <strong>diff <\/strong>in der ersten Zeile an, wie die erste Datei \"befehl-diff1.txt\" inhaltlich ge\u00e4ndert werden muss, damit sie dem Inhalt der zweiten Datei \"befehl-diff2.txt\" gleicht und listet ab Zeile zwei der Ausgabe alle weiteren nicht \u00fcbereinstimmenden Zeilen der beiden Dateien auf.<\/p><p>In diesem Beispiel bedeutet die erste Zeile \"1,4c1,3\" folgendes:<\/p><p>Die Zeilen <strong>1<\/strong> bis (<strong>,<\/strong>) <strong>4 <\/strong>in der ersten Datei (<strong>&lt;<\/strong>) m\u00fcssen ge\u00e4ndert werden (<strong>c<\/strong>hange), damit die Zeilen <strong>1<\/strong> bis (<strong>,<\/strong>) <strong>3<\/strong> der zweiten Datei (<strong>&gt;<\/strong>) \u00fcbereinstimmen.<\/p><p>Die weiteren Zeilen der Ausgabe verdeutlichen die Zeilen aus der ersten Datei, die NICHT mit den Zeilen aus der zweiten Datei \u00fcbereinstimmen. Dabei bedeutet das \"<strong>&lt;<\/strong>\" am Anfang der Zeilen, dass diese aus der ersten Datei stammen und das \"<strong>&gt;<\/strong>\" am Anfang der Zeilen, dass diese aus der zweiten Datei sind.<\/p><p>Die Zeichenfolge \"<strong>---<\/strong>\" der Ausgabe des Beispiels besagt, dass der Inhalt der ersten Datei nun zu Ende ist und alle weiteren Zeilen aus der zweiten Datei sind.<\/p><p>Damit der Inhalt der ersten Datei \"befehl-diff1.txt\" nun dem Inhalt der zweiten Datei \"befehl-diff2.txt\" gleicht, m\u00fcssen wir folgendes in der ersten Datei \u00e4ndern:<\/p><p>Zeile 1: \"<strong>Ich<\/strong>\" muss zu \"<strong>Wir<\/strong>\" und \"lerne\" zu \"lerne<strong>n<\/strong>\" ge\u00e4ndert werden.<\/p><p>Zeile 2: \"<strong>p<\/strong>rofi-<strong>t<\/strong>utorials\" muss zu \"<strong>P<\/strong>rofi-<strong>T<\/strong>utorials\" ge\u00e4ndert werden.<\/p><p>Zeile 3: \"<strong>s<\/strong>pa<strong>ss<\/strong>\" muss zu \"<strong>S<\/strong>pa<strong>\u00df<\/strong>\" ge\u00e4ndert werden.<\/p><p>Zeile 4: Diese Leerzeile muss entfernt werden.<\/p><p>In einem weiteren Beispiel werden wieder zwei Text-Dateien \"befehl-diff3.txt\" und \"befehl-diff4.txt\" mit <strong>diff <\/strong>verglichen, aber dieses Mal fehlt in der ersten Datei eine Zeile, ansonsten sind die Inhalte identisch:<\/p><\/div><div class=\"thrv_wrapper thrv_contentbox_shortcode thrv-content-box tve-elem-default-pad\">\n\t<div class=\"tve-content-box-background\" style=\"\" data-css=\"tve-u-171d150971b\"><\/div>\n\t<div class=\"tve-cb\"><div class=\"thrv_wrapper thrv_text_element\" data-css=\"tve-u-171d150971a\" style=\"\"><h5 class=\"\" data-css=\"tve-u-171d1509719\">Inhalt der Datei \"befehl-diff3.txt\"<\/h5><\/div><div class=\"thrv_wrapper thrv-divider\" data-style-d=\"tve_sep-1\" data-thickness-d=\"2\" data-color-d=\"rgb(66, 66, 66)\" data-css=\"tve-u-171d150971c\" style=\"\">\n\t<hr class=\"tve_sep tve_sep-1\" style=\"\">\n<\/div><div class=\"thrv_wrapper thrv_text_element\" style=\"\" data-css=\"tve-u-171d150971e\"><p data-css=\"tve-u-171d150971d\">Wir lernen Linux...<br>...weil es Spa\u00df macht.<\/p><\/div><\/div>\n<\/div><div class=\"thrv_wrapper thrv_contentbox_shortcode thrv-content-box tve-elem-default-pad\">\n\t<div class=\"tve-content-box-background\" style=\"\" data-css=\"tve-u-171d150971b\"><\/div>\n\t<div class=\"tve-cb\"><div class=\"thrv_wrapper thrv_text_element\" data-css=\"tve-u-171d150971a\" style=\"\"><h5 class=\"\" data-css=\"tve-u-171d1509719\">Inhalt der Datei \"befehl-diff4.txt\"<\/h5><\/div><div class=\"thrv_wrapper thrv-divider\" data-style-d=\"tve_sep-1\" data-thickness-d=\"2\" data-color-d=\"rgb(66, 66, 66)\" data-css=\"tve-u-171d150971c\" style=\"\">\n\t<hr class=\"tve_sep tve_sep-1\" style=\"\">\n<\/div><div class=\"thrv_wrapper thrv_text_element\" style=\"\" data-css=\"tve-u-171d150971e\"><p data-css=\"tve-u-171d150971d\">Wir lernen Linux...<br>...auf Profi-Tutorials...<br>...weil es Spa\u00df macht.<\/p><\/div><\/div>\n<\/div><div class=\"thrv_wrapper thrv_contentbox_shortcode thrv-content-box tve-elem-default-pad\">\n\t<div class=\"tve-content-box-background\" style=\"\" data-css=\"tve-u-171d14911d3\"><\/div>\n\t<div class=\"tve-cb\"><div class=\"thrv_wrapper thrv_text_element\" data-css=\"tve-u-171d14911d1\" style=\"\"><h5 class=\"\" data-css=\"tve-u-171d14911d0\">Beispiel2 - diff (add)<\/h5><\/div><div class=\"thrv_wrapper thrv-divider\" data-style-d=\"tve_sep-1\" data-thickness-d=\"2\" data-color-d=\"rgb(66, 66, 66)\" data-css=\"tve-u-171d14911d4\" style=\"\">\n\t<hr class=\"tve_sep tve_sep-1\" style=\"\">\n<\/div><div class=\"thrv_wrapper thrv_text_element\"><h6 class=\"\">Eingabe:<\/h6><\/div><div class=\"thrv_wrapper thrv_text_element\" style=\"\" data-css=\"tve-u-171d14911d7\"><p data-css=\"tve-u-171d14911d6\">diff befehl-diff3.txt befehl-diff4.txt<\/p><\/div><div class=\"thrv_wrapper thrv_text_element\"><h6 class=\"\">Ausgabe:<\/h6><\/div><div class=\"thrv_wrapper thrv_text_element\" style=\"\" data-css=\"tve-u-171d14911d5\"><p data-css=\"tve-u-171d14911d8\">1a2<br>&gt; ...auf Profi-Tutorials...<\/p><\/div><\/div>\n<\/div><div class=\"thrv_wrapper thrv_text_element\"><p>Hier gibt <strong>diff <\/strong>in der ersten Zeile mit \"<strong>1a2<\/strong>\" seiner Ausgabe an, dass <strong>NACH<\/strong> der ersten (<strong>1<\/strong>) Zeile der ersten Datei die zweite (<strong>2<\/strong>) Zeile aus der zweiten Datei hinzugef\u00fcgt (<strong>a<\/strong>dd) werden muss, damit die Inhalte beider Dateien identisch sind. Anschlie\u00dfend wird die Zeile der zweiten Datei (<strong>&gt;<\/strong>) ausgegeben, die hinzugef\u00fcgt werden muss.<\/p><p>Weiterhin kann <strong>diff <\/strong>auch die Inhalte zweier Verzeichnisse miteinander vergleichen. Dabei listet <strong>diff <\/strong>in seiner Ausgabe wie \u00fcblich nur die Unterschiede auf. Dies zeigen wir im folgenden Beispiel. Verglichen werden dabei die beiden Verzeichnisse \"diff-verzeichnis1\" und \"diff-verzeichnis2\":<\/p><\/div><div class=\"thrv_wrapper thrv_contentbox_shortcode thrv-content-box tve-elem-default-pad\">\n\t<div class=\"tve-content-box-background\" style=\"\" data-css=\"tve-u-171d150971b\"><\/div>\n\t<div class=\"tve-cb\"><div class=\"thrv_wrapper thrv_text_element\" data-css=\"tve-u-171d150971a\" style=\"\"><h5 class=\"\" data-css=\"tve-u-171d1509719\">Inhalt des Verzeichnisses \"diff-verzeichnis1\"<\/h5><\/div><div class=\"thrv_wrapper thrv-divider\" data-style-d=\"tve_sep-1\" data-thickness-d=\"2\" data-color-d=\"rgb(66, 66, 66)\" data-css=\"tve-u-171d150971c\" style=\"\">\n\t<hr class=\"tve_sep tve_sep-1\" style=\"\">\n<\/div><div class=\"thrv_wrapper thrv_text_element\" style=\"\" data-css=\"tve-u-171d150971e\"><p data-css=\"tve-u-171d150971d\">-rw-r--r-- 1 root root 0 Mai 1 19:50 profi.txt<\/p><\/div><\/div>\n<\/div><div class=\"thrv_wrapper thrv_contentbox_shortcode thrv-content-box tve-elem-default-pad\">\n\t<div class=\"tve-content-box-background\" style=\"\" data-css=\"tve-u-171d150971b\"><\/div>\n\t<div class=\"tve-cb\"><div class=\"thrv_wrapper thrv_text_element\" data-css=\"tve-u-171d150971a\" style=\"\"><h5 class=\"\" data-css=\"tve-u-171d1509719\">Inhalt des Verzeichnisses \"diff-verzeichnis2\"<\/h5><\/div><div class=\"thrv_wrapper thrv-divider\" data-style-d=\"tve_sep-1\" data-thickness-d=\"2\" data-color-d=\"rgb(66, 66, 66)\" data-css=\"tve-u-171d150971c\" style=\"\">\n\t<hr class=\"tve_sep tve_sep-1\" style=\"\">\n<\/div><div class=\"thrv_wrapper thrv_text_element\" style=\"\" data-css=\"tve-u-171d150971e\"><p data-css=\"tve-u-171d150971d\">-rw-r--r-- 1 root root 0 Mai 1 19:50 profi.txt<br>-rw-r--r-- 1 root root 0 Mai 1 19:50 tutorials.txt<\/p><\/div><\/div>\n<\/div><div class=\"thrv_wrapper thrv_contentbox_shortcode thrv-content-box tve-elem-default-pad\">\n\t<div class=\"tve-content-box-background\" style=\"\" data-css=\"tve-u-171d1630dea\"><\/div>\n\t<div class=\"tve-cb\"><div class=\"thrv_wrapper thrv_text_element\" data-css=\"tve-u-171d1630de9\" style=\"\"><h5 class=\"\" data-css=\"tve-u-171d1630de8\">Beispiel - diff (Verzeichnisse)<\/h5><\/div><div class=\"thrv_wrapper thrv-divider\" data-style-d=\"tve_sep-1\" data-thickness-d=\"2\" data-color-d=\"rgb(66, 66, 66)\" data-css=\"tve-u-171d1630dec\" style=\"\">\n\t<hr class=\"tve_sep tve_sep-1\" style=\"\">\n<\/div><div class=\"thrv_wrapper thrv_text_element\"><h6 class=\"\">Eingabe:<\/h6><\/div><div class=\"thrv_wrapper thrv_text_element\" style=\"\" data-css=\"tve-u-171d1630def\"><p data-css=\"tve-u-171d1630dee\">diff diff-verzeichnis1 diff-verzeichnis2<\/p><\/div><div class=\"thrv_wrapper thrv_text_element\"><h6 class=\"\">Ausgabe:<\/h6><\/div><div class=\"thrv_wrapper thrv_text_element\" style=\"\" data-css=\"tve-u-171d1630ded\"><p data-css=\"tve-u-171d1630df0\">Nur in diff-verzeichnis2: tutorials.txt.<\/p><\/div><\/div>\n<\/div><div class=\"thrv_wrapper thrv_text_element\"><h2 class=\"\" id=\"t-1588436616834\">Die wichtigsten Optionen<\/h2><p><strong>diff <\/strong>kann auch mit zus\u00e4tzlichen Optionen aufgerufen werden. Im Folgenden werden einige beschrieben.<\/p><h4 class=\"\">--help (Hilfe)<\/h4><p>Mit der&nbsp;<strong>Option --help<\/strong> k\u00f6nnen Sie sich die Hilfe von <strong>diff<\/strong><strong>&nbsp;<\/strong>ausgeben lassen.<\/p><p>[code]diff --help[\/code]<\/p><h4 class=\"\">-q - Quick<\/h4><p><strong>-q<\/strong> (<strong>q<\/strong>uick) k\u00f6nnen Sie verwenden, wenn Sie einfach schnell wissen m\u00f6chten, ob sich die Inhalte zweier Dateien \u00fcberhaupt voneinander unterscheiden.&nbsp;Die Ausgabe von&nbsp;<strong>diff<\/strong> bleibt leer, wenn keine inhaltlichen Unterschiede vorhanden sind, andernfalls wird ausgegeben, dass sie sich unterscheiden:<\/p><\/div><div class=\"thrv_wrapper thrv_contentbox_shortcode thrv-content-box tve-elem-default-pad\">\n\t<div class=\"tve-content-box-background\" style=\"\" data-css=\"tve-u-171d1838699\"><\/div>\n\t<div class=\"tve-cb\"><div class=\"thrv_wrapper thrv_text_element\" data-css=\"tve-u-171d1838698\" style=\"\"><h5 class=\"\" data-css=\"tve-u-171d1838697\">Beispiel -q<\/h5><\/div><div class=\"thrv_wrapper thrv-divider\" data-style-d=\"tve_sep-1\" data-thickness-d=\"2\" data-color-d=\"rgb(66, 66, 66)\" data-css=\"tve-u-171d183869a\" style=\"\">\n\t<hr class=\"tve_sep tve_sep-1\" style=\"\">\n<\/div><div class=\"thrv_wrapper thrv_text_element\"><h6 class=\"\">Eingabe:<\/h6><\/div><div class=\"thrv_wrapper thrv_text_element\" style=\"\" data-css=\"tve-u-171d183869e\"><p data-css=\"tve-u-171d183869d\">diff -q befehl-diff1.txt befehl-diff2.txt<\/p><\/div><div class=\"thrv_wrapper thrv_text_element\"><h6 class=\"\">Ausgabe:<\/h6><\/div><div class=\"thrv_wrapper thrv_text_element\" style=\"\" data-css=\"tve-u-171d183869c\"><p data-css=\"tve-u-171d183869f\">Dateien befehl-diff1.txt und befehl-diff2.txt sind verschieden.<\/p><\/div><\/div>\n<\/div><div class=\"thrv_wrapper thrv_text_element\"><h4 class=\"\">-s - Same<\/h4><p>Mit <strong>-s<\/strong> (<strong>s<\/strong>ame) gibt <strong>diff<\/strong> zus\u00e4tzlich aus, wenn die beiden angegebenen Dateien inhaltlich identisch sind:<\/p><\/div><div class=\"thrv_wrapper thrv_contentbox_shortcode thrv-content-box tve-elem-default-pad\">\n\t<div class=\"tve-content-box-background\" style=\"\" data-css=\"tve-u-171d1838699\"><\/div>\n\t<div class=\"tve-cb\"><div class=\"thrv_wrapper thrv_text_element\" data-css=\"tve-u-171d1838698\" style=\"\"><h5 class=\"\" data-css=\"tve-u-171d1838697\">Beispiel -s<\/h5><\/div><div class=\"thrv_wrapper thrv-divider\" data-style-d=\"tve_sep-1\" data-thickness-d=\"2\" data-color-d=\"rgb(66, 66, 66)\" data-css=\"tve-u-171d183869a\" style=\"\">\n\t<hr class=\"tve_sep tve_sep-1\" style=\"\">\n<\/div><div class=\"thrv_wrapper thrv_text_element\"><h6 class=\"\">Eingabe:<\/h6><\/div><div class=\"thrv_wrapper thrv_text_element\" style=\"\" data-css=\"tve-u-171d183869e\"><p data-css=\"tve-u-171d183869d\">diff -s befehl-diff2.txt befehl-diff4.txt<\/p><\/div><div class=\"thrv_wrapper thrv_text_element\"><h6 class=\"\">Ausgabe:<\/h6><\/div><div class=\"thrv_wrapper thrv_text_element\" style=\"\" data-css=\"tve-u-171d183869c\"><p data-css=\"tve-u-171d183869f\">Dateien befehl-diff2.txt und befehl-diff4.txt sind identisch.<\/p><\/div><\/div>\n<\/div><div class=\"thrv_wrapper thrv_text_element\"><h4 class=\"\">-y<\/h4><p><strong>diff<\/strong> gibt mit der Option<strong> -y<\/strong> (side by side) die Inhalte der beiden Dateien in zwei Spalten aus und markiert die Zeilen, die unterschiedlich sind:<\/p><\/div><div class=\"thrv_wrapper thrv_contentbox_shortcode thrv-content-box tve-elem-default-pad\">\n\t<div class=\"tve-content-box-background\" style=\"\" data-css=\"tve-u-171d1838699\"><\/div>\n\t<div class=\"tve-cb\"><div class=\"thrv_wrapper thrv_text_element\" data-css=\"tve-u-171d1838698\" style=\"\"><h5 class=\"\" data-css=\"tve-u-171d1838697\">Beispiel 1 -y<\/h5><\/div><div class=\"thrv_wrapper thrv-divider\" data-style-d=\"tve_sep-1\" data-thickness-d=\"2\" data-color-d=\"rgb(66, 66, 66)\" data-css=\"tve-u-171d183869a\" style=\"\">\n\t<hr class=\"tve_sep tve_sep-1\" style=\"\">\n<\/div><div class=\"thrv_wrapper thrv_text_element\"><h6 class=\"\">Eingabe:<\/h6><\/div><div class=\"thrv_wrapper thrv_text_element\" style=\"\" data-css=\"tve-u-171d183869e\"><p data-css=\"tve-u-171d183869d\">diff -y befehl-diff1.txt befehl-diff2.txt<\/p><\/div><div class=\"thrv_wrapper thrv_text_element\"><h6 class=\"\">Ausgabe:<\/h6><\/div><div class=\"thrv_wrapper thrv_text_element\" style=\"\" data-css=\"tve-u-171d183869c\"><p data-css=\"tve-u-171d183869f\">Ich lerne Linux...&nbsp; &nbsp; &nbsp; &nbsp; |Wir lernen Linux...<br>...auf profi-tutorials... |...auf Profi-Tutorials...<br>...weil es spass macht.&nbsp; &nbsp;|...weil es Spa\u00df macht.<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;<\/p><\/div><\/div>\n<\/div><div class=\"thrv_wrapper thrv_text_element\"><p>Die erste Spalte beinhaltet die Zeilen aus der ersten Datei \"befehl-diff1.txt\" und die zweite Spalte die Zeilen aus der zweiten Datei \"befehl-diff2.txt\".<\/p><p>Das Zeichen \"<strong>|<\/strong>\" bedeutet, dass die beiden Zeilen sich inhaltlich unterscheiden.<\/p><p>Das Zeichen \"<strong>&lt;<\/strong>\" bedeutet, dass diese Zeile der ersten Datei in der zweiten Datei nicht vorkommt.<\/p><\/div><div class=\"thrv_wrapper thrv_contentbox_shortcode thrv-content-box tve-elem-default-pad\">\n\t<div class=\"tve-content-box-background\" style=\"\" data-css=\"tve-u-171d1838699\"><\/div>\n\t<div class=\"tve-cb\"><div class=\"thrv_wrapper thrv_text_element\" data-css=\"tve-u-171d1838698\" style=\"\"><h5 class=\"\" data-css=\"tve-u-171d1838697\">Beispiel 2 -y<\/h5><\/div><div class=\"thrv_wrapper thrv-divider\" data-style-d=\"tve_sep-1\" data-thickness-d=\"2\" data-color-d=\"rgb(66, 66, 66)\" data-css=\"tve-u-171d183869a\" style=\"\">\n\t<hr class=\"tve_sep tve_sep-1\" style=\"\">\n<\/div><div class=\"thrv_wrapper thrv_text_element\"><h6 class=\"\">Eingabe:<\/h6><\/div><div class=\"thrv_wrapper thrv_text_element\" style=\"\" data-css=\"tve-u-171d183869e\"><p data-css=\"tve-u-171d183869d\">diff -y befehl-diff3.txt befehl-diff4.txt<\/p><\/div><div class=\"thrv_wrapper thrv_text_element\"><h6 class=\"\">Ausgabe:<\/h6><\/div><div class=\"thrv_wrapper thrv_text_element\" style=\"\" data-css=\"tve-u-171d183869c\"><p data-css=\"tve-u-171d183869f\">Wir lernen Linux...&nbsp; &nbsp; &nbsp; &nbsp; Wir lernen Linux...<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &gt;...auf Profi-Tutorials...<br>...weil es Spa\u00df macht.&nbsp; &nbsp; &nbsp;...weil es Spa\u00df macht.<\/p><\/div><\/div>\n<\/div><div class=\"thrv_wrapper thrv_text_element\"><p>Das Zeichen \"<strong>&gt;<\/strong>\" bedeutet, dass in der ersten Datei \"befehl-diff3.txt\" die Zeile aus der zweiten Datei \"befehl-diff4.txt\" fehlt.<\/p><p><strong>diff<\/strong> hat noch weitere Optionen, unter Anderem die Option <strong>-e<\/strong> (<strong>e<\/strong>d-Script), womit Sie ein ed-Skript erstellen k\u00f6nnen. Dieses Skript kann dann mit einem Editor wie \"ed\" oder \"ex\" genutzt werden, um den Inhalt der ersten Datei so zu \u00e4ndern, dass er mit dem Inhalt der zweiten Datei \u00fcbereinstimmt.<\/p><\/div><div class=\"thrv_wrapper thrv_contentbox_shortcode thrv-content-box tve-elem-default-pad\" style=\"\" data-css=\"tve-u-171d19fca7f\">\n\t<div class=\"tve-content-box-background\" style=\"\" data-css=\"tve-u-171d19fca83\"><\/div>\n\t<div class=\"tve-cb\"><div class=\"thrv_wrapper thrv_text_element\" style=\"\" data-css=\"tve-u-171d19fca81\"><p data-css=\"tve-u-171d19fca7e\" style=\"text-align: center;\">Abonniere JETZT unseren Newsletter!<\/p><\/div><div class=\"thrv_wrapper thrv-divider\" data-style-d=\"tve_sep-1\" data-thickness-d=\"3\" data-color-d=\"rgb(70, 70, 70)\" data-css=\"tve-u-171d19fca84\" style=\"\">\n\t<hr class=\"tve_sep tve_sep-1\" style=\"\">\n<\/div><div class=\"thrv_wrapper thrv_text_element\" style=\"\" data-css=\"tve-u-171d19fca80\"><p data-css=\"tve-u-171d19fca85\" style=\"text-align: center;\">Verpasse nie wieder <strong>neue<\/strong> Beitr\u00e4ge und <strong>exklusive Insider-Only-Inhalte!<\/strong><\/p><\/div><div class=\"thrv_wrapper thrv_lead_generation\" data-connection=\"custom-html\" data-css=\"tve-u-171d19fca86\" style=\"\"><input type=\"hidden\" class=\"tve-lg-err-msg\" value=\"{&quot;email&quot;:&quot;Email address invalid&quot;,&quot;phone&quot;:&quot;Phone number invalid&quot;,&quot;password&quot;:&quot;Password invalid&quot;,&quot;passwordmismatch&quot;:&quot;Password mismatch error&quot;,&quot;required&quot;:&quot;Required field missing&quot;}\">\n\t<div class=\"thrv_lead_generation_container tve_clearfix\"><form method=\"post\" action=\"#\" id=\"ktv2-form-200765\" novalidate=\"novalidate\"><input type=\"hidden\" class=\"tve-f-a-hidden\" value=\"https:\/\/www.klick-tipp.com\/api\/subscriber\/signin.html\"><input id=\"apikey\" type=\"hidden\" name=\"apikey\" value=\"4nv5z2tonz8za09b\"><div class=\"tve_lead_generated_inputs_container\"><div class=\"tve_lg_input_container tve_lg_input\"><input name=\"fields[fieldFirstName]\" id=\"\" type=\"text\" placeholder=\"Name\" value=\"\" data-css=\"tve-u-1709bd3f99e\" data-placeholder=\"Name\"><\/div><div class=\"tve_lg_input_container tve_lg_input\"><input name=\"email\" id=\"\" type=\"text\" placeholder=\"E-Mail\" value=\"\" data-required=\"1\" data-validation=\"email\" data-css=\"tve-u-1709bd3f99e\" data-placeholder=\"E-Mail\"><\/div><div class=\"tve_lg_input_container tve_submit_container tve_lg_submit\" data-css=\"tve-u-171d19fca87\"><button type=\"submit\" class=\"\">KLICKE HIER F\u00dcR ABO!<\/button><\/div><\/div><\/form><\/div>\n<div class=\"thrv_lead_generation_code\" style=\"display: none;\">__CONFIG_lead_generation_code__&lt;div id=\"form-200765-wrapper\"&gt;&lt;form id=\"ktv2-form-200765\" accept-charset=\"UTF-8\" method=\"post\" action=\"https:\/\/www.klick-tipp.com\/api\/subscriber\/signin.html\" &gt;&lt;input type=\"hidden\" name=\"apikey\" value=\"4nv5z2tonz8za09b\" \/&gt;&lt;input type=\"text\" name=\"fields[fieldFirstName]\"\/&gt;&lt;input type=\"text\" name=\"email\"\/&gt;&lt;\/form&gt;&lt;\/div&gt;__CONFIG_lead_generation_code__<\/div><\/div><\/div>\n<\/div>","tve_custom_css":"@import url(\"\/\/fonts.googleapis.com\/css?family=Open+Sans:400,600&subset=latin\");@media (min-width: 300px){[data-css=\"tve-u-171a6c7102e\"] { background-color: rgb(51, 103, 153); }:not(#tve) [data-css=\"tve-u-171d13191e8\"] { padding-top: 0px !important; margin-top: 0px !important; }[data-css=\"tve-u-171d13191ea\"] { overflow: hidden; background-color: transparent !important; background-image: none !important; border-radius: 0px !important; }[data-css=\"tve-u-171d13191eb\"] { border-radius: 30px; overflow: hidden; background-image: linear-gradient(rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.08)) !important; background-size: auto !important; background-position: 50% 50% !important; background-attachment: scroll !important; background-repeat: no-repeat !important; }[data-css=\"tve-u-171d13191ec\"] .tve_sep { border-width: 2px !important; border-color: rgb(66, 66, 66) !important; }[data-css=\"tve-u-171d13191ec\"] { padding-top: 0px !important; padding-bottom: 10px !important; }[data-css=\"tve-u-171d13191ed\"] { background-image: linear-gradient(rgba(0, 0, 0, 0.13), rgba(0, 0, 0, 0.13)) !important; background-size: auto !important; background-position: 50% 50% !important; background-attachment: scroll !important; background-repeat: no-repeat !important; margin-bottom: 0px !important; padding: 5px 10px !important; }:not(#tve) [data-css=\"tve-u-171d13191ee\"] { font-family: \"Courier New\", Courier, monospace !important; font-weight: var(--g-regular-weight, normal)  !important; padding-bottom: 0px !important; margin-bottom: 0px !important; }[data-css=\"tve-u-171d13191ef\"] { background-image: linear-gradient(rgba(0, 0, 0, 0.13), rgba(0, 0, 0, 0.13)) !important; background-size: auto !important; background-position: 50% 50% !important; background-attachment: scroll !important; background-repeat: no-repeat !important; margin-bottom: 0px !important; padding: 5px 10px !important; }:not(#tve) [data-css=\"tve-u-171d13191f0\"] { padding-bottom: 0px !important; margin-bottom: 0px !important; font-family: \"Courier New\", Courier, monospace !important; font-weight: var(--g-regular-weight, normal)  !important; }:not(#tve) [data-css=\"tve-u-171d14911d0\"] { padding-top: 0px !important; margin-top: 0px !important; }[data-css=\"tve-u-171d14911d1\"] { overflow: hidden; background-color: transparent !important; background-image: none !important; border-radius: 0px !important; }[data-css=\"tve-u-171d14911d3\"] { border-radius: 30px; overflow: hidden; background-image: linear-gradient(rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.08)) !important; background-size: auto !important; background-position: 50% 50% !important; background-attachment: scroll !important; background-repeat: no-repeat !important; }[data-css=\"tve-u-171d14911d4\"] .tve_sep { border-width: 2px !important; border-color: rgb(66, 66, 66) !important; }[data-css=\"tve-u-171d14911d4\"] { padding-top: 0px !important; padding-bottom: 10px !important; }[data-css=\"tve-u-171d14911d5\"] { background-image: linear-gradient(rgba(0, 0, 0, 0.13), rgba(0, 0, 0, 0.13)) !important; background-size: auto !important; background-position: 50% 50% !important; background-attachment: scroll !important; background-repeat: no-repeat !important; margin-bottom: 0px !important; padding: 5px 10px !important; }:not(#tve) [data-css=\"tve-u-171d14911d6\"] { font-family: \"Courier New\", Courier, monospace !important; font-weight: var(--g-regular-weight, normal)  !important; padding-bottom: 0px !important; margin-bottom: 0px !important; }[data-css=\"tve-u-171d14911d7\"] { background-image: linear-gradient(rgba(0, 0, 0, 0.13), rgba(0, 0, 0, 0.13)) !important; background-size: auto !important; background-position: 50% 50% !important; background-attachment: scroll !important; background-repeat: no-repeat !important; margin-bottom: 0px !important; padding: 5px 10px !important; }:not(#tve) [data-css=\"tve-u-171d14911d8\"] { padding-bottom: 0px !important; margin-bottom: 0px !important; font-family: \"Courier New\", Courier, monospace !important; font-weight: var(--g-regular-weight, normal)  !important; }:not(#tve) [data-css=\"tve-u-171d1509719\"] { padding-top: 0px !important; margin-top: 0px !important; }[data-css=\"tve-u-171d150971a\"] { overflow: hidden; background-color: transparent !important; background-image: none !important; border-radius: 0px !important; }[data-css=\"tve-u-171d150971b\"] { border-radius: 30px; overflow: hidden; background-image: linear-gradient(rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.08)) !important; background-size: auto !important; background-position: 50% 50% !important; background-attachment: scroll !important; background-repeat: no-repeat !important; }[data-css=\"tve-u-171d150971c\"] .tve_sep { border-width: 2px !important; border-color: rgb(66, 66, 66) !important; }[data-css=\"tve-u-171d150971c\"] { padding-top: 0px !important; padding-bottom: 10px !important; }:not(#tve) [data-css=\"tve-u-171d150971d\"] { font-family: \"Courier New\", Courier, monospace !important; font-weight: var(--g-regular-weight, normal)  !important; padding-bottom: 0px !important; margin-bottom: 0px !important; }[data-css=\"tve-u-171d150971e\"] { background-image: linear-gradient(rgba(0, 0, 0, 0.13), rgba(0, 0, 0, 0.13)) !important; background-size: auto !important; background-position: 50% 50% !important; background-attachment: scroll !important; background-repeat: no-repeat !important; margin-bottom: 0px !important; padding: 5px 10px !important; }:not(#tve) [data-css=\"tve-u-171d1630de8\"] { padding-top: 0px !important; margin-top: 0px !important; }[data-css=\"tve-u-171d1630de9\"] { overflow: hidden; background-color: transparent !important; background-image: none !important; border-radius: 0px !important; }[data-css=\"tve-u-171d1630dea\"] { border-radius: 30px; overflow: hidden; background-image: linear-gradient(rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.08)) !important; background-size: auto !important; background-position: 50% 50% !important; background-attachment: scroll !important; background-repeat: no-repeat !important; }[data-css=\"tve-u-171d1630dec\"] .tve_sep { border-width: 2px !important; border-color: rgb(66, 66, 66) !important; }[data-css=\"tve-u-171d1630dec\"] { padding-top: 0px !important; padding-bottom: 10px !important; }[data-css=\"tve-u-171d1630ded\"] { background-image: linear-gradient(rgba(0, 0, 0, 0.13), rgba(0, 0, 0, 0.13)) !important; background-size: auto !important; background-position: 50% 50% !important; background-attachment: scroll !important; background-repeat: no-repeat !important; margin-bottom: 0px !important; padding: 5px 10px !important; }:not(#tve) [data-css=\"tve-u-171d1630dee\"] { font-family: \"Courier New\", Courier, monospace !important; font-weight: var(--g-regular-weight, normal)  !important; padding-bottom: 0px !important; margin-bottom: 0px !important; }[data-css=\"tve-u-171d1630def\"] { background-image: linear-gradient(rgba(0, 0, 0, 0.13), rgba(0, 0, 0, 0.13)) !important; background-size: auto !important; background-position: 50% 50% !important; background-attachment: scroll !important; background-repeat: no-repeat !important; margin-bottom: 0px !important; padding: 5px 10px !important; }:not(#tve) [data-css=\"tve-u-171d1630df0\"] { padding-bottom: 0px !important; margin-bottom: 0px !important; font-family: \"Courier New\", Courier, monospace !important; font-weight: var(--g-regular-weight, normal)  !important; }:not(#tve) [data-css=\"tve-u-171d1838697\"] { padding-top: 0px !important; margin-top: 0px !important; }[data-css=\"tve-u-171d1838698\"] { overflow: hidden; background-color: transparent !important; background-image: none !important; border-radius: 0px !important; }[data-css=\"tve-u-171d1838699\"] { border-radius: 30px; overflow: hidden; background-image: linear-gradient(rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.08)) !important; background-size: auto !important; background-position: 50% 50% !important; background-attachment: scroll !important; background-repeat: no-repeat !important; }[data-css=\"tve-u-171d183869a\"] .tve_sep { border-width: 2px !important; border-color: rgb(66, 66, 66) !important; }[data-css=\"tve-u-171d183869a\"] { padding-top: 0px !important; padding-bottom: 10px !important; }[data-css=\"tve-u-171d183869c\"] { background-image: linear-gradient(rgba(0, 0, 0, 0.13), rgba(0, 0, 0, 0.13)) !important; background-size: auto !important; background-position: 50% 50% !important; background-attachment: scroll !important; background-repeat: no-repeat !important; margin-bottom: 0px !important; padding: 5px 10px !important; }:not(#tve) [data-css=\"tve-u-171d183869d\"] { font-family: \"Courier New\", Courier, monospace !important; font-weight: var(--g-regular-weight, normal)  !important; padding-bottom: 0px !important; margin-bottom: 0px !important; }[data-css=\"tve-u-171d183869e\"] { background-image: linear-gradient(rgba(0, 0, 0, 0.13), rgba(0, 0, 0, 0.13)) !important; background-size: auto !important; background-position: 50% 50% !important; background-attachment: scroll !important; background-repeat: no-repeat !important; margin-bottom: 0px !important; padding: 5px 10px !important; }:not(#tve) [data-css=\"tve-u-171d183869f\"] { padding-bottom: 0px !important; margin-bottom: 0px !important; font-family: \"Courier New\", Courier, monospace !important; font-weight: var(--g-regular-weight, normal)  !important; }:not(#tve) [data-css=\"tve-u-171d19fca7e\"] { font-size: 25px !important; font-weight: var(--g-bold-weight, bold)  !important; padding-bottom: 0px !important; margin-bottom: 0px !important; padding-top: 0px !important; margin-top: 0px !important; color: rgb(70, 70, 70) !important; --tcb-applied-color:var$(--tcb-color-1)  !important; }[data-css=\"tve-u-171d19fca7f\"] { padding: 10px !important; }[data-css=\"tve-u-171d19fca80\"] { margin-left: 0px !important; margin-right: 0px !important; padding-right: 30px !important; padding-left: 30px !important; }[data-css=\"tve-u-171d19fca81\"] { margin-right: 0px !important; margin-left: 0px !important; }[data-css=\"tve-u-171d19fca83\"] { border-radius: 30px; overflow: hidden; background-image: linear-gradient(rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.08)) !important; background-size: auto !important; background-position: 50% 50% !important; background-attachment: scroll !important; background-repeat: no-repeat !important; }[data-css=\"tve-u-171d19fca84\"] .tve_sep { border-width: 3px !important; border-color: rgb(70, 70, 70) !important; }[data-css=\"tve-u-171d19fca84\"] { padding-top: 0px !important; }:not(#tve) [data-css=\"tve-u-171d19fca85\"] { color: rgb(70, 70, 70) !important; --tcb-applied-color:var$(--tcb-color-1)  !important; padding-bottom: 0px !important; margin-bottom: 0px !important; font-size: 18px !important; }[data-css=\"tve-u-171d19fca86\"] { float: none; border: none; max-width: 500px !important; margin-left: auto !important; margin-right: auto !important; }:not(#tve) [data-css=\"tve-u-171d19fca87\"] button { border-bottom: 4px solid rgb(33, 72, 112); border-radius: 4px; border-top: none; border-right: none; border-left: none; font-weight: var(--tve-font-weight, var(--g-bold-weight, bold)); font-family: var(--tve-font-family, \"Open Sans\"); font-size: var(--tve-font-size, 18px); text-transform: var(--tve-text-transform, uppercase); background-image: none !important; background-color: rgb(51, 103, 153) !important; }:not(#tve) [data-css=\"tve-u-171d19fca87\"]:hover button { background-image: none !important; background-color: rgb(41, 84, 127) !important; border-color: rgb(229, 227, 227) rgb(229, 227, 227) rgb(24, 54, 86) !important; }[data-css=\"tve-u-171d19fca87\"] { --tve-font-weight:var(--g-bold-weight, bold); --tve-font-family:\"Open Sans\"; --g-regular-weight:400; --g-bold-weight:600; --tve-font-size:18px; --tve-text-transform:uppercase; }}","tve_user_custom_css":"","tve_globals":{"e":"1","font_cls":[]},"tcb2_ready":1,"tcb_editor_enabled":1,"tve_landing_page":"","_tve_header":"0","_tve_footer":"0"},"categories":[7],"tags":[],"class_list":["post-5310","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-grundlagen"],"_links":{"self":[{"href":"https:\/\/profi-tutorials.de\/linux\/wp-json\/wp\/v2\/posts\/5310","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/profi-tutorials.de\/linux\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/profi-tutorials.de\/linux\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/profi-tutorials.de\/linux\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/profi-tutorials.de\/linux\/wp-json\/wp\/v2\/comments?post=5310"}],"version-history":[{"count":51,"href":"https:\/\/profi-tutorials.de\/linux\/wp-json\/wp\/v2\/posts\/5310\/revisions"}],"predecessor-version":[{"id":6005,"href":"https:\/\/profi-tutorials.de\/linux\/wp-json\/wp\/v2\/posts\/5310\/revisions\/6005"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/profi-tutorials.de\/linux\/wp-json\/wp\/v2\/media\/6003"}],"wp:attachment":[{"href":"https:\/\/profi-tutorials.de\/linux\/wp-json\/wp\/v2\/media?parent=5310"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/profi-tutorials.de\/linux\/wp-json\/wp\/v2\/categories?post=5310"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/profi-tutorials.de\/linux\/wp-json\/wp\/v2\/tags?post=5310"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}