{"id":2359,"date":"2020-02-12T17:14:57","date_gmt":"2020-02-12T17:14:57","guid":{"rendered":"https:\/\/profi-tutorials.de\/linux\/?p=2359"},"modified":"2020-03-18T11:17:17","modified_gmt":"2020-03-18T11:17:17","slug":"befehl-find","status":"publish","type":"post","link":"https:\/\/profi-tutorials.de\/linux\/grundlagen\/befehl-find\/","title":{"rendered":"Der Befehl Find"},"content":{"rendered":"<p>Mit dem Befehl <strong>find<\/strong> lassen sich unter Linux- bzw. UNIX-Systemen Suchen im <a class=\"glossaryLink cmtt_Informatik\" aria-describedby=\"tt\" data-cmtooltip=\"&lt;div class=glossaryItemTitle&gt;Dateisystem&lt;\/div&gt;&lt;div class=glossaryItemBody&gt;Ein Dateisystem kontrolliert die Speicherung, das Ver&auml;ndern, L&ouml;schen und schlie&szlig;lich auch das Abrufen von Daten auf einem Speichermedium bzw.(...)&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;Filesystem&lt;\/div&gt;&lt;\/div&gt;\" href=\"https:\/\/profi-tutorials.de\/linux\/glossar\/dateisystem\/\" target=\"_blank\" data-mobile-support=\"0\" data-gt-translate-attributes='[{\"attribute\":\"data-cmtooltip\", \"format\":\"html\"}]' tabindex=\"0\" role=\"link\">Dateisystem<\/a> durchf&uuml;hren. Die Suche kann dabei von beliebigen Startpunkten aus in ganzen Verzeichniszweigen erfolgen und mithilfe verschiedener Optionen auch gefiltert werden. Auf den gefundenen Dateien k&ouml;nnen au&szlig;erdem Aktionen ausgef&uuml;hrt werden, die es erm&ouml;glichen, den Befehl mit vielen anderen Befehlen zu koppeln.<\/p>\n<p>Sie lernen in diesem Beitrag die Grundlagen &uuml;ber die Verwendung des <strong>find<\/strong> Befehls, sowie die wichtigsten Optionen kennen.<\/p>\n<h2 id=\"tab-con-10\">Die Datei-\/Verzeichnis-Suche mit find<\/h2>\n<p>Der find Befehl kann mit einer Vielzahl Optionen ausgef&uuml;hrt werden, um verschiedene Daten f&uuml;r die Suche heranzuziehen. 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 lautet:<\/p>\n<pre>find [Startpunkt] [Optionen \/ Ausdruck]<\/pre>\n<h3 id=\"tab-con-5\">Namen filtern<\/h3>\n<p>F&uuml;r eine einfache Datei bzw. Verzeichnissuche ben&ouml;tigt der <strong>find<\/strong> Befehl lediglich einen Startpunkt gefolgt von den Suchbedingungen. Eine Suche nach einer Datei mit gegebenem Namen wird folgenderma&szlig;en durchgef&uuml;hrt:<\/p>\n<pre>find [Startpunkt] -name [Dateiname]<\/pre>\n<p>Es ist zu beachten, dass der Dateiname f&uuml;r die Suche exakt angegeben werden muss. Wird der Name einer Datei unvollst&auml;ndig oder ohne die dazugeh&ouml;rige Dateiendung angegeben, so wird&nbsp;<strong>find&nbsp;<\/strong>diese nicht finden k&ouml;nnen.<\/p>\n<p>Im Folgenden werden einige M&ouml;glichkeiten erkl&auml;rt, mit denen es m&ouml;glich ist, eine dynamischere Suche durchzuf&uuml;hren.<\/p>\n<h4>Gro&szlig;- und Kleinschreibung ignorieren<\/h4>\n<p>Anstelle von <strong>-name <\/strong>kann die Option <strong>-iname <\/strong>verwendet werden. Diese<strong>&nbsp;<\/strong>erm&ouml;glicht es, die Gro&szlig;- und Kleinschreibung w&auml;hrend der Suche zu ignorieren (ignore case):<\/p>\n<pre>find [Startpunkt] -iname [Dateiname]<\/pre>\n<h4>Wildcards<\/h4>\n<p>Ist der Name oder auch die Dateiendung nicht vollst&auml;ndig bekannt, so kann mit sogenannten Wildcards gearbeitet werden, um den unbekannten Teil entsprechend mit einem <a class=\"glossaryLink cmtt_Informatik\" aria-describedby=\"tt\" data-cmtooltip=\"&lt;div class=glossaryItemTitle&gt;Wildcard&lt;\/div&gt;&lt;div class=glossaryItemBody&gt;Eine Wildcard, auch Joker genannt, ist in der Informatik ein Platzhalter f&uuml;r andere Zeichen bzw. Zeichenketten.&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;Platzhalter, Joker&lt;\/div&gt;&lt;\/div&gt;\" href=\"https:\/\/profi-tutorials.de\/linux\/glossar\/wildcard\/\" target=\"_blank\" data-mobile-support=\"0\" data-gt-translate-attributes='[{\"attribute\":\"data-cmtooltip\", \"format\":\"html\"}]' tabindex=\"0\" role=\"link\">Platzhalter<\/a> zu versehen. Folgende Wildcards k&ouml;nnen mit <strong>find <\/strong>verwendet werden:<\/p>\n<table data-rows=\"4\" data-cols=\"2\" data-v=\"middle\">\n<thead>\n<tr>\n<th style=\"\">\n<p><strong>Operator&#8203;<\/strong><\/p>\n<\/th>\n<th style=\"\">\n<p>Funktion<\/p>\n<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td data-th=\"Operator&#8203;\" style=\"\">\n<p>?<\/p>\n<\/td>\n<td data-th=\"Funktion\" style=\"\">\n<p>Exakt ein beliebiges Zeichen<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-th=\"Operator&#8203;\" style=\"\">\n<p>*<\/p>\n<\/td>\n<td data-th=\"Funktion\" style=\"\">\n<p>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> (Beliebig viele beliebige Zeichen)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-th=\"Operator&#8203;\" rowspan=\"1\" colspan=\"1\" style=\"\">\n[]\n<\/td>\n<td data-th=\"Funktion\" rowspan=\"1\" colspan=\"1\" style=\"\">\n<p>Eines der Zeichen aus der Menge<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Damit Wildcards nicht unbeabsichtigt von der Shell interpretiert werden, wird ihnen beispielsweise ein Backslash <strong>&rdquo;<\/strong> vorangestellt, um sie zu maskieren. Alternativ kann auch einfach der gesamte Parameter mitsamt Wildcards mit Hochkommata <strong>&lsquo; <\/strong>eingefasst werden.<\/p>\n<pre>find [Startpunkt] -name '[Dateiname]'<\/pre>\n<h5>Beispiel: Wildcards 1<\/h5>\n<h6>Code:<\/h6>\n<p>find \/home\/ -name &lsquo;*.txt&rsquo;<\/p>\n<h6>Bedeutung:<\/h6>\n<p>Der Befehl sucht nach allen Dateien im Verzeichnis <strong>\/home\/<\/strong> (und Unterverzeichnissen), die die Dateiendung <strong>.txt<\/strong> haben bzw. auf <strong>&lsquo;.txt&rsquo;<\/strong> enden.<\/p>\n<h5>Beispiel: Wildcards 2<\/h5>\n<h6>Code:<\/h6>\n<p>find \/home\/ -name &lsquo;*edv*&rsquo;<\/p>\n<h6>Bedeutung:<\/h6>\n<p>Hierbei wird nach Elementen gesucht, die das <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> <strong>&lsquo;edv&rsquo;<\/strong> an beliebiger Stelle in ihrem Namen stehen haben.<\/p>\n<h3 id=\"tab-con-8\">Dateigr&ouml;&szlig;en filtern<\/h3>\n<p>Mit der Option <strong>-size<\/strong> kann auch die Kapazit&auml;t von Dateien f&uuml;r die Suche bzw. das Filtern verwendet werden:<\/p>\n<pre>find [Startpunkt] -size [+-][Kapazit&auml;t][ck]<\/pre>\n<p>Der Kapazit&auml;ts-Angabe kann ein &lsquo;+&rsquo; oder &lsquo;-&lsquo; vorangestellt werden, damit <strong>find<\/strong> diese als Minimal- (&lsquo;+&rsquo;) bzw. Maximalwert (&lsquo;-&lsquo;) verwendet. Das &lsquo;+&rsquo; steht also f&uuml;r &ldquo;gr&ouml;&szlig;er als&rdquo; und das &lsquo;-&lsquo; f&uuml;r &ldquo;kleiner als&rdquo;. Die Einheit kann durch Anh&auml;ngen von &lsquo;c&rsquo; (Byte) oder &lsquo;k&rsquo; (KiloByte) gew&auml;hlt werden. Wird keine Einheit angeh&auml;ngt, so bezieht sich der angegebene Wert auf die Anzahl belegter Bl&ouml;cke im Dateisystem.<\/p>\n<h5>Beispiel: -size<\/h5>\n<h6>Code:<\/h6>\n<p>find .\/ -size +50k<\/p>\n<h6>Bedeutung:<\/h6>\n<p>Hierbei werden alle Dateien im aktuellen Verzeichnis (und Unterverzeichnissen) gesucht, die eine Kapazit&auml;t gr&ouml;&szlig;er als <strong>50 KiloByte<\/strong> haben.<\/p>\n<h3 id=\"tab-con-3\">Zeiten filtern<\/h3>\n<h4>Letzte Zugriffszeit<\/h4>\n<p>Mit <strong>-atime<\/strong> bzw. <strong>-amin<\/strong> lassen sich Dateien mithilfe ihrer letzten Zugriffszeit filtern. Dabei wird <strong>-atime<\/strong> verwendet, um Dateien zu suchen, auf die seit mehr <strong>(&lsquo;+&rsquo;)<\/strong> oder weniger <strong>(&lsquo;-&lsquo;)<\/strong> als der angegebenen Anzahl Tagen nicht zugegriffen wurde.<\/p>\n<pre>find [Startpunkt] -atime [+-][Tage]<\/pre>\n<p>Die Option <strong>-amin<\/strong> verh&auml;lt sich &auml;hnlich wie&nbsp;<strong>-atime<\/strong>, jedoch werden hier Minuten anstelle von Tagen angegeben:<\/p>\n<pre>find [Startpunkt] -amin [+-][Minuten]<\/pre>\n<h5>Beispiel: -atime<\/h5>\n<h6>Befehl:<\/h6>\n<p>find \/home\/hellberg\/ -atime -2<\/p>\n<h6>Bedeutung:<\/h6>\n<p>Hier werden alle Dateien im Verzeichnis <strong>\/home\/hellberg\/<\/strong> gesucht, auf die seit weniger als <strong>2 Tagen<\/strong> nicht zugegriffen wurde.<\/p>\n<h5>Beispiel: -amin<\/h5>\n<h6>Befehl:<\/h6>\n<p>find \/home\/hellberg\/ -amin +30<\/p>\n<h6>Bedeutung:<\/h6>\n<p>Hier werden alle Dateien im Verzeichnis <strong>\/home\/hellberg\/<\/strong> gesucht, auf die seit mehr als <strong>30 Minuten<\/strong> nicht zugegriffen wurde.<\/p>\n<h4>Letzte &Auml;nderungszeit<\/h4>\n<p>Mit <strong>-mtime<\/strong> bzw. <strong>-mmin<\/strong> l&auml;sst sich eine Suche nach der letzten &Auml;nderungszeit durchf&uuml;hren. Diese Optionen verhalten sich komplett analog zu <strong>-atime<\/strong> bzw. <strong>-amin<\/strong>. Die Syntax f&uuml;r <strong>-mtime<\/strong> lautet also:<\/p>\n<pre>find [Startpunkt] -mtime [+-][Tage]<\/pre>\n<p><strong>-mmin<\/strong> wird schlie&szlig;lich folgenderma&szlig;en verwendet:<\/p>\n<pre>find [Startpunkt] -mmin [+-][Minuten]<\/pre>\n<h5>Beispiel: -mtime<\/h5>\n<h6>Befehl:<\/h6>\n<p>find \/home\/hellberg\/ -mtime +7<\/p>\n<h6>Bedeutung:<\/h6>\n<p>Hier werden alle Dateien im Verzeichnis <strong>\/home\/hellberg\/<\/strong> gesucht, die seit mehr als <strong>7 Tagen<\/strong> nicht ver&auml;ndert wurden.<\/p>\n<h5>Beispiel: -mmin<\/h5>\n<h6>Befehl:<\/h6>\n<p>find \/home\/hellberg\/ -mmin -60<\/p>\n<h6>Bedeutung:<\/h6>\n<p>Hier werden alle Dateien im Verzeichnis <strong>\/home\/hellberg\/<\/strong> gesucht, die seit weniger als <strong>60 Minuten<\/strong> nicht ver&auml;ndert wurden.<\/p>\n<h3 id=\"tab-con-1\">Zugriffsrechte filtern<\/h3>\n<p>Wenn bei der Suche nur Dateien mit bestimmten Zugriffsrechten ausgegeben werden sollen, dann wird die Option <strong>-perm<\/strong> angewendet:<\/p>\n<pre>find [Startpunkt] -perm [Zugriffsrechte als Oktalzahl]<\/pre>\n<p>Die Zugriffsrechte werden in der Darstellung als Oktalzahl angegeben. N&auml;heres zum Linux-Berechtigungssystem und dieser Schreibweise k&ouml;nnen Sie auch <a href=\"https:\/\/profi-tutorials.de\/linux\/grundlagen\/linux-berechtigungssystem\/\" style=\"outline: none;\" target=\"_blank\" rel=\"noopener noreferrer\">in unserem dazugeh&ouml;rigen Beitrag<\/a> nachlesen.<\/p>\n<h3 id=\"tab-con-4\">Benutzernamen filtern<\/h3>\n<p>Auch eine Suche nach Dateien mit einem bestimmten besitzenden Benutzer ist m&ouml;glich. Hier kommt die <strong>-user<\/strong> Option zum Einsatz:<\/p>\n<pre>find [Startpunkt] -user [Benutzername]<\/pre>\n<p>Falls Sie weitere Informationen &uuml;ber Benutzer (und Gruppen) unter Linux bzw. UNIX-Systemen erfahren wollen, dann k&ouml;nnen Sie auch dies <a href=\"https:\/\/profi-tutorials.de\/linux\/grundlagen\/benutzer-gruppen-linux\/\" style=\"outline: none;\" target=\"_blank\" rel=\"noopener noreferrer\">in unserem Beitrag zu diesem Thema<\/a> nachlesen.<\/p>\n<h3 id=\"tab-con-6\">Typen filtern<\/h3>\n<p>Mit <strong>-type<\/strong> ist es m&ouml;glich, nach bestimmten Typen zu suchen. Die wichtigsten Parameter sind hierbei <strong>&lsquo;f&rsquo;<\/strong> (&ldquo;File&rdquo;) f&uuml;r einfache Dateien, <strong>&lsquo;d&rsquo;<\/strong> (&ldquo;Directory&rdquo;) f&uuml;r Verzeichnisse und&nbsp;<strong>&lsquo;l&rsquo;<\/strong> (&ldquo;Link&rdquo;) f&uuml;r symbolische Links.<\/p>\n<pre>find [Startpunkt] -type [fdl]<\/pre>\n<h2 id=\"tab-con-7\">Ausf&uuml;hren von Befehlen auf Dateien<\/h2>\n<p>Zuletzt soll nun noch einmal auf eine der m&auml;chtigsten Funktionen von <strong>find<\/strong> eingegangen werden. Dabei handelt es sich um die Option <strong>-exec<\/strong>. Die Option erm&ouml;glicht es, <strong>find <\/strong>nicht nur f&uuml;r die einfache Dateisuche anzuwenden, sondern auch direkt Befehle auf den Suchtreffern auszuf&uuml;hren. So k&ouml;nnen beispielsweise die Zugriffsrechte von Dateien, die einem bestimmten Kriterium entsprechen, ver&auml;ndert werden. Es sind aber noch viele weitere Anwendungsf&auml;lle denkbar.<\/p>\n<p>Die Syntax des <strong>find <\/strong>Befehls mit der <strong>-exec<\/strong> Option lautet grunds&auml;tzlich folgenderma&szlig;en:<\/p>\n<pre>find [Startpunkt] [Optionen] -exec [Befehl] {} ;<\/pre>\n<p>Mit den geschweiften Klammern <strong>&lsquo;{}&rsquo;<\/strong> werden die jeweiligen Suchtreffer von <strong>find<\/strong>&nbsp;als Parameter an den mit <strong>-exec<\/strong> angef&uuml;gten Befehl &uuml;bergeben. Das Semikolon <strong>&lsquo;;&rsquo;<\/strong> schlie&szlig;t den Befehl dann ab. Damit das Semikolon richtig interpretiert werden kann, wird es au&szlig;erdem mit einem Backslash <strong>&rdquo;<\/strong>&nbsp;maskiert.<\/p>\n<p>Es folgen einige Beispiele.<\/p>\n<h5>Beispiel: -exec cat<\/h5>\n<h6>Befehl:<\/h6>\n<p>find \/var\/www\/ -name &lsquo;*.<a class=\"glossaryLink cmtt_Informatik\" aria-describedby=\"tt\" data-cmtooltip=\"&lt;div class=glossaryItemTitle&gt;HTML&lt;\/div&gt;&lt;div class=glossaryItemBody&gt;HTML steht f&uuml;r Hypertext Markup Language und ist die standardisierte Auszeichnungssprache f&uuml;r die Strukturierung elektronischer Dokumente,(...)&lt;\/div&gt;\" href=\"https:\/\/profi-tutorials.de\/linux\/glossar\/html\/\" target=\"_blank\" data-mobile-support=\"0\" data-gt-translate-attributes='[{\"attribute\":\"data-cmtooltip\", \"format\":\"html\"}]' tabindex=\"0\" role=\"link\">html<\/a>&rsquo; -exec cat {} ;<\/p>\n<h6>Bedeutung:<\/h6>\n<p>Hier werden alle Dateien im Verzeichnis <strong>\/var\/www\/<\/strong> gesucht, die auf <strong>&ldquo;.html&rdquo;<\/strong> enden. Anschlie&szlig;end wird der Inhalt jeder Datei ausgegeben, indem der Befehl <strong>cat<\/strong> auf ihnen ausgef&uuml;hrt wird.<\/p>\n<h5>Beispiel: -exec chmod<\/h5>\n<h6>Befehl:<\/h6>\n<p>find .\/* -type f -exec chmod 664 {} ;<\/p>\n<h6>Bedeutung:<\/h6>\n<p>Der Befehl sucht alle Dateien (<strong>&lsquo;-type f&rsquo;<\/strong>) im aktuellen Verzeichnis (und Unterverzeichnissen) und f&uuml;hrt jeweils den Befehl <strong>chmod<\/strong> auf den Treffern aus, um die Zugriffsrechte auf <strong>&lsquo;664&rsquo;<\/strong> zu stellen.<\/p>\n<h2 id=\"tab-con-9\">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 Befehl find lassen sich unter Linux- bzw. UNIX-Systemen Suchen im Dateisystem durchf\u00fchren. Die Suche kann dabei von beliebigen Startpunkten aus in ganzen Verzeichniszweigen erfolgen und mithilfe verschiedener Optionen auch gefiltert werden. Auf den gefundenen Dateien k\u00f6nnen au\u00dferdem Aktionen ausgef\u00fchrt werden, die es erm\u00f6glichen, den Befehl mit vielen anderen Befehlen zu koppeln. Sie lernen [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":1495,"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 Befehl <strong>find<\/strong> lassen sich unter Linux- bzw. UNIX-Systemen Suchen im Dateisystem durchf\u00fchren. Die Suche kann dabei von beliebigen Startpunkten aus in ganzen Verzeichniszweigen erfolgen und mithilfe verschiedener Optionen auch gefiltert werden. Auf den gefundenen Dateien k\u00f6nnen au\u00dferdem Aktionen ausgef\u00fchrt werden, die es erm\u00f6glichen, den Befehl mit vielen anderen Befehlen zu koppeln.<\/p><p>Sie lernen in diesem Beitrag die Grundlagen \u00fcber die Verwendung des <strong>find<\/strong> Befehls, sowie die wichtigsten Optionen kennen.<\/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\" data-css=\"tve-u-1703427ee03\" style=\"\">Inhaltsverzeichnis<\/span>\n\t\t<div class=\"tve_ct_content tve_clearfix\"><div class=\"ct_column sep\" style=\"width: 50%; min-height: 211px;\"><div class=\"tve_ct_level1\"><a href=\"#tab-con-10\" rel=\"nofollow\">Die Datei-\/Verzeichnis-Suche mit find<\/a><\/div><div class=\"tve_ct_level2\"><a href=\"#tab-con-5\" rel=\"nofollow\">Namen filtern<\/a><\/div><div class=\"tve_ct_level2\"><a href=\"#tab-con-8\" rel=\"nofollow\">Dateigr\u00f6\u00dfen filtern<\/a><\/div><div class=\"tve_ct_level2\"><a href=\"#tab-con-3\" rel=\"nofollow\">Zeiten filtern<\/a><\/div><div class=\"tve_ct_level2\"><a href=\"#tab-con-1\" rel=\"nofollow\">Zugriffsrechte filtern<\/a><\/div><div class=\"tve_ct_level2\"><a href=\"#tab-con-4\" rel=\"nofollow\">Benutzernamen filtern<\/a><\/div><div class=\"tve_ct_level2\"><a href=\"#tab-con-6\" rel=\"nofollow\">Typen filtern<\/a><\/div><div class=\"tve_ct_level1\"><a href=\"#tab-con-7\" rel=\"nofollow\">Ausf\u00fchren von Befehlen auf Dateien<\/a><\/div><\/div><div class=\"ct_column\" style=\"width: 50%; min-height: 211px;\"><div class=\"tve_ct_level1\"><a href=\"#tab-con-9\" 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-10\">Die Datei-\/Verzeichnis-Suche mit find<\/h2><p>Der find Befehl kann mit einer Vielzahl Optionen ausgef\u00fchrt werden, um verschiedene Daten f\u00fcr die Suche heranzuziehen. Die allgemeine Syntax des Befehls lautet:<\/p><p>[code]find [Startpunkt] [Optionen \/ Ausdruck][\/code]<\/p><h3 class=\"\" id=\"tab-con-5\">Namen filtern<\/h3><p>F\u00fcr eine einfache Datei bzw. Verzeichnissuche ben\u00f6tigt der <strong>find<\/strong> Befehl lediglich einen Startpunkt gefolgt von den Suchbedingungen. Eine Suche nach einer Datei mit gegebenem Namen wird folgenderma\u00dfen durchgef\u00fchrt:<\/p><p>[code]find [Startpunkt] -name [Dateiname][\/code]<\/p><p>Es ist zu beachten, dass der Dateiname f\u00fcr die Suche exakt angegeben werden muss. Wird der Name einer Datei unvollst\u00e4ndig oder ohne die dazugeh\u00f6rige Dateiendung angegeben, so wird&nbsp;<strong>find&nbsp;<\/strong>diese nicht finden k\u00f6nnen.<\/p><p>Im Folgenden werden einige M\u00f6glichkeiten erkl\u00e4rt, mit denen es m\u00f6glich ist, eine dynamischere Suche durchzuf\u00fchren.<\/p><h4 class=\"\">Gro\u00df- und Kleinschreibung ignorieren<\/h4><p>Anstelle von <strong>-name <\/strong>kann die Option <strong>-iname <\/strong>verwendet werden. Diese<strong>&nbsp;<\/strong>erm\u00f6glicht es, die Gro\u00df- und Kleinschreibung w\u00e4hrend der Suche zu ignorieren (ignore case):<\/p><p>[code]find [Startpunkt] -iname [Dateiname][\/code]<\/p><h4 class=\"\">Wildcards<\/h4><p>Ist der Name oder auch die Dateiendung nicht vollst\u00e4ndig bekannt, so kann mit sogenannten Wildcards gearbeitet werden, um den unbekannten Teil entsprechend mit einem Platzhalter zu versehen. Folgende Wildcards k\u00f6nnen mit <strong>find <\/strong>verwendet werden:<\/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-170344f39aa\"><table class=\"tve_table tcb-fixed tve_table_flat\" data-rows=\"4\" data-cols=\"2\" data-css=\"tve-u-170344f39a8\" data-v=\"middle\"><thead data-css=\"tve-u-170344f39ab\"><tr class=\"tve_table_row\"><th class=\"tve_table_cell\" style=\"\" data-css=\"tve-u-170344f39b2\"><div class=\"thrv_wrapper thrv_text_element\" data-css=\"tve-u-1702ecf6b87\"><p data-css=\"tve-u-170344f39b0\"><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-170344f39b3\">Funktion<\/p><\/div><\/th><\/tr><\/thead><tbody data-css=\"tve-u-170344f39ae\"><tr class=\"tve_table_row\"><td class=\"tve_table_cell\" data-th=\"Operator\u200b\" data-css=\"tve-u-170344f39c3\" 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-170344f39c6\" style=\"\"><div class=\"thrv_wrapper thrv_text_element\" data-css=\"tve-u-1702ecf6b8f\"><p>Exakt ein beliebiges Zeichen<\/p><\/div><\/td><\/tr><tr class=\"tve_table_row\"><td class=\"tve_table_cell\" data-th=\"Operator\u200b\" data-css=\"tve-u-170344f39c4\" 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-170344f39c7\" style=\"\"><div class=\"thrv_wrapper thrv_text_element\" data-css=\"tve-u-1702ecf6b8f\"><p>Beliebige Zeichenkette (Beliebig viele beliebige Zeichen)<\/p><\/div><\/td><\/tr><tr class=\"tve_table_row\"><td class=\"tve_table_cell\" data-th=\"Operator\u200b\" data-css=\"tve-u-170344f39cd\" 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-170344f39d7\" 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><\/tbody><\/table><\/div><div class=\"thrv_wrapper thrv_text_element\"><p>Damit Wildcards nicht unbeabsichtigt von der Shell interpretiert werden, wird ihnen beispielsweise ein Backslash <strong>'\\'<\/strong> vorangestellt, um sie zu maskieren. Alternativ kann auch einfach der gesamte Parameter mitsamt Wildcards mit Hochkommata <strong>' <\/strong>eingefasst werden.<\/p><p>[code]find [Startpunkt] -name '[Dateiname]'[\/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-17038d5bc90\"><\/div>\n\t<div class=\"tve-cb\"><div class=\"thrv_wrapper thrv_text_element\" data-css=\"tve-u-17038d5bc8e\" style=\"\"><h5 class=\"\" data-css=\"tve-u-17038d5bc8d\">Beispiel: Wildcards 1<\/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-17038d5bc91\" style=\"\">\n\t<hr class=\"tve_sep tve_sep-1\" style=\"\">\n<\/div><div class=\"thrv_wrapper thrv_text_element\"><h6 class=\"\">Code:<\/h6><\/div><div class=\"thrv_wrapper thrv_text_element\" style=\"\" data-css=\"tve-u-17038d5bc93\"><p data-css=\"tve-u-17038d5bc92\">find \/home\/ -name '*.txt'<\/p><\/div><div class=\"thrv_wrapper thrv_text_element\"><h6 class=\"\">Bedeutung:<\/h6><p data-css=\"tve-u-17038d5bc94\">Der Befehl sucht nach allen Dateien im Verzeichnis <strong>\/home\/<\/strong> (und Unterverzeichnissen), die die Dateiendung <strong>.txt<\/strong> haben bzw. auf <strong>'.txt'<\/strong> enden.<\/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-17038d5bc90\"><\/div>\n\t<div class=\"tve-cb\"><div class=\"thrv_wrapper thrv_text_element\" data-css=\"tve-u-17038d5bc8e\" style=\"\"><h5 class=\"\" data-css=\"tve-u-17038d5bc8d\">Beispiel: Wildcards 2<\/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-17038d5bc91\" style=\"\">\n\t<hr class=\"tve_sep tve_sep-1\" style=\"\">\n<\/div><div class=\"thrv_wrapper thrv_text_element\"><h6 class=\"\">Code:<\/h6><\/div><div class=\"thrv_wrapper thrv_text_element\" style=\"\" data-css=\"tve-u-17038d5bc93\"><p data-css=\"tve-u-17038d5bc92\">find \/home\/ -name '*edv*'<\/p><\/div><div class=\"thrv_wrapper thrv_text_element\"><h6 class=\"\">Bedeutung:<\/h6><p data-css=\"tve-u-17038d5bc94\">Hierbei wird nach Elementen gesucht, die das Wort <strong>'edv'<\/strong> an beliebiger Stelle in ihrem Namen stehen haben.<\/p><\/div><\/div>\n<\/div><div class=\"thrv_wrapper thrv_text_element\"><h3 class=\"\" id=\"tab-con-8\">Dateigr\u00f6\u00dfen filtern<\/h3><p>Mit der Option <strong>-size<\/strong> kann auch die Kapazit\u00e4t von Dateien f\u00fcr die Suche bzw. das Filtern verwendet werden:<\/p><p>[code]find [Startpunkt] -size [+-][Kapazit\u00e4t][ck][\/code]<\/p><p>Der Kapazit\u00e4ts-Angabe kann ein '+' oder '-' vorangestellt werden, damit <strong>find<\/strong> diese als Minimal- ('+') bzw. Maximalwert ('-') verwendet. Das '+' steht also f\u00fcr \"gr\u00f6\u00dfer als\" und das '-' f\u00fcr \"kleiner als\". Die Einheit kann durch Anh\u00e4ngen von 'c' (Byte) oder 'k' (KiloByte) gew\u00e4hlt werden. Wird keine Einheit angeh\u00e4ngt, so bezieht sich der angegebene Wert auf die Anzahl belegter Bl\u00f6cke im Dateisystem.<\/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-17038ddd002\"><\/div>\n\t<div class=\"tve-cb\"><div class=\"thrv_wrapper thrv_text_element\" data-css=\"tve-u-17038ddd001\" style=\"\"><h5 class=\"\" data-css=\"tve-u-17038ddd000\">Beispiel: -size<\/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-17038ddd004\" style=\"\">\n\t<hr class=\"tve_sep tve_sep-1\" style=\"\">\n<\/div><div class=\"thrv_wrapper thrv_text_element\"><h6 class=\"\">Code:<\/h6><\/div><div class=\"thrv_wrapper thrv_text_element\" style=\"\" data-css=\"tve-u-17038ddd006\"><p data-css=\"tve-u-17038ddd005\">find .\/ -size +50k<\/p><\/div><div class=\"thrv_wrapper thrv_text_element\"><h6 class=\"\">Bedeutung:<\/h6><p data-css=\"tve-u-17038ddd007\">Hierbei werden alle Dateien im aktuellen Verzeichnis (und Unterverzeichnissen) gesucht, die eine Kapazit\u00e4t gr\u00f6\u00dfer als <strong>50 KiloByte<\/strong> haben.<\/p><\/div><\/div>\n<\/div><div class=\"thrv_wrapper thrv_text_element\"><h3 class=\"\" id=\"tab-con-3\">Zeiten filtern<\/h3><h4 class=\"\">Letzte Zugriffszeit<\/h4><p>Mit <strong>-atime<\/strong> bzw. <strong>-amin<\/strong> lassen sich Dateien mithilfe ihrer letzten Zugriffszeit filtern. Dabei wird <strong>-atime<\/strong> verwendet, um Dateien zu suchen, auf die seit mehr <strong>('+')<\/strong> oder weniger <strong>('-')<\/strong> als der angegebenen Anzahl Tagen nicht zugegriffen wurde.<\/p><p>[code]find [Startpunkt] -atime [+-][Tage][\/code]<\/p><p>Die Option <strong>-amin<\/strong> verh\u00e4lt sich \u00e4hnlich wie&nbsp;<strong>-atime<\/strong>, jedoch werden hier Minuten anstelle von Tagen angegeben:<\/p><p>[code]find [Startpunkt] -amin [+-][Minuten][\/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-1703897553f\"><\/div>\n\t<div class=\"tve-cb\"><div class=\"thrv_wrapper thrv_text_element\" data-css=\"tve-u-1703897553d\" style=\"\"><h5 class=\"\" data-css=\"tve-u-1703897553c\">Beispiel: -atime<\/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-17038975540\" style=\"\">\n\t<hr class=\"tve_sep tve_sep-1\" style=\"\">\n<\/div><div class=\"thrv_wrapper thrv_text_element\"><h6 class=\"\">Befehl:<\/h6><\/div><div class=\"thrv_wrapper thrv_text_element\" style=\"\" data-css=\"tve-u-17038975543\"><p data-css=\"tve-u-17038975541\">find \/home\/hellberg\/ -atime -2<\/p><\/div><div class=\"thrv_wrapper thrv_text_element\"><h6 class=\"\">Bedeutung:<\/h6><p data-css=\"tve-u-17038975544\">Hier werden alle Dateien im Verzeichnis <strong>\/home\/hellberg\/<\/strong> gesucht, auf die seit weniger als <strong>2 Tagen<\/strong> nicht zugegriffen wurde.<\/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-1703897553f\"><\/div>\n\t<div class=\"tve-cb\"><div class=\"thrv_wrapper thrv_text_element\" data-css=\"tve-u-1703897553d\" style=\"\"><h5 class=\"\" data-css=\"tve-u-1703897553c\">Beispiel: -amin<\/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-17038975540\" style=\"\">\n\t<hr class=\"tve_sep tve_sep-1\" style=\"\">\n<\/div><div class=\"thrv_wrapper thrv_text_element\"><h6 class=\"\">Befehl:<\/h6><\/div><div class=\"thrv_wrapper thrv_text_element\" style=\"\" data-css=\"tve-u-17038975543\"><p data-css=\"tve-u-17038975541\">find \/home\/hellberg\/ -amin +30<\/p><\/div><div class=\"thrv_wrapper thrv_text_element\"><h6 class=\"\">Bedeutung:<\/h6><p data-css=\"tve-u-17038975544\">Hier werden alle Dateien im Verzeichnis <strong>\/home\/hellberg\/<\/strong> gesucht, auf die seit mehr als <strong>30 Minuten<\/strong> nicht zugegriffen wurde.<\/p><\/div><\/div>\n<\/div><div class=\"thrv_wrapper thrv_text_element\"><h4 class=\"\">Letzte \u00c4nderungszeit<\/h4><p>Mit <strong>-mtime<\/strong> bzw. <strong>-mmin<\/strong> l\u00e4sst sich eine Suche nach der letzten \u00c4nderungszeit durchf\u00fchren. Diese Optionen verhalten sich komplett analog zu <strong>-atime<\/strong> bzw. <strong>-amin<\/strong>. Die Syntax f\u00fcr <strong>-mtime<\/strong> lautet also:<\/p><p>[code]find [Startpunkt] -mtime [+-][Tage][\/code]<\/p><p><strong>-mmin<\/strong> wird schlie\u00dflich folgenderma\u00dfen verwendet:<\/p><p>[code]find [Startpunkt] -mmin [+-][Minuten][\/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-1703897553f\"><\/div>\n\t<div class=\"tve-cb\"><div class=\"thrv_wrapper thrv_text_element\" data-css=\"tve-u-1703897553d\" style=\"\"><h5 class=\"\" data-css=\"tve-u-1703897553c\">Beispiel: -mtime<\/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-17038975540\" style=\"\">\n\t<hr class=\"tve_sep tve_sep-1\" style=\"\">\n<\/div><div class=\"thrv_wrapper thrv_text_element\"><h6 class=\"\">Befehl:<\/h6><\/div><div class=\"thrv_wrapper thrv_text_element\" style=\"\" data-css=\"tve-u-17038975543\"><p data-css=\"tve-u-17038975541\">find \/home\/hellberg\/ -mtime +7<\/p><\/div><div class=\"thrv_wrapper thrv_text_element\"><h6 class=\"\">Bedeutung:<\/h6><p data-css=\"tve-u-17038975544\">Hier werden alle Dateien im Verzeichnis <strong>\/home\/hellberg\/<\/strong> gesucht, die seit mehr als <strong>7 Tagen<\/strong> nicht ver\u00e4ndert wurden.<\/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-1703897553f\"><\/div>\n\t<div class=\"tve-cb\"><div class=\"thrv_wrapper thrv_text_element\" data-css=\"tve-u-1703897553d\" style=\"\"><h5 class=\"\" data-css=\"tve-u-1703897553c\">Beispiel: -mmin<\/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-17038975540\" style=\"\">\n\t<hr class=\"tve_sep tve_sep-1\" style=\"\">\n<\/div><div class=\"thrv_wrapper thrv_text_element\"><h6 class=\"\">Befehl:<\/h6><\/div><div class=\"thrv_wrapper thrv_text_element\" style=\"\" data-css=\"tve-u-17038975543\"><p data-css=\"tve-u-17038975541\">find \/home\/hellberg\/ -mmin -60<\/p><\/div><div class=\"thrv_wrapper thrv_text_element\"><h6 class=\"\">Bedeutung:<\/h6><p data-css=\"tve-u-17038975544\">Hier werden alle Dateien im Verzeichnis <strong>\/home\/hellberg\/<\/strong> gesucht, die seit weniger als <strong>60 Minuten<\/strong> nicht ver\u00e4ndert wurden.<\/p><\/div><\/div>\n<\/div><div class=\"thrv_wrapper thrv_text_element tve-froala fr-box fr-basic\"><h3 class=\"\" id=\"tab-con-1\">Zugriffsrechte filtern<\/h3><p>Wenn bei der Suche nur Dateien mit bestimmten Zugriffsrechten ausgegeben werden sollen, dann wird die Option <strong>-perm<\/strong> angewendet:<\/p><p>[code]find [Startpunkt] -perm [Zugriffsrechte als Oktalzahl][\/code]<\/p><p>Die Zugriffsrechte werden in der Darstellung als Oktalzahl angegeben. N\u00e4heres zum Linux-Berechtigungssystem und dieser Schreibweise k\u00f6nnen Sie auch <a class=\"tve-froala fr-basic\" href=\"https:\/\/profi-tutorials.de\/linux\/grundlagen\/linux-berechtigungssystem\/\" style=\"outline: none;\" target=\"_blank\">in unserem dazugeh\u00f6rigen Beitrag<\/a> nachlesen.<\/p><h3 class=\"\" id=\"tab-con-4\">Benutzernamen filtern<\/h3><p>Auch eine Suche nach Dateien mit einem bestimmten besitzenden Benutzer ist m\u00f6glich. Hier kommt die <strong>-user<\/strong> Option zum Einsatz:<\/p><p>[code]find [Startpunkt] -user [Benutzername][\/code]<\/p><p>Falls Sie weitere Informationen \u00fcber Benutzer (und Gruppen) unter Linux bzw. UNIX-Systemen erfahren wollen, dann k\u00f6nnen Sie auch dies <a class=\"tve-froala fr-basic\" href=\"https:\/\/profi-tutorials.de\/linux\/grundlagen\/benutzer-gruppen-linux\/\" style=\"outline: none;\" target=\"_blank\">in unserem Beitrag zu diesem Thema<\/a> nachlesen.<\/p><h3 class=\"\" id=\"tab-con-6\">Typen filtern<\/h3><p>Mit <strong>-type<\/strong> ist es m\u00f6glich, nach bestimmten Typen zu suchen. Die wichtigsten Parameter sind hierbei <strong>'f'<\/strong> (\"File\") f\u00fcr einfache Dateien, <strong>'d'<\/strong> (\"Directory\") f\u00fcr Verzeichnisse und&nbsp;<strong>'l'<\/strong> (\"Link\") f\u00fcr symbolische Links.<\/p><p>[code]find [Startpunkt] -type [fdl][\/code]<\/p><\/div><div class=\"thrv_wrapper thrv_text_element\"><h2 class=\"\" id=\"tab-con-7\">Ausf\u00fchren von Befehlen auf Dateien<\/h2><p>Zuletzt soll nun noch einmal auf eine der m\u00e4chtigsten Funktionen von <strong>find<\/strong> eingegangen werden. Dabei handelt es sich um die Option <strong>-exec<\/strong>. Die Option erm\u00f6glicht es, <strong>find <\/strong>nicht nur f\u00fcr die einfache Dateisuche anzuwenden, sondern auch direkt Befehle auf den Suchtreffern auszuf\u00fchren. So k\u00f6nnen beispielsweise die Zugriffsrechte von Dateien, die einem bestimmten Kriterium entsprechen, ver\u00e4ndert werden. Es sind aber noch viele weitere Anwendungsf\u00e4lle denkbar.<\/p><p>Die Syntax des <strong>find <\/strong>Befehls mit der <strong>-exec<\/strong> Option lautet grunds\u00e4tzlich folgenderma\u00dfen:<\/p><p>[code]find [Startpunkt] [Optionen] -exec [Befehl] {} \\;[\/code]<\/p><p>Mit den geschweiften Klammern <strong>'{}'<\/strong> werden die jeweiligen Suchtreffer von <strong>find<\/strong>&nbsp;als Parameter an den mit <strong>-exec<\/strong> angef\u00fcgten Befehl \u00fcbergeben. Das Semikolon <strong>';'<\/strong> schlie\u00dft den Befehl dann ab. Damit das Semikolon richtig interpretiert werden kann, wird es au\u00dferdem mit einem Backslash <strong>'\\'<\/strong>&nbsp;maskiert.<\/p><p>Es folgen einige Beispiele.<\/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-1703897553f\"><\/div>\n\t<div class=\"tve-cb\"><div class=\"thrv_wrapper thrv_text_element\" data-css=\"tve-u-1703897553d\" style=\"\"><h5 class=\"\" data-css=\"tve-u-1703897553c\">Beispiel: -exec cat<\/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-17038975540\" style=\"\">\n\t<hr class=\"tve_sep tve_sep-1\" style=\"\">\n<\/div><div class=\"thrv_wrapper thrv_text_element\"><h6 class=\"\">Befehl:<\/h6><\/div><div class=\"thrv_wrapper thrv_text_element\" style=\"\" data-css=\"tve-u-17038975543\"><p data-css=\"tve-u-17038975541\">find \/var\/www\/ -name '*.html' -exec cat {} \\;<\/p><\/div><div class=\"thrv_wrapper thrv_text_element\"><h6 class=\"\">Bedeutung:<\/h6><p data-css=\"tve-u-17038975544\">Hier werden alle Dateien im Verzeichnis <strong>\/var\/www\/<\/strong> gesucht, die auf <strong>\".html\"<\/strong> enden. Anschlie\u00dfend wird der Inhalt jeder Datei ausgegeben, indem der Befehl <strong>cat<\/strong> auf ihnen ausgef\u00fchrt wird.<\/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-1703897553f\"><\/div>\n\t<div class=\"tve-cb\"><div class=\"thrv_wrapper thrv_text_element\" data-css=\"tve-u-1703897553d\" style=\"\"><h5 class=\"\" data-css=\"tve-u-1703897553c\">Beispiel: -exec chmod<\/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-17038975540\" style=\"\">\n\t<hr class=\"tve_sep tve_sep-1\" style=\"\">\n<\/div><div class=\"thrv_wrapper thrv_text_element\"><h6 class=\"\">Befehl:<\/h6><\/div><div class=\"thrv_wrapper thrv_text_element\" style=\"\" data-css=\"tve-u-17038975543\"><p data-css=\"tve-u-17038975541\">find .\/* -type f -exec chmod 664 {} \\;<\/p><\/div><div class=\"thrv_wrapper thrv_text_element\"><h6 class=\"\">Bedeutung:<\/h6><p data-css=\"tve-u-17038975544\">Der Befehl sucht alle Dateien (<strong>'-type f'<\/strong>) im aktuellen Verzeichnis (und Unterverzeichnissen) und f\u00fchrt jeweils den Befehl <strong>chmod<\/strong> auf den Treffern aus, um die Zugriffsrechte auf <strong>'664'<\/strong> zu stellen.<\/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-17053fc126c\">\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-9\">Das Video zu diesem Beitrag<\/h2><\/div><div class=\"thrv_wrapper thrv-button tve_ea_thrive_video\" data-css=\"tve-u-17053fc126a\" 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;BiCqIhl1ku8&quot;,&quot;url&quot;:&quot;https:\/\/youtu.be\/BiCqIhl1ku8&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-170d3a8b0c3\">\n\t<div class=\"tve-content-box-background\" style=\"\" data-css=\"tve-u-170d3a8b0c6\"><\/div>\n\t<div class=\"tve-cb\"><div class=\"thrv_wrapper thrv_text_element\" style=\"\" data-css=\"tve-u-170d3a8b0c5\"><p data-css=\"tve-u-170d3a8b0c2\" 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-170d3a8b0c8\" 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-170d3a8b0c4\"><p data-css=\"tve-u-170d3a8b0c9\" 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-170d3a8b0ca\" 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-170d3a8b0cb\"><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-1703427ee03\"] { background-color: var(--tcb-color-3); }:not(#tve) [data-css=\"tve-u-170344f39a8\"] { border: 1px solid rgb(220, 227, 233); }:not(#tve) [data-css=\"tve-u-170344f39aa\"] > .tve_table > thead > tr > th { background-color: var(--tcb-color-3); }:not(#tve) [data-css=\"tve-u-170344f39aa\"] > .tve_table > tbody > tr:nth-child(2n) > td { background-color: rgb(246, 246, 246); }:not(#tve) [data-css=\"tve-u-170344f39aa\"] > .tve_table > tbody > tr:nth-child(2n+1) > td { background-color: rgb(255, 255, 255); }:not(#tve) [data-css=\"tve-u-170344f39ab\"] p, :not(#tve) [data-css=\"tve-u-170344f39ab\"] li, :not(#tve) [data-css=\"tve-u-170344f39ab\"] blockquote, :not(#tve) [data-css=\"tve-u-170344f39ab\"] address, :not(#tve) [data-css=\"tve-u-170344f39ab\"] .tcb-plain-text, :not(#tve) [data-css=\"tve-u-170344f39ab\"] label, :not(#tve) [data-css=\"tve-u-170344f39ab\"] h1, :not(#tve) [data-css=\"tve-u-170344f39ab\"] h2, :not(#tve) [data-css=\"tve-u-170344f39ab\"] h3, :not(#tve) [data-css=\"tve-u-170344f39ab\"] h4, :not(#tve) [data-css=\"tve-u-170344f39ab\"] h5, :not(#tve) [data-css=\"tve-u-170344f39ab\"] h6 { color: rgb(255, 255, 255); }:not(#tve) [data-css=\"tve-u-170344f39ae\"] p, :not(#tve) [data-css=\"tve-u-170344f39ae\"] li, :not(#tve) [data-css=\"tve-u-170344f39ae\"] blockquote, :not(#tve) [data-css=\"tve-u-170344f39ae\"] address, :not(#tve) [data-css=\"tve-u-170344f39ae\"] .tcb-plain-text, :not(#tve) [data-css=\"tve-u-170344f39ae\"] label, :not(#tve) [data-css=\"tve-u-170344f39ae\"] h1, :not(#tve) [data-css=\"tve-u-170344f39ae\"] h2, :not(#tve) [data-css=\"tve-u-170344f39ae\"] h3, :not(#tve) [data-css=\"tve-u-170344f39ae\"] h4, :not(#tve) [data-css=\"tve-u-170344f39ae\"] h5, :not(#tve) [data-css=\"tve-u-170344f39ae\"] h6 { color: rgb(84, 85, 88); }[data-css=\"tve-u-170344f39aa\"] .tve_table td, [data-css=\"tve-u-170344f39aa\"] .tve_table th { padding: 0px; text-align: center; vertical-align: middle; }:not(#tve) [data-css=\"tve-u-170344f39b0\"] { font-size: 16px !important; font-family: \"Open Sans\" !important; font-weight: 400 !important; }[data-css=\"tve-u-170344f39b0\"] strong { font-weight: 600 !important; }:not(#tve) [data-css=\"tve-u-170344f39a8\"] > tbody > tr > td { border: 0px none rgb(220, 227, 233); }:not(#tve) [data-css=\"tve-u-170344f39a8\"] > thead > tr > th { border: 1px solid var(--tcb-color-3); }:not(#tve) [data-css=\"tve-u-170344f39b2\"] { width: 97px; }:not(#tve) [data-css=\"tve-u-170344f39b3\"] { font-size: 16px !important; }:not(#tve) [data-css=\"tve-u-1703897553c\"] { padding-top: 0px !important; margin-top: 0px !important; }[data-css=\"tve-u-1703897553d\"] { overflow: hidden; background-color: transparent !important; background-image: none !important; border-radius: 0px !important; }[data-css=\"tve-u-1703897553f\"] { 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-17038975540\"] .tve_sep { border-width: 2px !important; border-color: rgb(66, 66, 66) !important; }[data-css=\"tve-u-17038975540\"] { padding-top: 0px !important; padding-bottom: 10px !important; }:not(#tve) [data-css=\"tve-u-17038975541\"] { 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-17038975543\"] { 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-17038975544\"] { padding-bottom: 0px !important; margin-bottom: 0px !important; }:not(#tve) [data-css=\"tve-u-17038d5bc8d\"] { padding-top: 0px !important; margin-top: 0px !important; }[data-css=\"tve-u-17038d5bc8e\"] { overflow: hidden; background-color: transparent !important; background-image: none !important; border-radius: 0px !important; }[data-css=\"tve-u-17038d5bc90\"] { 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-17038d5bc91\"] .tve_sep { border-width: 2px !important; border-color: rgb(66, 66, 66) !important; }[data-css=\"tve-u-17038d5bc91\"] { padding-top: 0px !important; padding-bottom: 10px !important; }:not(#tve) [data-css=\"tve-u-17038d5bc92\"] { 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-17038d5bc93\"] { 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-17038d5bc94\"] { padding-bottom: 0px !important; margin-bottom: 0px !important; }:not(#tve) [data-css=\"tve-u-17038ddd000\"] { padding-top: 0px !important; margin-top: 0px !important; }[data-css=\"tve-u-17038ddd001\"] { overflow: hidden; background-color: transparent !important; background-image: none !important; border-radius: 0px !important; }[data-css=\"tve-u-17038ddd002\"] { 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-17038ddd004\"] .tve_sep { border-width: 2px !important; border-color: rgb(66, 66, 66) !important; }[data-css=\"tve-u-17038ddd004\"] { padding-top: 0px !important; padding-bottom: 10px !important; }:not(#tve) [data-css=\"tve-u-17038ddd005\"] { 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-17038ddd006\"] { 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-17038ddd007\"] { padding-bottom: 0px !important; margin-bottom: 0px !important; }[data-css=\"tve-u-17053fc126a\"] .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-17053fc126a\"]:hover .tcb-button-link { background-color: rgb(41, 84, 127) !important; }[data-css=\"tve-u-17053fc126c\"] { margin-top: 0px !important; margin-bottom: 0px !important; padding: 0px !important; }:not(#tve) [data-css=\"tve-u-170d3a8b0c2\"] { 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-170d3a8b0c3\"] { padding: 10px !important; }[data-css=\"tve-u-170d3a8b0c4\"] { margin-left: 0px !important; margin-right: 0px !important; padding-right: 30px !important; padding-left: 30px !important; }[data-css=\"tve-u-170d3a8b0c5\"] { margin-right: 0px !important; margin-left: 0px !important; }[data-css=\"tve-u-170d3a8b0c6\"] { 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-170d3a8b0c8\"] .tve_sep { border-width: 3px !important; border-color: rgb(70, 70, 70) !important; }[data-css=\"tve-u-170d3a8b0c8\"] { padding-top: 0px !important; }:not(#tve) [data-css=\"tve-u-170d3a8b0c9\"] { 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-170d3a8b0ca\"] { float: none; border: none; max-width: 500px !important; margin-left: auto !important; margin-right: auto !important; }:not(#tve) [data-css=\"tve-u-170d3a8b0cb\"] 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-170d3a8b0cb\"]: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-170d3a8b0cb\"] { --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-170344f39c3\"]::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-170344f39c4\"]::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-170344f39c6\"]::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-170344f39c7\"]::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-170344f39cd\"]::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-170344f39d7\"]::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-2359","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\/2359","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=2359"}],"version-history":[{"count":247,"href":"https:\/\/profi-tutorials.de\/linux\/wp-json\/wp\/v2\/posts\/2359\/revisions"}],"predecessor-version":[{"id":4084,"href":"https:\/\/profi-tutorials.de\/linux\/wp-json\/wp\/v2\/posts\/2359\/revisions\/4084"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/profi-tutorials.de\/linux\/wp-json\/wp\/v2\/media\/1495"}],"wp:attachment":[{"href":"https:\/\/profi-tutorials.de\/linux\/wp-json\/wp\/v2\/media?parent=2359"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/profi-tutorials.de\/linux\/wp-json\/wp\/v2\/categories?post=2359"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/profi-tutorials.de\/linux\/wp-json\/wp\/v2\/tags?post=2359"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}