{"id":2130,"date":"2020-02-10T16:34:36","date_gmt":"2020-02-10T16:34:36","guid":{"rendered":"https:\/\/profi-tutorials.de\/linux\/?p=2130"},"modified":"2020-09-02T17:48:18","modified_gmt":"2020-09-02T17:48:18","slug":"befehl-grep","status":"publish","type":"post","link":"https:\/\/profi-tutorials.de\/linux\/grundlagen\/befehl-grep\/","title":{"rendered":"Der Befehl Grep"},"content":{"rendered":"<p>Mit dem grep Befehl (&ldquo;<strong>G<\/strong>lobal Search for a <strong>R<\/strong>egular <strong>E<\/strong>xpression and <strong>P<\/strong>rint out matched lines&rdquo;) k&ouml;nnen Dateien nach verschiedenen Mustern durchsucht werden. F&uuml;r die Suche nach &Uuml;bereinstimmungen kommen sogenannte <a class=\"glossaryLink cmtt_Informatik\" aria-describedby=\"tt\" data-cmtooltip=\"&lt;div class=glossaryItemTitle&gt;Regex [Regular Expression]&lt;\/div&gt;&lt;div class=glossaryItemBody&gt;Regul&auml;re Ausdr&uuml;cke (engl. regular expression, regex) sind spezielle Zeichenketten, die ein Suchmuster definieren.&lt;\/div&gt;\" href=\"https:\/\/profi-tutorials.de\/linux\/glossar\/regex\/\" target=\"_blank\" data-mobile-support=\"0\" data-gt-translate-attributes='[{\"attribute\":\"data-cmtooltip\", \"format\":\"html\"}]' tabindex=\"0\" role=\"link\">Regul&auml;re Ausdr&uuml;cke<\/a> zum Einsatz.<\/p>\n<p>In diesem Beitrag lernen Sie die grundlegende Funktionsweise des grep Befehls, sowie einige mit dem Befehl verwendbare regul&auml;re Ausdr&uuml;cke kennen.<\/p>\n<h2 id=\"tab-con-8\">Die 4 verschiedenen grep Befehle<\/h2>\n<p>Neben dem normalen&nbsp;<strong>grep<\/strong> gibt es mittlerweile noch einige weitere Befehle mit &auml;hnlicher Funktionsweise. Dazu geh&ouml;ren die folgenden drei:<\/p>\n<ul>\n<li>                    <span>egrep (&ldquo;extended grep&rdquo;)<\/span><\/li>\n<li>                    <span>fgrep (&ldquo;fixed grep&rdquo;) oder (&ldquo;faster grep&rdquo;)<\/span><\/li>\n<li>                    <span>rgrep (&ldquo;recursive grep&rdquo;)<\/span><\/li>\n<\/ul>\n<p>Die 3 Abwandlungen unterscheiden sich von dem herk&ouml;mmlichen <strong>grep<\/strong> in der Verf&uuml;gbarkeit weiterer Ausdr&uuml;cke (<strong>egrep<\/strong>), der Such-Geschwindigkeit (<strong>fgrep<\/strong>) und der M&ouml;glichkeit f&uuml;r rekursive Suchen in Unterverzeichnissen (<strong>rgrep<\/strong>).&nbsp;<\/p>\n<p>In diesem Beitrag wird jedoch zun&auml;chst nur der klassische <strong>grep<\/strong> Befehl behandelt.<\/p>\n<h2 id=\"tab-con-4\">Die Suche mit grep<\/h2>\n<p>Bei der Suche mit <strong>grep<\/strong> wird die folgende <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> verwendet:<\/p>\n<pre>grep [Optionen] [Muster] [Dateipfad]<\/pre>\n<h5>Beispiel: Suche nach einem Wort<\/h5>\n<p>Bei diesem Beispiel soll die Datei &ldquo;gruppen.txt&rdquo; nach dem <a class=\"glossaryLink cmtt_Allgemein cmtt_Informatik\" aria-describedby=\"tt\" data-cmtooltip=\"&lt;div class=glossaryItemTitle&gt;Wort&lt;\/div&gt;&lt;div class=glossaryItemBody&gt;Ein Wort ist in der Informatik eine endliche Folge &uuml;ber einem Alphabet.&lt;\/div&gt;\" href=\"https:\/\/profi-tutorials.de\/linux\/glossar\/wort\/\" target=\"_blank\" data-mobile-support=\"0\" data-gt-translate-attributes='[{\"attribute\":\"data-cmtooltip\", \"format\":\"html\"}]' tabindex=\"0\" role=\"link\">Wort<\/a> &lsquo;it&rsquo; durchsucht werden. <strong>grep<\/strong> gibt alle Zeilen zur&uuml;ck, in denen das Wort aufzufinden ist.<\/p>\n<h6>Inhalt der Textdatei (gruppen.txt):<\/h6>\n<p>it-consulting-hannoverimmobilienservice-hannoveropen-school-itonline-kursemiete-hannover<\/p>\n<h6>Eingabe:<\/h6>\n<p>grep &lsquo;it&rsquo; gruppen.txt<\/p>\n<h6>Ausgabe:<\/h6>\n<p>it-consulting-hannoveropen-school-it<\/p>\n<h3 id=\"tab-con-6\">Suche in mehreren Dateien<\/h3>\n<p>Es k&ouml;nnen auch mehrere Dateipfade hintereinander angegeben werden, um in allen angegebenen Dateien gleichzeitig nach einem Muster zu suchen. Die Dateipfade werden hintereinander, durch Leerzeichen getrennt, aufgelistet:<\/p>\n<pre>grep [Optionen] [Muster] [Dateipfad] [Dateipfad] ...<\/pre>\n<h5>Beispiel: Suche nach einem Wort in mehreren Dateien<\/h5>\n<p>Hier sollen die beiden Dateien <strong>\/etc\/passwd<\/strong> und <strong>\/etc\/group<\/strong> nach dem Benutzer &lsquo;admina&rsquo; durchsucht werden. Dazu werden f&uuml;r <strong>grep<\/strong> gleich beide Dateipfade angegeben.<\/p>\n<p>Falls Sie mehr &uuml;ber die <strong>\/etc\/passwd<\/strong> bzw. <strong>\/etc\/group<\/strong> erfahren wollen, sehen Sie sich auch <a href=\"https:\/\/profi-tutorials.de\/linux\/grundlagen\/benutzer-gruppen-linux\/\" style=\"outline: none;\" target=\"_blank\" rel=\"noopener noreferrer\">unseren Beitrag dazu<\/a> an.<\/p>\n<h6>Ausschnitt aus \/etc\/passwd:<\/h6>\n<p>hellberg:x:1000:1000:hellberg,,,:\/home\/hellberg:\/bin\/bashadmina:x:1001:1001:admina,,,:\/home\/admina:\/bin\/bashbibo:x:1006:1002:,,,:\/home\/bibo:\/bin\/bash<\/p>\n<p>berni:x:1003:1003:,,,:\/home\/berni:\/bin\/bash<\/p>\n<h6>Ausschnitt aus \/etc\/group:<\/h6>\n<p>hellberg:x:1000:bibo:x:1002:hellbergadmina:x:1001:berni:x:1003:hellberg<\/p>\n<h6>Eingabe:<\/h6>\n<p>grep &lsquo;admina&rsquo; \/etc\/passwd \/etc\/group<\/p>\n<h6>Ausgabe:<\/h6>\n<p>\/etc\/passwd:admina:x:1001:1001:admina,,,:\/home\/admina:\/bin\/bash\/etc\/group:admina:x:1001:<\/p>\n<h3 id=\"tab-con-5\">Wichtige Optionen des grep Befehls<\/h3>\n<p>Im Folgenden werden einige der wichtigsten Optionen vorgestellt.<\/p>\n<h4 id=\"tab-con-0\">Rekursive Suche in allen Unterverzeichnissen<\/h4>\n<p>Mit der Option <strong>-R<\/strong> k&ouml;nnen alle Unterverzeichnisse des aktuellen Verzeichnisses oder eines angegebenen Verzeichnisses durchsucht werden.<\/p>\n<pre>grep -R [Muster] [Verzeichnis]<\/pre>\n<p>F&uuml;r jede gefundene Zeile wird der jeweilige Dateipfad angegeben.<\/p>\n<h4 id=\"tab-con-2\">Ganze W&ouml;rter suchen<\/h4>\n<p>Bei der Suche von beispielsweise &lsquo;hedv&rsquo; oder &lsquo;hellberg&rsquo; werden auch <a class=\"glossaryLink cmtt_Allgemein cmtt_Informatik\" aria-describedby=\"tt\" data-cmtooltip=\"&lt;div class=glossaryItemTitle&gt;Konkatenation&lt;\/div&gt;&lt;div class=glossaryItemBody&gt;Die Konkatenation ist die Verkn&uuml;pfung zweier Worte zu einem neuen Wort.&lt;\/div&gt;\" href=\"https:\/\/profi-tutorials.de\/linux\/glossar\/konkatenation\/\" target=\"_blank\" data-mobile-support=\"0\" data-gt-translate-attributes='[{\"attribute\":\"data-cmtooltip\", \"format\":\"html\"}]' tabindex=\"0\" role=\"link\">Konkatenationen<\/a> der Worte mit anderen W&ouml;rtern ausgegeben (z.B. &ldquo;hedvberatung&rdquo;). Um zu gew&auml;hrleisten, dass nur nach ganzen Worten gesucht wird, wird die Option <strong>-w<\/strong> angeh&auml;ngt:<\/p>\n<pre>grep -w [Muster] [Dateipfad]<\/pre>\n<h4>Zeilennummer ausgeben<\/h4>\n<p>F&uuml;r jede gefundene Zeile kann zus&auml;tzlich die Zeilennummer angezeigt werden. Dies wird durch Hinzuf&uuml;gen der Option <strong>-n<\/strong>&#8203;&#8203;&#8203;&#8203; erreicht:<\/p>\n<pre>grep -n [Muster] [Dateipfad]<\/pre>\n<p>Die Zeilennummer wird dann an den Anfang jeder ausgegebenen Zeile angeh&auml;ngt.<\/p>\n<h4>Gro&szlig;- und Kleinschreibung ignorieren<\/h4>\n<p>Bei der Suche nach einem Muster kann mit der Option <strong>-i<\/strong> die Gro&szlig;- und Kleinschreibung ignoriert werden (case-insensitive).<\/p>\n<pre>grep -i [Muster] [Dateipfad]<\/pre>\n<h4>Suche invertieren<\/h4>\n<p>Mit <strong>-v<\/strong> wird die Suche invertiert, sodass nur die <strong>nicht<\/strong> passenden Zeilen ausgegeben werden.<\/p>\n<pre>grep -v [Muster] [Dateipfad]<\/pre>\n<h2 id=\"tab-con-1\">Regul&auml;re Ausdr&uuml;cke f&uuml;r die Suche<\/h2>\n<p>Bei der Suche mit <strong>grep<\/strong> k&ouml;nnen neben einfachen Worten auch sogenannte Regul&auml;re Ausdr&uuml;cke als Such-Muster verwendet werden. Es folgt eine Liste von unterst&uuml;tzten Ausdr&uuml;cken:&nbsp;<\/p>\n<table data-rows=\"13\" data-cols=\"2\" data-v=\"middle\">\n<thead>\n<tr>\n<th style=\"\"><strong>Operator&#8203;<\/strong><\/th>\n<th style=\"\">Funktion<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td data-th=\"Operator&#8203;\" style=\"\">^<\/td>\n<td data-th=\"Funktion\" style=\"\">Zeilenanfang<\/td>\n<\/tr>\n<tr>\n<td data-th=\"Operator&#8203;\" style=\"\">$<\/td>\n<td data-th=\"Funktion\" style=\"\">Zeilenende<\/td>\n<\/tr>\n<tr>\n<td data-th=\"Operator&#8203;\" style=\"\">^$<\/td>\n<td data-th=\"Funktion\" style=\"\">Komplette Zeile<\/td>\n<\/tr>\n<tr>\n<td data-th=\"Operator&#8203;\" style=\"\">.<\/td>\n<td data-th=\"Funktion\" style=\"\">Beliebiges Zeichen<\/td>\n<\/tr>\n<tr>\n<td data-th=\"Operator&#8203;\" rowspan=\"1\" colspan=\"1\" style=\"\">*<\/td>\n<td data-th=\"Funktion\" rowspan=\"1\" colspan=\"1\" style=\"\">Beliebige Wiederholung des vorigen Zeichens<\/td>\n<\/tr>\n<tr>\n<td data-th=\"Operator&#8203;\" rowspan=\"1\" colspan=\"1\" style=\"\">.*<\/td>\n<td data-th=\"Funktion\" rowspan=\"1\" colspan=\"1\" style=\"\">Beliebige <a class=\"glossaryLink cmtt_Allgemein cmtt_Informatik\" aria-describedby=\"tt\" data-cmtooltip=\"&lt;div class=glossaryItemTitle&gt;String&lt;\/div&gt;&lt;div class=glossaryItemBody&gt;Ein String ist in der Informatik eine Zeichenkette - stellt also eine endliche Folge von Zeichen aus einem bestimmten Zeichensatz,(...)&lt;\/div&gt;&lt;div class=cmtt_synonyms_wrapper&gt;&lt;div class=cmtt_synonyms_title&gt;Synonyms: &lt;\/div&gt;&lt;div class=cmtt_synonyms&gt;Zeichenkette&lt;\/div&gt;&lt;\/div&gt;\" href=\"https:\/\/profi-tutorials.de\/linux\/glossar\/string\/\" target=\"_blank\" data-mobile-support=\"0\" data-gt-translate-attributes='[{\"attribute\":\"data-cmtooltip\", \"format\":\"html\"}]' tabindex=\"0\" role=\"link\">Zeichenkette<\/a><\/td>\n<\/tr>\n<tr>\n<td data-th=\"Operator&#8203;\" rowspan=\"1\" colspan=\"1\" style=\"\">[]<\/td>\n<td data-th=\"Funktion\" rowspan=\"1\" colspan=\"1\" style=\"\">Eines der Zeichen aus der Menge<\/td>\n<\/tr>\n<tr>\n<td data-th=\"Operator&#8203;\" rowspan=\"1\" colspan=\"1\" style=\"\">[^]<\/td>\n<td data-th=\"Funktion\" rowspan=\"1\" colspan=\"1\" style=\"\">Zeichen aus der Menge ignorieren<\/td>\n<\/tr>\n<tr>\n<td data-th=\"Operator&#8203;\" rowspan=\"1\" colspan=\"1\" style=\"\">&lt;<\/td>\n<td data-th=\"Funktion\" rowspan=\"1\" colspan=\"1\" style=\"\">Anfang eines Wortes<\/td>\n<\/tr>\n<tr>\n<td data-th=\"Operator&#8203;\" rowspan=\"1\" colspan=\"1\" style=\"\">&gt;<\/td>\n<td data-th=\"Funktion\" rowspan=\"1\" colspan=\"1\" style=\"\">Ende eines Wortes<\/td>\n<\/tr>\n<tr>\n<td data-th=\"Operator&#8203;\" rowspan=\"1\" colspan=\"1\" style=\"\">(&hellip;)<\/td>\n<td data-th=\"Funktion\" rowspan=\"1\" colspan=\"1\" style=\"\">Back-Referenz<\/td>\n<\/tr>\n<tr>\n<td data-th=\"Operator&#8203;\" rowspan=\"1\" colspan=\"1\" style=\"\">x{n}<\/td>\n<td data-th=\"Funktion\" rowspan=\"1\" colspan=\"1\" style=\"\">Exakt n-malige Wiederholung des Zeichens<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Es folgen nun einige Beispiele f&uuml;r die Anwendung von regul&auml;ren Ausdr&uuml;cken bei der Verwendung von <strong>grep<\/strong>.<\/p>\n<h5>Beispiel: .*<\/h5>\n<p>Hierbei wird der Operator <strong>.*<\/strong> vor das Wort &lsquo;hannover&rsquo; angeh&auml;ngt, um alle Zeilen auszugeben, die eine beliebige Zeichenkette mit Endung auf &lsquo;hannover&rsquo; enthalten.<\/p>\n<h6>Inhalt der Textdatei (gruppen.txt):<\/h6>\n<p>edvberatung-hannover<\/p>\n<p>hausverwaltung-isernhagen<\/p>\n<p>verwaltung-hannover<\/p>\n<p>profi-tutorials<\/p>\n<h6>Eingabe:<\/h6>\n<p>grep &lsquo;.*hannover&rsquo; gruppen.txt<\/p>\n<h6>Ausgabe:<\/h6>\n<p>edvberatung-hannover<\/p>\n<p>verwaltung-hannover<\/p>\n<h5>Beispiel: Zeilenanfang und Zeilenende<\/h5>\n<p>Hier soll nach Zeilen gesucht werden, die exakt ein Wort enthalten. Dazu werden die beiden Operatoren <strong>^<\/strong> (Zeilenanfang) und <strong>$<\/strong> (Zeilenende) verwendet.<\/p>\n<p>Es wird lediglich die Zeile zur&uuml;ckgegeben, die genau das angegebene Wort enth&auml;lt. Alle anderen Zeilen, die das Wort entweder garnicht oder neben dem Wort noch andere Zeichen enthalten, werden ignoriert.<\/p>\n<h6>Inhalt der Textdatei (gruppen.txt):<\/h6>\n<p>openschoolit<\/p>\n<p>open-schoolit<\/p>\n<p>open-school-it<\/p>\n<p>openschool-it<\/p>\n<p>open-school<\/p>\n<h6>Eingabe:<\/h6>\n<p>grep &lsquo;^open-school$&rsquo;<\/p>\n<h6>Ausgabe:<\/h6>\n<p>open-school<\/p>\n<h2 id=\"tab-con-3\">Das Video zu diesem Beitrag<\/h2>\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 grep Befehl (&#8220;Global Search for a Regular Expression and Print out matched lines&#8221;) k\u00f6nnen Dateien nach verschiedenen Mustern durchsucht werden. F\u00fcr die Suche nach \u00dcbereinstimmungen kommen sogenannte Regul\u00e4re Ausdr\u00fccke zum Einsatz. In diesem Beitrag lernen Sie die grundlegende Funktionsweise des grep Befehls, sowie einige mit dem Befehl verwendbare regul\u00e4re Ausdr\u00fccke kennen. Die 4 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":1500,"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 grep Befehl (\"<strong>G<\/strong>lobal Search for a <strong>R<\/strong>egular <strong>E<\/strong>xpression and <strong>P<\/strong>rint out matched lines\") k\u00f6nnen Dateien nach verschiedenen Mustern durchsucht werden. F\u00fcr die Suche nach \u00dcbereinstimmungen kommen sogenannte Regul\u00e4re Ausdr\u00fccke zum Einsatz.<\/p><p>In diesem Beitrag lernen Sie die grundlegende Funktionsweise des grep Befehls, sowie einige mit dem Befehl verwendbare regul\u00e4re Ausdr\u00fccke kennen, um sie in der Praxis erfolgreich umsetzen zu k\u00f6nnen.<\/p><\/div><div class=\"thrv_wrapper thrv_contents_table\" data-columns=\"2\" data-headers=\"h1,h2,h3\">\n\t<div class=\"tve_contents_table\">\n\t\t<span class=\"tve_ct_title\" style=\"\" data-css=\"tve-u-1702e39036d\">Inhaltsverzeichnis<\/span>\n\t\t<div class=\"tve_ct_content tve_clearfix\"><div class=\"ct_column sep\" style=\"width: 50%; min-height: 128px;\"><div class=\"tve_ct_level1\"><a href=\"#tab-con-8\" rel=\"nofollow\">Die 4 verschiedenen grep Befehle<\/a><\/div><div class=\"tve_ct_level1\"><a href=\"#tab-con-4\" rel=\"nofollow\">Die Suche mit grep<\/a><\/div><div class=\"tve_ct_level2\"><a href=\"#tab-con-6\" rel=\"nofollow\">Suche in mehreren Dateien<\/a><\/div><div class=\"tve_ct_level2\"><a href=\"#tab-con-5\" rel=\"nofollow\">Wichtige Optionen des grep Befehls<\/a><\/div><\/div><div class=\"ct_column\" style=\"width: 50%; min-height: 128px;\"><div class=\"tve_ct_level1\"><a href=\"#tab-con-1\" rel=\"nofollow\">Regul\u00e4re Ausdr\u00fccke f\u00fcr die Suche<\/a><\/div><div class=\"tve_ct_level1\"><a href=\"#tab-con-3\" rel=\"nofollow\">Das Video zu diesem Beitrag<\/a><\/div><\/div><\/div>\n\t<\/div>\n<\/div><div class=\"thrv_wrapper thrv_text_element\"><h2 class=\"\" id=\"tab-con-8\">Die 4 verschiedenen grep Befehle<\/h2><p>Neben dem normalen&nbsp;<strong>grep<\/strong> gibt es mittlerweile noch einige weitere Befehle mit \u00e4hnlicher Funktionsweise. Dazu geh\u00f6ren die folgenden drei:<\/p><\/div><div class=\"thrv_wrapper thrv-styled_list tcb-icon-display\" data-icon-code=\"icon-angle-double-right-regular\"><ul class=\"tcb-styled-list\"><li class=\"thrv-styled-list-item\" data-css=\"tve-u-1702e42aec1\"><div class=\"tcb-styled-list-icon\"><div class=\"thrv_wrapper thrv_icon tve_no_drag tcb-no-delete tcb-no-clone tcb-no-save tcb-icon-inherit-style\"><svg class=\"tcb-icon\" viewBox=\"0 0 384 512\" data-id=\"icon-angle-double-right-regular\" data-name=\"\">\n            <path d=\"M363.8 264.5L217 412.5c-4.7 4.7-12.3 4.7-17 0l-19.8-19.8c-4.7-4.7-4.7-12.3 0-17L298.7 256 180.2 136.3c-4.7-4.7-4.7-12.3 0-17L200 99.5c4.7-4.7 12.3-4.7 17 0l146.8 148c4.7 4.7 4.7 12.3 0 17zm-160-17L57 99.5c-4.7-4.7-12.3-4.7-17 0l-19.8 19.8c-4.7 4.7-4.7 12.3 0 17L138.7 256 20.2 375.7c-4.7 4.7-4.7 12.3 0 17L40 412.5c4.7 4.7 12.3 4.7 17 0l146.8-148c4.7-4.7 4.7-12.3 0-17z\"><\/path>\n        <\/svg><\/div><\/div><span class=\"thrv-advanced-inline-text tve_editable tcb-styled-list-icon-text tcb-no-delete tcb-no-save\" data-css=\"tve-u-1702e3c6517\">egrep (\"extended grep\")<\/span><\/li><li class=\"thrv-styled-list-item\" data-css=\"tve-u-1702e42aec1\"><div class=\"tcb-styled-list-icon\"><div class=\"thrv_wrapper thrv_icon tve_no_drag tcb-no-delete tcb-no-clone tcb-no-save tcb-icon-inherit-style\"><svg class=\"tcb-icon\" viewBox=\"0 0 384 512\" data-id=\"icon-angle-double-right-regular\" data-name=\"\">\n            <path d=\"M363.8 264.5L217 412.5c-4.7 4.7-12.3 4.7-17 0l-19.8-19.8c-4.7-4.7-4.7-12.3 0-17L298.7 256 180.2 136.3c-4.7-4.7-4.7-12.3 0-17L200 99.5c4.7-4.7 12.3-4.7 17 0l146.8 148c4.7 4.7 4.7 12.3 0 17zm-160-17L57 99.5c-4.7-4.7-12.3-4.7-17 0l-19.8 19.8c-4.7 4.7-4.7 12.3 0 17L138.7 256 20.2 375.7c-4.7 4.7-4.7 12.3 0 17L40 412.5c4.7 4.7 12.3 4.7 17 0l146.8-148c4.7-4.7 4.7-12.3 0-17z\"><\/path>\n        <\/svg><\/div><\/div><span class=\"thrv-advanced-inline-text tve_editable tcb-styled-list-icon-text tcb-no-delete tcb-no-save\" data-css=\"tve-u-1702e3c6517\">fgrep (\"fixed grep\") oder (\"faster grep\")<\/span><\/li><li class=\"thrv-styled-list-item\" data-css=\"tve-u-1702e42aec1\"><div class=\"tcb-styled-list-icon\"><div class=\"thrv_wrapper thrv_icon tve_no_drag tcb-no-delete tcb-no-clone tcb-no-save tcb-icon-inherit-style\"><svg class=\"tcb-icon\" viewBox=\"0 0 384 512\" data-id=\"icon-angle-double-right-regular\" data-name=\"\">\n            <path d=\"M363.8 264.5L217 412.5c-4.7 4.7-12.3 4.7-17 0l-19.8-19.8c-4.7-4.7-4.7-12.3 0-17L298.7 256 180.2 136.3c-4.7-4.7-4.7-12.3 0-17L200 99.5c4.7-4.7 12.3-4.7 17 0l146.8 148c4.7 4.7 4.7 12.3 0 17zm-160-17L57 99.5c-4.7-4.7-12.3-4.7-17 0l-19.8 19.8c-4.7 4.7-4.7 12.3 0 17L138.7 256 20.2 375.7c-4.7 4.7-4.7 12.3 0 17L40 412.5c4.7 4.7 12.3 4.7 17 0l146.8-148c4.7-4.7 4.7-12.3 0-17z\"><\/path>\n        <\/svg><\/div><\/div><span class=\"thrv-advanced-inline-text tve_editable tcb-styled-list-icon-text tcb-no-delete tcb-no-save\" data-css=\"tve-u-1702e3c6517\">rgrep (\"recursive grep\")<\/span><\/li><\/ul><\/div><div class=\"thrv_wrapper thrv_text_element\"><p>Die 3 Abwandlungen unterscheiden sich von dem herk\u00f6mmlichen <strong>grep<\/strong> in der Verf\u00fcgbarkeit weiterer Ausdr\u00fccke (<strong>egrep<\/strong>), der Such-Geschwindigkeit (<strong>fgrep<\/strong>) und der M\u00f6glichkeit f\u00fcr rekursive Suchen in Unterverzeichnissen (<strong>rgrep<\/strong>).&nbsp;<\/p><p>In diesem Beitrag wird jedoch zun\u00e4chst nur der klassische <strong>grep<\/strong> Befehl behandelt.<\/p><\/div><div class=\"thrv_wrapper thrv_text_element\"><h2 class=\"\" id=\"tab-con-4\">Die Suche mit grep<\/h2><p>Bei der Suche mit <strong>grep<\/strong> wird die folgende Syntax verwendet:<\/p><p>[code]grep [Optionen] [Muster] [Dateipfad][\/code]<\/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-1702e513098\"><\/div>\n\t<div class=\"tve-cb\"><div class=\"thrv_wrapper thrv_text_element\" data-css=\"tve-u-1702e513097\" style=\"\"><h5 class=\"\" data-css=\"tve-u-1702e513095\">Beispiel: Suche nach einem Wort<\/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-1702e513099\" style=\"\">\n\t<hr class=\"tve_sep tve_sep-1\" style=\"\">\n<\/div><div class=\"thrv_wrapper thrv_text_element\"><p data-css=\"tve-u-1702e5141c1\">Bei diesem Beispiel soll die Datei \"gruppen.txt\" nach dem Wort 'it' durchsucht werden. <strong>grep<\/strong> gibt alle Zeilen zur\u00fcck, in denen das Wort aufzufinden ist.<\/p><\/div><div class=\"thrv_wrapper thrv_text_element\"><h6 class=\"\">Inhalt der Textdatei (gruppen.txt):<\/h6><\/div><div class=\"thrv_wrapper thrv_text_element\" style=\"\" data-css=\"tve-u-1702e51309d\"><p data-css=\"tve-u-1702e51309c\">it-consulting-hannover<br>immobilienservice-hannover<br>open-school-it<br>online-kurse<br>miete-hannover<\/p><\/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-1702e51309d\"><p data-css=\"tve-u-1702e51309c\">grep 'it' gruppen.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-1702e51309a\"><p data-css=\"tve-u-1702e51309e\">it-consulting-hannover<br>open-school-it<\/p><\/div><\/div>\n<\/div><div class=\"thrv_wrapper thrv_text_element\"><h3 class=\"\" id=\"tab-con-6\">Suche in mehreren Dateien<\/h3><p>Es k\u00f6nnen auch mehrere Dateipfade hintereinander angegeben werden, um in allen angegebenen Dateien gleichzeitig nach einem Muster zu suchen. Die Dateipfade werden hintereinander, durch Leerzeichen getrennt, aufgelistet:<\/p><p>[code]grep [Optionen] [Muster] [Dateipfad] [Dateipfad] ...[\/code]<\/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-1702e513098\"><\/div>\n\t<div class=\"tve-cb\"><div class=\"thrv_wrapper thrv_text_element\" data-css=\"tve-u-1702e513097\" style=\"\"><h5 class=\"\" data-css=\"tve-u-1702e513095\">Beispiel: Suche nach einem Wort in mehreren Dateien<\/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-1702e513099\" style=\"\">\n\t<hr class=\"tve_sep tve_sep-1\" style=\"\">\n<\/div><div class=\"thrv_wrapper thrv_text_element tve-froala fr-box fr-basic\"><p data-css=\"tve-u-1702e5141c1\">Hier sollen die beiden Dateien <strong>\/etc\/passwd<\/strong> und <strong>\/etc\/group<\/strong> nach dem Benutzer 'admina' durchsucht werden. Dazu werden f\u00fcr <strong>grep<\/strong> gleich beide Dateipfade angegeben.<\/p><p data-css=\"tve-u-1702e5141c1\">Falls Sie mehr \u00fcber die <strong>\/etc\/passwd<\/strong> bzw. <strong>\/etc\/group<\/strong> erfahren wollen, sehen Sie sich auch <a class=\"tve-froala\" href=\"https:\/\/profi-tutorials.de\/linux\/grundlagen\/benutzer-gruppen-linux\/\" style=\"outline: none;\" target=\"_blank\">unseren Beitrag dazu<\/a> an.<\/p><\/div><div class=\"thrv_wrapper thrv_text_element\"><h6 class=\"\">Ausschnitt aus \/etc\/passwd:<\/h6><\/div><div class=\"thrv_wrapper thrv_text_element\" style=\"\" data-css=\"tve-u-1702e51309d\"><p data-css=\"tve-u-1702e51309c\">hellberg:x:1000:1000:hellberg,,,:\/home\/hellberg:\/bin\/bash<br>admina:x:1001:1001:admina,,,:\/home\/admina:\/bin\/bash<br>bibo:x:1006:1002:,,,:\/home\/bibo:\/bin\/bash<\/p><p data-css=\"tve-u-1702e51309c\">berni:x:1003:1003:,,,:\/home\/berni:\/bin\/bash<\/p><\/div><div class=\"thrv_wrapper thrv_text_element\"><h6 class=\"\">Ausschnitt aus \/etc\/group:<\/h6><\/div><div class=\"thrv_wrapper thrv_text_element\" style=\"\" data-css=\"tve-u-1702e51309d\"><p data-css=\"tve-u-1702e51309c\">hellberg:x:1000:<br>bibo:x:1002:hellberg<br>admina:x:1001:<br>berni:x:1003:hellberg<\/p><\/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-1702e51309d\"><p data-css=\"tve-u-1702e51309c\">grep 'admina' \/etc\/passwd \/etc\/group<\/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-1702e51309a\"><p data-css=\"tve-u-1702e51309e\">\/etc\/passwd:admina:x:1001:1001:admina,,,:\/home\/admina:\/bin\/bash<br>\/etc\/group:admina:x:1001:<\/p><\/div><\/div>\n<\/div><div class=\"thrv_wrapper thrv_text_element\"><h3 class=\"\" id=\"tab-con-5\">Wichtige Optionen des grep Befehls<\/h3><p>Im Folgenden werden einige der wichtigsten Optionen vorgestellt.<\/p><h4 class=\"\" id=\"tab-con-0\">Rekursive Suche in allen Unterverzeichnissen<\/h4><p>Mit der Option <strong>-R<\/strong> k\u00f6nnen alle Unterverzeichnisse des aktuellen Verzeichnisses oder eines angegebenen Verzeichnisses durchsucht werden.<\/p><p>[code]grep -R [Muster] [Verzeichnis][\/code]<\/p><p>F\u00fcr jede gefundene Zeile wird der jeweilige Dateipfad angegeben.<\/p><h4 class=\"\" id=\"tab-con-2\">Ganze W\u00f6rter suchen<\/h4><p>Bei der Suche von beispielsweise 'hedv' oder 'hellberg' werden auch Konkatenationen der Worte mit anderen W\u00f6rtern ausgegeben (z.B. \"hedvberatung\"). Um zu gew\u00e4hrleisten, dass nur nach ganzen Worten gesucht wird, wird die Option <strong>-w<\/strong> angeh\u00e4ngt:<\/p><p>[code]grep -w [Muster] [Dateipfad][\/code]<\/p><h4 class=\"\">Zeilennummer ausgeben<\/h4><p>F\u00fcr jede gefundene Zeile kann zus\u00e4tzlich die Zeilennummer angezeigt werden. Dies wird durch Hinzuf\u00fcgen der Option <strong>-n<\/strong>\u200b\u200b\u200b\u200b erreicht:<\/p><p>[code]grep -n [Muster] [Dateipfad][\/code]<\/p><p>Die Zeilennummer wird dann an den Anfang jeder ausgegebenen Zeile angeh\u00e4ngt.<\/p><h4 class=\"\">Gro\u00df- und Kleinschreibung ignorieren<\/h4><p>Bei der Suche nach einem Muster kann mit der Option <strong>-i<\/strong> die Gro\u00df- und Kleinschreibung ignoriert werden (case-insensitive).<\/p><p>[code]grep -i [Muster] [Dateipfad][\/code]<\/p><h4 class=\"\">Suche invertieren<\/h4><p>Mit <strong>-v<\/strong> wird die Suche invertiert, sodass nur die <strong>nicht<\/strong> passenden Zeilen ausgegeben werden.<\/p><p>[code]grep -v [Muster] [Dateipfad][\/code]<\/p><\/div><div class=\"thrv_wrapper thrv_text_element\"><h2 class=\"\" id=\"tab-con-1\">Regul\u00e4re Ausdr\u00fccke f\u00fcr die Suche<\/h2><p>Bei der Suche mit <strong>grep<\/strong> k\u00f6nnen neben einfachen Worten auch sogenannte Regul\u00e4re Ausdr\u00fccke als Such-Muster verwendet werden. Es folgt eine Liste von unterst\u00fctzten Ausdr\u00fccken:&nbsp;<\/p><\/div><div class=\"thrv_wrapper thrv_table tcb-fixed tcb-mobile-table\" data-ct-name=\"Simple 01\" data-ct=\"table-37694\" data-element-name=\"Table\" data-css=\"tve-u-1702ecf6b83\"><table data-rows=\"13\" data-cols=\"2\" class=\"tve_table tcb-fixed tve_table_flat\" data-css=\"tve-u-1702ecf6b85\" data-v=\"middle\"><thead data-css=\"tve-u-1702ecf6b86\"><tr class=\"tve_table_row\"><th class=\"tve_table_cell\" style=\"\" data-css=\"tve-u-1702ed69b37\"><div class=\"thrv_wrapper thrv_text_element\" data-css=\"tve-u-1702ecf6b87\"><p data-css=\"tve-u-1702ecf6b88\"><strong>Operator\u200b<\/strong><\/p><\/div><\/th><th class=\"tve_table_cell\" style=\"\" data-css=\"tve-u-1702eea2d74\"><div class=\"thrv_wrapper thrv_text_element\"><p data-css=\"tve-u-1702f7749b0\">Funktion<\/p><\/div><\/th><\/tr><\/thead><tbody data-css=\"tve-u-1702ecf6b8d\"><tr class=\"tve_table_row\"><td class=\"tve_table_cell\" data-th=\"Operator\u200b\" data-css=\"tve-u-1702ecf6b8e\" style=\"\"><div class=\"thrv_wrapper thrv_text_element\" data-css=\"tve-u-1702ecf6b8f\"><p>^<\/p><\/div><\/td><td class=\"tve_table_cell\" data-th=\"Funktion\" data-css=\"tve-u-1702ecf6b92\" style=\"\"><div class=\"thrv_wrapper thrv_text_element\" data-css=\"tve-u-1702ecf6b8f\"><p>Zeilenanfang<\/p><\/div><\/td><\/tr><tr class=\"tve_table_row\"><td class=\"tve_table_cell\" data-th=\"Operator\u200b\" data-css=\"tve-u-1702ecf6b95\" style=\"\"><div class=\"thrv_wrapper thrv_text_element\" data-css=\"tve-u-1702ecf6b8f\"><p>$<\/p><\/div><\/td><td class=\"tve_table_cell\" data-th=\"Funktion\" data-css=\"tve-u-1702ecf6b97\" style=\"\"><div class=\"thrv_wrapper thrv_text_element\" data-css=\"tve-u-1702ecf6b8f\"><p>Zeilenende<\/p><\/div><\/td><\/tr><tr class=\"tve_table_row\"><td class=\"tve_table_cell\" data-th=\"Operator\u200b\" data-css=\"tve-u-1702ecf6b9a\" style=\"\"><div class=\"thrv_wrapper thrv_text_element\" data-css=\"tve-u-1702ecf6b8f\"><p>^$<\/p><\/div><\/td><td class=\"tve_table_cell\" data-th=\"Funktion\" data-css=\"tve-u-1702ecf6b9c\" style=\"\"><div class=\"thrv_wrapper thrv_text_element\" data-css=\"tve-u-1702ecf6b8f\"><p>Komplette Zeile<\/p><\/div><\/td><\/tr><tr class=\"tve_table_row\"><td class=\"tve_table_cell\" data-th=\"Operator\u200b\" data-css=\"tve-u-1702ee85d2f\" style=\"\"><div class=\"thrv_wrapper thrv_text_element\" data-css=\"tve-u-1702ecf6b8f\"><p>.<\/p><\/div><\/td><td class=\"tve_table_cell\" data-th=\"Funktion\" data-css=\"tve-u-1702ee85d57\" style=\"\"><div class=\"thrv_wrapper thrv_text_element\" data-css=\"tve-u-1702ecf6b8f\"><p>Beliebiges Zeichen<\/p><\/div><\/td><\/tr><tr class=\"tve_table_row\"><td class=\"tve_table_cell\" data-th=\"Operator\u200b\" data-css=\"tve-u-1702ee85d31\" rowspan=\"1\" colspan=\"1\" style=\"\"><div class=\"thrv_wrapper thrv_text_element\" data-css=\"tve-u-1702ecf6b8f\"><p>*<\/p><\/div><\/td><td class=\"tve_table_cell\" data-th=\"Funktion\" data-css=\"tve-u-1702ee85d59\" rowspan=\"1\" colspan=\"1\" style=\"\"><div class=\"thrv_wrapper thrv_text_element\" data-css=\"tve-u-1702ecf6b8f\"><p>Beliebige Wiederholung des vorigen Zeichens<\/p><\/div><\/td><\/tr><tr class=\"tve_table_row\"><td class=\"tve_table_cell\" data-th=\"Operator\u200b\" data-css=\"tve-u-1702ee85d33\" rowspan=\"1\" colspan=\"1\" style=\"\"><div class=\"thrv_wrapper thrv_text_element\" data-css=\"tve-u-1702ecf6b8f\"><p>.*<\/p><\/div><\/td><td class=\"tve_table_cell\" data-th=\"Funktion\" data-css=\"tve-u-1702ee85d5b\" rowspan=\"1\" colspan=\"1\" style=\"\"><div class=\"thrv_wrapper thrv_text_element\" data-css=\"tve-u-1702ecf6b8f\"><p>Beliebige Zeichenkette<\/p><\/div><\/td><\/tr><tr class=\"tve_table_row\"><td class=\"tve_table_cell\" data-th=\"Operator\u200b\" data-css=\"tve-u-1702ee85d35\" rowspan=\"1\" colspan=\"1\" style=\"\"><div class=\"thrv_wrapper thrv_text_element\" data-css=\"tve-u-1702ecf6b8f\"><p>[]<\/p><\/div><\/td><td class=\"tve_table_cell\" data-th=\"Funktion\" data-css=\"tve-u-1702ee85d5d\" rowspan=\"1\" colspan=\"1\" style=\"\"><div class=\"thrv_wrapper thrv_text_element\" data-css=\"tve-u-1702ecf6b8f\"><p>Eines der Zeichen aus der Menge<\/p><\/div><\/td><\/tr><tr class=\"tve_table_row\"><td class=\"tve_table_cell\" data-th=\"Operator\u200b\" data-css=\"tve-u-1702ee85d37\" rowspan=\"1\" colspan=\"1\" style=\"\"><div class=\"thrv_wrapper thrv_text_element\" data-css=\"tve-u-1702ecf6b8f\"><p>[^]<\/p><\/div><\/td><td class=\"tve_table_cell\" data-th=\"Funktion\" data-css=\"tve-u-1702ee85d5f\" rowspan=\"1\" colspan=\"1\" style=\"\"><div class=\"thrv_wrapper thrv_text_element\" data-css=\"tve-u-1702ecf6b8f\"><p>Zeichen aus der Menge ignorieren<\/p><\/div><\/td><\/tr><tr class=\"tve_table_row\"><td class=\"tve_table_cell\" data-th=\"Operator\u200b\" data-css=\"tve-u-1702ee85d39\" rowspan=\"1\" colspan=\"1\" style=\"\"><div class=\"thrv_wrapper thrv_text_element\" data-css=\"tve-u-1702ecf6b8f\"><p>\\&lt;<\/p><\/div><\/td><td class=\"tve_table_cell\" data-th=\"Funktion\" data-css=\"tve-u-1702ee85d61\" rowspan=\"1\" colspan=\"1\" style=\"\"><div class=\"thrv_wrapper thrv_text_element\" data-css=\"tve-u-1702ecf6b8f\"><p>Anfang eines Wortes<\/p><\/div><\/td><\/tr><tr class=\"tve_table_row\"><td class=\"tve_table_cell\" data-th=\"Operator\u200b\" data-css=\"tve-u-1702ee85d3b\" rowspan=\"1\" colspan=\"1\" style=\"\"><div class=\"thrv_wrapper thrv_text_element\" data-css=\"tve-u-1702ecf6b8f\"><p>\\&gt;<\/p><\/div><\/td><td class=\"tve_table_cell\" data-th=\"Funktion\" data-css=\"tve-u-1702ee85d63\" rowspan=\"1\" colspan=\"1\" style=\"\"><div class=\"thrv_wrapper thrv_text_element\" data-css=\"tve-u-1702ecf6b8f\"><p>Ende eines Wortes<\/p><\/div><\/td><\/tr><tr class=\"tve_table_row\"><td class=\"tve_table_cell\" data-th=\"Operator\u200b\" data-css=\"tve-u-1702ee85d3c\" rowspan=\"1\" colspan=\"1\" style=\"\"><div class=\"thrv_wrapper thrv_text_element\" data-css=\"tve-u-1702ecf6b8f\"><p>\\(...\\)<\/p><\/div><\/td><td class=\"tve_table_cell\" data-th=\"Funktion\" data-css=\"tve-u-1702ee85d65\" rowspan=\"1\" colspan=\"1\" style=\"\"><div class=\"thrv_wrapper thrv_text_element\" data-css=\"tve-u-1702ecf6b8f\"><p>Back-Referenz<\/p><\/div><\/td><\/tr><tr class=\"tve_table_row\"><td class=\"tve_table_cell\" data-th=\"Operator\u200b\" data-css=\"tve-u-1702ee85d3e\" rowspan=\"1\" colspan=\"1\" style=\"\"><div class=\"thrv_wrapper thrv_text_element\" data-css=\"tve-u-1702ecf6b8f\"><p>x\\{n\\}<\/p><\/div><\/td><td class=\"tve_table_cell\" data-th=\"Funktion\" data-css=\"tve-u-1702ee85d67\" rowspan=\"1\" colspan=\"1\" style=\"\"><div class=\"thrv_wrapper thrv_text_element\" data-css=\"tve-u-1702ecf6b8f\"><p>Exakt n-malige Wiederholung des Zeichens<\/p><\/div><\/td><\/tr><\/tbody><\/table><\/div><div class=\"thrv_wrapper thrv_text_element\"><p>Es folgen nun einige Beispiele f\u00fcr die Anwendung von regul\u00e4ren Ausdr\u00fccken bei der Verwendung von <strong>grep<\/strong>.<\/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-1702e513098\"><\/div>\n\t<div class=\"tve-cb\"><div class=\"thrv_wrapper thrv_text_element\" data-css=\"tve-u-1702e513097\" style=\"\"><h5 class=\"\" data-css=\"tve-u-1702e513095\">Beispiel: .*<\/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-1702e513099\" style=\"\">\n\t<hr class=\"tve_sep tve_sep-1\" style=\"\">\n<\/div><div class=\"thrv_wrapper thrv_text_element\"><p data-css=\"tve-u-1702e5141c1\">Hierbei wird der Operator <strong>.*<\/strong> vor das Wort 'hannover' angeh\u00e4ngt, um alle Zeilen auszugeben, die eine beliebige Zeichenkette mit Endung auf 'hannover' enthalten.<\/p><\/div><div class=\"thrv_wrapper thrv_text_element\"><h6 class=\"\">Inhalt der Textdatei (gruppen.txt):<\/h6><\/div><div class=\"thrv_wrapper thrv_text_element\" style=\"\" data-css=\"tve-u-1702e51309d\"><p data-css=\"tve-u-1702e51309c\">edvberatung-hannover<\/p><p data-css=\"tve-u-1702e51309c\">hausverwaltung-isernhagen<\/p><p data-css=\"tve-u-1702e51309c\">verwaltung-hannover<\/p><p data-css=\"tve-u-1702e51309c\">profi-tutorials<\/p><\/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-1702e51309d\"><p data-css=\"tve-u-1702e51309c\">grep '.*hannover' gruppen.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-1702e51309a\"><p data-css=\"tve-u-1702e51309e\">edvberatung-hannover<\/p><p data-css=\"tve-u-1702e51309e\">verwaltung-hannover<\/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-1702e513098\"><\/div>\n\t<div class=\"tve-cb\"><div class=\"thrv_wrapper thrv_text_element\" data-css=\"tve-u-1702e513097\" style=\"\"><h5 class=\"\" data-css=\"tve-u-1702e513095\">Beispiel: Zeilenanfang und Zeilenende<\/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-1702e513099\" style=\"\">\n\t<hr class=\"tve_sep tve_sep-1\" style=\"\">\n<\/div><div class=\"thrv_wrapper thrv_text_element\"><p data-css=\"tve-u-1702e5141c1\">Hier soll nach Zeilen gesucht werden, die exakt ein Wort enthalten. Dazu werden die beiden Operatoren <strong>^<\/strong> (Zeilenanfang) und <strong>$<\/strong> (Zeilenende) verwendet.<\/p><p data-css=\"tve-u-1702e5141c1\">Es wird lediglich die Zeile zur\u00fcckgegeben, die genau das angegebene Wort enth\u00e4lt. Alle anderen Zeilen, die das Wort entweder garnicht oder neben dem Wort noch andere Zeichen enthalten, werden ignoriert.<\/p><\/div><div class=\"thrv_wrapper thrv_text_element\"><h6 class=\"\">Inhalt der Textdatei (gruppen.txt):<\/h6><\/div><div class=\"thrv_wrapper thrv_text_element\" style=\"\" data-css=\"tve-u-1702e51309d\"><p data-css=\"tve-u-1702e51309c\">openschoolit<\/p><p data-css=\"tve-u-1702e51309c\">open-schoolit<\/p><p data-css=\"tve-u-1702e51309c\">open-school-it<\/p><p data-css=\"tve-u-1702e51309c\">openschool-it<\/p><p data-css=\"tve-u-1702e51309c\">open-school<\/p><\/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-1702e51309d\"><p data-css=\"tve-u-1702e51309c\">grep '^open-school$'<\/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-1702e51309a\"><p data-css=\"tve-u-1702e51309e\">open-school<\/p><\/div><\/div>\n<\/div><div class=\"thrv_wrapper thrv_contentbox_shortcode thrv-content-box tve-elem-default-pad\" style=\"padding-bottom: 0px !important; padding-left: 0px !important;\" data-css=\"tve-u-17064427a78\">\n\t<div class=\"tve-content-box-background\"><\/div>\n\t<div class=\"tve-cb\"><div class=\"thrv_wrapper thrv_text_element\"><h2 class=\"\" id=\"tab-con-3\">Das Video zu diesem Beitrag<\/h2><\/div><div class=\"thrv_wrapper thrv-button tve_ea_thrive_video\" data-css=\"tve-u-17064427a76\" data-tcb_hover_state_parent=\"\" data-button-style=\"border_1\">\n\t<a href=\"\" class=\"tcb-button-link tve_evt_manager_listen tve_et_click\" data-tcb-events=\"__TCB_EVENT_[{&quot;config&quot;:{&quot;s&quot;:&quot;youtube&quot;,&quot;p&quot;:{&quot;a&quot;:true,&quot;id&quot;:&quot;zlvohyCie6g&quot;,&quot;url&quot;:&quot;https:\/\/youtu.be\/zlvohyCie6g&quot;}},&quot;a&quot;:&quot;thrive_video&quot;,&quot;t&quot;:&quot;click&quot;}]_TNEVE_BCT__\" style=\"\">\n\t\t<span class=\"tcb-button-texts\">Starte das Video...<\/span>\n\t<\/a>\n<\/div><\/div>\n<\/div><div class=\"thrv_wrapper thrv_contentbox_shortcode thrv-content-box tve-elem-default-pad\" style=\"\" data-css=\"tve-u-170d3a83546\">\n\t<div class=\"tve-content-box-background\" style=\"\" data-css=\"tve-u-170d3a8354a\"><\/div>\n\t<div class=\"tve-cb\"><div class=\"thrv_wrapper thrv_text_element\" style=\"\" data-css=\"tve-u-170d3a83549\"><p data-css=\"tve-u-170d3a83545\" 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-170d3a8354b\" 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-170d3a83548\"><p data-css=\"tve-u-170d3a8354c\" 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-170d3a8354e\" 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-170d3a8354f\"><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-1702e39036d\"] { background-color: var(--tcb-color-3); }:not(#tve) [data-css=\"tve-u-1702e513095\"] { padding-top: 0px !important; margin-top: 0px !important; }[data-css=\"tve-u-1702e513097\"] { overflow: hidden; background-color: transparent !important; background-image: none !important; border-radius: 0px !important; }[data-css=\"tve-u-1702e513098\"] { 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-1702e513099\"] .tve_sep { border-width: 2px !important; border-color: rgb(66, 66, 66) !important; }[data-css=\"tve-u-1702e513099\"] { padding-top: 0px !important; padding-bottom: 10px !important; }[data-css=\"tve-u-1702e51309a\"] { 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-1702e51309c\"] { 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-1702e51309d\"] { 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-1702e51309e\"] { 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-1702e5141c1\"] { padding-bottom: 0px !important; margin-bottom: 0px !important; }:not(#tve) [data-css=\"tve-u-1702ecf6b85\"] { border: 1px solid rgb(220, 227, 233); }:not(#tve) [data-css=\"tve-u-1702ecf6b83\"] > .tve_table > thead > tr > th { background-color: var(--tcb-color-3); }:not(#tve) [data-css=\"tve-u-1702ecf6b83\"] > .tve_table > tbody > tr:nth-child(2n) > td { background-color: rgb(246, 246, 246); }:not(#tve) [data-css=\"tve-u-1702ecf6b83\"] > .tve_table > tbody > tr:nth-child(2n+1) > td { background-color: rgb(255, 255, 255); }:not(#tve) [data-css=\"tve-u-1702ecf6b86\"] p, :not(#tve) [data-css=\"tve-u-1702ecf6b86\"] li, :not(#tve) [data-css=\"tve-u-1702ecf6b86\"] blockquote, :not(#tve) [data-css=\"tve-u-1702ecf6b86\"] address, :not(#tve) [data-css=\"tve-u-1702ecf6b86\"] .tcb-plain-text, :not(#tve) [data-css=\"tve-u-1702ecf6b86\"] label, :not(#tve) [data-css=\"tve-u-1702ecf6b86\"] h1, :not(#tve) [data-css=\"tve-u-1702ecf6b86\"] h2, :not(#tve) [data-css=\"tve-u-1702ecf6b86\"] h3, :not(#tve) [data-css=\"tve-u-1702ecf6b86\"] h4, :not(#tve) [data-css=\"tve-u-1702ecf6b86\"] h5, :not(#tve) [data-css=\"tve-u-1702ecf6b86\"] h6 { color: rgb(255, 255, 255); }:not(#tve) [data-css=\"tve-u-1702ecf6b8d\"] p, :not(#tve) [data-css=\"tve-u-1702ecf6b8d\"] li, :not(#tve) [data-css=\"tve-u-1702ecf6b8d\"] blockquote, :not(#tve) [data-css=\"tve-u-1702ecf6b8d\"] address, :not(#tve) [data-css=\"tve-u-1702ecf6b8d\"] .tcb-plain-text, :not(#tve) [data-css=\"tve-u-1702ecf6b8d\"] label, :not(#tve) [data-css=\"tve-u-1702ecf6b8d\"] h1, :not(#tve) [data-css=\"tve-u-1702ecf6b8d\"] h2, :not(#tve) [data-css=\"tve-u-1702ecf6b8d\"] h3, :not(#tve) [data-css=\"tve-u-1702ecf6b8d\"] h4, :not(#tve) [data-css=\"tve-u-1702ecf6b8d\"] h5, :not(#tve) [data-css=\"tve-u-1702ecf6b8d\"] h6 { color: rgb(84, 85, 88); }[data-css=\"tve-u-1702ecf6b83\"] .tve_table td, [data-css=\"tve-u-1702ecf6b83\"] .tve_table th { padding: 0px; text-align: center; vertical-align: middle; }:not(#tve) [data-css=\"tve-u-1702ecf6b88\"] { font-size: 16px !important; font-family: \"Open Sans\" !important; font-weight: 400 !important; }[data-css=\"tve-u-1702ecf6b88\"] strong { font-weight: 600 !important; }:not(#tve) [data-css=\"tve-u-1702ecf6b85\"] > tbody > tr > td { border: 0px none rgb(220, 227, 233); }:not(#tve) [data-css=\"tve-u-1702ecf6b85\"] > thead > tr > th { border: 1px solid var(--tcb-color-3); }:not(#tve) [data-css=\"tve-u-1702ed69b37\"] { width: 97px; }:not(#tve) [data-css=\"tve-u-1702f7749b0\"] { font-size: 16px !important; }[data-css=\"tve-u-17064427a76\"] .tcb-button-link { border-bottom: 4px solid rgb(33, 72, 112); border-radius: 4px; border-top-color: rgb(220, 220, 220); border-right-color: rgb(220, 220, 220); border-left-color: rgb(220, 220, 220); background-image: none !important; background-color: rgb(51, 103, 153) !important; }:not(#tve) [data-css=\"tve-u-17064427a76\"]:hover .tcb-button-link { background-color: rgb(41, 84, 127) !important; }[data-css=\"tve-u-17064427a78\"] { margin-top: 0px !important; margin-bottom: 0px !important; padding: 0px !important; }:not(#tve) [data-css=\"tve-u-170d3a83545\"] { 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-170d3a83546\"] { padding: 10px !important; }[data-css=\"tve-u-170d3a83548\"] { margin-left: 0px !important; margin-right: 0px !important; padding-right: 30px !important; padding-left: 30px !important; }[data-css=\"tve-u-170d3a83549\"] { margin-right: 0px !important; margin-left: 0px !important; }[data-css=\"tve-u-170d3a8354a\"] { 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-170d3a8354b\"] .tve_sep { border-width: 3px !important; border-color: rgb(70, 70, 70) !important; }[data-css=\"tve-u-170d3a8354b\"] { padding-top: 0px !important; }:not(#tve) [data-css=\"tve-u-170d3a8354c\"] { 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-170d3a8354e\"] { float: none; border: none; max-width: 500px !important; margin-left: auto !important; margin-right: auto !important; }:not(#tve) [data-css=\"tve-u-170d3a8354f\"] 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-170d3a8354f\"]: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-170d3a8354f\"] { --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; }}@media (max-width: 767px){.tcb-mobile-table [data-css=\"tve-u-1702ecf6b8e\"]::before { background-color: rgb(51, 103, 153); border-right: 1px solid rgb(51, 103, 153); padding: 0px; text-align: center; font-size: 16px; line-height: 32px; color: rgb(255, 255, 255); font-weight: 400; font-family: \"Open Sans\"; }.tcb-mobile-table [data-css=\"tve-u-1702ecf6b95\"]::before { background-color: rgb(51, 103, 153); border-right: 1px solid rgb(51, 103, 153); padding: 0px; text-align: center; font-size: 16px; line-height: 32px; color: rgb(255, 255, 255); font-weight: 400; font-family: \"Open Sans\"; }.tcb-mobile-table [data-css=\"tve-u-1702ecf6b9a\"]::before { background-color: rgb(51, 103, 153); border-right: 1px solid rgb(51, 103, 153); padding: 0px; text-align: center; font-size: 16px; line-height: 32px; color: rgb(255, 255, 255); font-weight: 400; font-family: \"Open Sans\"; }.tcb-mobile-table [data-css=\"tve-u-1702ecf6b92\"]::before { background-color: rgb(51, 103, 153); border-right: 1px solid rgb(51, 103, 153); padding: 0px; text-align: center; font-size: 16px; line-height: 32px; color: rgb(255, 255, 255); font-weight: 700; font-family: \"Open Sans\", sans-serif; }.tcb-mobile-table [data-css=\"tve-u-1702ecf6b97\"]::before { background-color: rgb(51, 103, 153); border-right: 1px solid rgb(51, 103, 153); padding: 0px; text-align: center; font-size: 16px; line-height: 32px; color: rgb(255, 255, 255); font-weight: 700; font-family: \"Open Sans\", sans-serif; }.tcb-mobile-table [data-css=\"tve-u-1702ecf6b9c\"]::before { background-color: rgb(51, 103, 153); border-right: 1px solid rgb(51, 103, 153); padding: 0px; text-align: center; font-size: 16px; line-height: 32px; color: rgb(255, 255, 255); font-weight: 700; font-family: \"Open Sans\", sans-serif; }.tcb-mobile-table [data-css=\"tve-u-1702ee85d2f\"]::before { background-color: rgb(51, 103, 153); border-right: 1px solid rgb(51, 103, 153); padding: 0px; text-align: center; font-size: 16px; line-height: 32px; color: rgb(255, 255, 255); font-weight: 400; font-family: \"Open Sans\"; }.tcb-mobile-table [data-css=\"tve-u-1702ee85d31\"]::before { background-color: rgb(51, 103, 153); border-right: 1px solid rgb(51, 103, 153); padding: 0px; text-align: center; font-size: 16px; line-height: 32px; color: rgb(255, 255, 255); font-weight: 400; font-family: \"Open Sans\"; }.tcb-mobile-table [data-css=\"tve-u-1702ee85d33\"]::before { background-color: rgb(51, 103, 153); border-right: 1px solid rgb(51, 103, 153); padding: 0px; text-align: center; font-size: 16px; line-height: 32px; color: rgb(255, 255, 255); font-weight: 400; font-family: \"Open Sans\"; }.tcb-mobile-table [data-css=\"tve-u-1702ee85d35\"]::before { background-color: rgb(51, 103, 153); border-right: 1px solid rgb(51, 103, 153); padding: 0px; text-align: center; font-size: 16px; line-height: 32px; color: rgb(255, 255, 255); font-weight: 400; font-family: \"Open Sans\"; }.tcb-mobile-table [data-css=\"tve-u-1702ee85d37\"]::before { background-color: rgb(51, 103, 153); border-right: 1px solid rgb(51, 103, 153); padding: 0px; text-align: center; font-size: 16px; line-height: 32px; color: rgb(255, 255, 255); font-weight: 400; font-family: \"Open Sans\"; }.tcb-mobile-table [data-css=\"tve-u-1702ee85d39\"]::before { background-color: rgb(51, 103, 153); border-right: 1px solid rgb(51, 103, 153); padding: 0px; text-align: center; font-size: 16px; line-height: 32px; color: rgb(255, 255, 255); font-weight: 400; font-family: \"Open Sans\"; }.tcb-mobile-table [data-css=\"tve-u-1702ee85d3b\"]::before { background-color: rgb(51, 103, 153); border-right: 1px solid rgb(51, 103, 153); padding: 0px; text-align: center; font-size: 16px; line-height: 32px; color: rgb(255, 255, 255); font-weight: 400; font-family: \"Open Sans\"; }.tcb-mobile-table [data-css=\"tve-u-1702ee85d3c\"]::before { background-color: rgb(51, 103, 153); border-right: 1px solid rgb(51, 103, 153); padding: 0px; text-align: center; font-size: 16px; line-height: 32px; color: rgb(255, 255, 255); font-weight: 400; font-family: \"Open Sans\"; }.tcb-mobile-table [data-css=\"tve-u-1702ee85d3e\"]::before { background-color: rgb(51, 103, 153); border-right: 1px solid rgb(51, 103, 153); padding: 0px; text-align: center; font-size: 16px; line-height: 32px; color: rgb(255, 255, 255); font-weight: 400; font-family: \"Open Sans\"; }.tcb-mobile-table [data-css=\"tve-u-1702ee85d57\"]::before { background-color: rgb(51, 103, 153); border-right: 1px solid rgb(51, 103, 153); padding: 0px; text-align: center; font-size: 16px; line-height: 32px; color: rgb(255, 255, 255); font-weight: 700; font-family: \"Open Sans\", sans-serif; }.tcb-mobile-table [data-css=\"tve-u-1702ee85d59\"]::before { background-color: rgb(51, 103, 153); border-right: 1px solid rgb(51, 103, 153); padding: 0px; text-align: center; font-size: 16px; line-height: 32px; color: rgb(255, 255, 255); font-weight: 700; font-family: \"Open Sans\", sans-serif; }.tcb-mobile-table [data-css=\"tve-u-1702ee85d5b\"]::before { background-color: rgb(51, 103, 153); border-right: 1px solid rgb(51, 103, 153); padding: 0px; text-align: center; font-size: 16px; line-height: 32px; color: rgb(255, 255, 255); font-weight: 700; font-family: \"Open Sans\", sans-serif; }.tcb-mobile-table [data-css=\"tve-u-1702ee85d5d\"]::before { background-color: rgb(51, 103, 153); border-right: 1px solid rgb(51, 103, 153); padding: 0px; text-align: center; font-size: 16px; line-height: 32px; color: rgb(255, 255, 255); font-weight: 700; font-family: \"Open Sans\", sans-serif; }.tcb-mobile-table [data-css=\"tve-u-1702ee85d5f\"]::before { background-color: rgb(51, 103, 153); border-right: 1px solid rgb(51, 103, 153); padding: 0px; text-align: center; font-size: 16px; line-height: 32px; color: rgb(255, 255, 255); font-weight: 700; font-family: \"Open Sans\", sans-serif; }.tcb-mobile-table [data-css=\"tve-u-1702ee85d61\"]::before { background-color: rgb(51, 103, 153); border-right: 1px solid rgb(51, 103, 153); padding: 0px; text-align: center; font-size: 16px; line-height: 32px; color: rgb(255, 255, 255); font-weight: 700; font-family: \"Open Sans\", sans-serif; }.tcb-mobile-table [data-css=\"tve-u-1702ee85d63\"]::before { background-color: rgb(51, 103, 153); border-right: 1px solid rgb(51, 103, 153); padding: 0px; text-align: center; font-size: 16px; line-height: 32px; color: rgb(255, 255, 255); font-weight: 700; font-family: \"Open Sans\", sans-serif; }.tcb-mobile-table [data-css=\"tve-u-1702ee85d65\"]::before { background-color: rgb(51, 103, 153); border-right: 1px solid rgb(51, 103, 153); padding: 0px; text-align: center; font-size: 16px; line-height: 32px; color: rgb(255, 255, 255); font-weight: 700; font-family: \"Open Sans\", sans-serif; }.tcb-mobile-table [data-css=\"tve-u-1702ee85d67\"]::before { background-color: rgb(51, 103, 153); border-right: 1px solid rgb(51, 103, 153); padding: 0px; text-align: center; font-size: 16px; line-height: 32px; color: rgb(255, 255, 255); font-weight: 700; font-family: \"Open Sans\", sans-serif; }}","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":[8,7],"tags":[],"class_list":["post-2130","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-administration","category-grundlagen"],"_links":{"self":[{"href":"https:\/\/profi-tutorials.de\/linux\/wp-json\/wp\/v2\/posts\/2130","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\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/profi-tutorials.de\/linux\/wp-json\/wp\/v2\/comments?post=2130"}],"version-history":[{"count":217,"href":"https:\/\/profi-tutorials.de\/linux\/wp-json\/wp\/v2\/posts\/2130\/revisions"}],"predecessor-version":[{"id":6906,"href":"https:\/\/profi-tutorials.de\/linux\/wp-json\/wp\/v2\/posts\/2130\/revisions\/6906"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/profi-tutorials.de\/linux\/wp-json\/wp\/v2\/media\/1500"}],"wp:attachment":[{"href":"https:\/\/profi-tutorials.de\/linux\/wp-json\/wp\/v2\/media?parent=2130"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/profi-tutorials.de\/linux\/wp-json\/wp\/v2\/categories?post=2130"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/profi-tutorials.de\/linux\/wp-json\/wp\/v2\/tags?post=2130"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}