{"id":17,"date":"2008-05-30T13:45:32","date_gmt":"2008-05-30T09:45:32","guid":{"rendered":"http:\/\/www.unixpin.com\/wordpress\/?p=17"},"modified":"2008-10-29T14:18:10","modified_gmt":"2008-10-29T10:18:10","slug":"usefull-script-grep","status":"publish","type":"post","link":"https:\/\/www.unixpin.com\/?p=17","title":{"rendered":"\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c grep"},"content":{"rendered":"<p>\u041c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0435 \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0447\u043a\u0438 \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430:<\/p>\n<p>\u041f\u043e\u0438\u0441\u043a \u043f\u043e \u0441\u043e\u0434\u0435\u0436\u0438\u043c\u043e\u043c\u0443 \u0444\u0430\u0439\u043b\u043e\u0432 grep -l, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043d\u0430\u0439\u0442\u0438 \u0441\u0442\u0440\u043e\u043a\u0443 &#171;10.1.2.3&#187; \u0432\u043e \u0432\u0441\u0435\u0445 \u0444\u0430\u0439\u043b\u0430\u0445 \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435 \/etc :<\/p>\n<pre># grep -l 10.1.2.3 \/etc\/*<\/pre>\n<p>\u041f\u043e\u0438\u0441\u043a \u043f\u043e <a href=\"https:\/\/www.unixpin.com\/2008\/10\/29\/regex-unix\/\" target=\"_blank\">\u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e\u043c\u0443 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044e<\/a> \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 egrep. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440: \u043d\u0430\u0439\u0442\u0438, \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u044f \u0440\u0435\u0433\u0438\u0441\u0442\u0440 (\u043e\u043f\u0446\u0438\u044f -i)\u00a0\u0432 \u0432\u044b\u0432\u043e\u0434\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b ls\u00a0 \u0432\u0441\u0435 \u0444\u0430\u0439\u043b\u044b, \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0449\u0438\u0435\u0441\u044f \u0441 &#8216;t&#8217; \u0438\u043b\u0438 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0435 &#8216;Ze&#8217;:<\/p>\n<pre># ls | egrep -i '^t|Ze'\r\ngconfd-zenoss\r\nmapping-zenoss\r\norbit-zenoss\r\ntrtmpP6aOeP\r\ntrtmpZ6aWeP<\/pre>\n<p>\u041d\u0430\u0439\u0442\u0438 \u0432 \u0444\u0430\u0439\u043b\u0430\u0445 \/etc\/pa* \u0442\u0435, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442 \u0441\u0442\u0440\u043e\u043a\u0443 ROT \u0438\u043b\u0438 ROOT, \u0438\u043b\u0438 ROOOT \u0438\u0442\u0434, \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u044e\u044f \u0440\u0435\u0433\u0438\u0441\u0442\u0440:<\/p>\n<pre># egrep -li '^RO+T' \/etc\/pa*\r\n\/etc\/passwd<\/pre>\n<p>\u041f\u0440\u043e\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0432\u0441\u0435 \u043f\u0443\u0441\u0442\u044b\u0435 \u0441\u0442\u0440\u043e\u043a\u0438:<\/p>\n<pre># cat \/tmp\/file.txt | grep -v ^$\r\n# cat \/tmp\/file.txt | grep -v .<\/pre>\n<p>\u0421\u043c\u043e\u0442\u0440\u0438 \u0442\u0430\u043a\u0436\u0435 <a href=\"https:\/\/www.unixpin.com\/2008\/10\/29\/regex-unix\/\">\u0420\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u044b\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0432 unix<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0435 \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0447\u043a\u0438 \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430: \u041f\u043e\u0438\u0441\u043a \u043f\u043e \u0441\u043e\u0434\u0435\u0436\u0438\u043c\u043e\u043c\u0443 \u0444\u0430\u0439\u043b\u043e\u0432 grep -l, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043d\u0430\u0439\u0442\u0438 \u0441\u0442\u0440\u043e\u043a\u0443 &#171;10.1.2.3&#187; \u0432\u043e \u0432\u0441\u0435\u0445 \u0444\u0430\u0439\u043b\u0430\u0445 \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435 \/etc : # grep -l 10.1.2.3 \/etc\/* \u041f\u043e\u0438\u0441\u043a \u043f\u043e \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e\u043c\u0443 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044e \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 egrep. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440: \u043d\u0430\u0439\u0442\u0438, \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u044f \u0440\u0435\u0433\u0438\u0441\u0442\u0440 (\u043e\u043f\u0446\u0438\u044f -i)\u00a0\u0432 \u0432\u044b\u0432\u043e\u0434\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b ls\u00a0 \u0432\u0441\u0435 \u0444\u0430\u0439\u043b\u044b, \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0449\u0438\u0435\u0441\u044f \u0441 &#8216;t&#8217; \u0438\u043b\u0438 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0435 &#8216;Ze&#8217;: # ls | egrep [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,24,25,4,93],"tags":[45,34,28,36,27],"class_list":["post-17","post","type-post","status-publish","format-standard","hentry","category-shell","category-hpux","category-linux","category-solaris","category-unix-tru64","tag-grep","tag-hp-ux","tag-programming-shell","tag-unix-linux","tag-unix-solaris"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.4 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0435 \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0447\u043a\u0438 \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430: \u041f\u043e\u0438\u0441\u043a \u043f\u043e \u0441\u043e\u0434\u0435\u0436\u0438\u043c\u043e\u043c\u0443 \u0444\u0430\u0439\u043b\u043e\u0432 grep -l, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043d\u0430\u0439\u0442\u0438 \u0441\u0442\u0440\u043e\u043a\u0443 &quot;10.1.2.3&quot; \u0432\u043e \u0432\u0441\u0435\u0445 \u0444\u0430\u0439\u043b\u0430\u0445 \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435 \/etc : # grep -l 10.1.2.3 \/etc\/* \u041f\u043e\u0438\u0441\u043a \u043f\u043e \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e\u043c\u0443 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044e \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 egrep. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440: \u043d\u0430\u0439\u0442\u0438, \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u044f \u0440\u0435\u0433\u0438\u0441\u0442\u0440 (\u043e\u043f\u0446\u0438\u044f -i) \u0432 \u0432\u044b\u0432\u043e\u0434\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b ls \u0432\u0441\u0435 \u0444\u0430\u0439\u043b\u044b, \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0449\u0438\u0435\u0441\u044f \u0441 &#039;t&#039; \u0438\u043b\u0438 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0435 &#039;Ze&#039;: # ls | egrep\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"ikorolev\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.unixpin.com\/?p=17\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.4\" \/>\n\t\t<meta property=\"og:locale\" content=\"ru_RU\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Unix pin | unix: \u0441\u043e\u0432\u0435\u0442\u044b, \u043f\u0440\u0438\u043c\u0435\u0440\u044b, \u0440\u0435\u0448\u0435\u043d\u0438\u044f\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c grep | Unix pin\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0435 \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0447\u043a\u0438 \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430: \u041f\u043e\u0438\u0441\u043a \u043f\u043e \u0441\u043e\u0434\u0435\u0436\u0438\u043c\u043e\u043c\u0443 \u0444\u0430\u0439\u043b\u043e\u0432 grep -l, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043d\u0430\u0439\u0442\u0438 \u0441\u0442\u0440\u043e\u043a\u0443 &quot;10.1.2.3&quot; \u0432\u043e \u0432\u0441\u0435\u0445 \u0444\u0430\u0439\u043b\u0430\u0445 \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435 \/etc : # grep -l 10.1.2.3 \/etc\/* \u041f\u043e\u0438\u0441\u043a \u043f\u043e \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e\u043c\u0443 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044e \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 egrep. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440: \u043d\u0430\u0439\u0442\u0438, \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u044f \u0440\u0435\u0433\u0438\u0441\u0442\u0440 (\u043e\u043f\u0446\u0438\u044f -i) \u0432 \u0432\u044b\u0432\u043e\u0434\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b ls \u0432\u0441\u0435 \u0444\u0430\u0439\u043b\u044b, \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0449\u0438\u0435\u0441\u044f \u0441 &#039;t&#039; \u0438\u043b\u0438 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0435 &#039;Ze&#039;: # ls | egrep\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.unixpin.com\/?p=17\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2008-05-30T09:45:32+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2008-10-29T10:18:10+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c grep | Unix pin\" \/>\n\t\t<meta name=\"twitter:description\" content=\"\u041c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0435 \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0447\u043a\u0438 \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430: \u041f\u043e\u0438\u0441\u043a \u043f\u043e \u0441\u043e\u0434\u0435\u0436\u0438\u043c\u043e\u043c\u0443 \u0444\u0430\u0439\u043b\u043e\u0432 grep -l, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043d\u0430\u0439\u0442\u0438 \u0441\u0442\u0440\u043e\u043a\u0443 &quot;10.1.2.3&quot; \u0432\u043e \u0432\u0441\u0435\u0445 \u0444\u0430\u0439\u043b\u0430\u0445 \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435 \/etc : # grep -l 10.1.2.3 \/etc\/* \u041f\u043e\u0438\u0441\u043a \u043f\u043e \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e\u043c\u0443 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044e \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 egrep. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440: \u043d\u0430\u0439\u0442\u0438, \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u044f \u0440\u0435\u0433\u0438\u0441\u0442\u0440 (\u043e\u043f\u0446\u0438\u044f -i) \u0432 \u0432\u044b\u0432\u043e\u0434\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b ls \u0432\u0441\u0435 \u0444\u0430\u0439\u043b\u044b, \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0449\u0438\u0435\u0441\u044f \u0441 &#039;t&#039; \u0438\u043b\u0438 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0435 &#039;Ze&#039;: # ls | egrep\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.unixpin.com\\\/?p=17#article\",\"name\":\"\\u0418\\u0441\\u043f\\u043e\\u043b\\u044c\\u0437\\u0443\\u0435\\u043c grep | Unix pin\",\"headline\":\"\\u0418\\u0441\\u043f\\u043e\\u043b\\u044c\\u0437\\u0443\\u0435\\u043c grep\",\"author\":{\"@id\":\"https:\\\/\\\/www.unixpin.com\\\/?author=1#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.unixpin.com\\\/#organization\"},\"datePublished\":\"2008-05-30T13:45:32+04:00\",\"dateModified\":\"2008-10-29T14:18:10+03:00\",\"inLanguage\":\"ru-RU\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.unixpin.com\\\/?p=17#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.unixpin.com\\\/?p=17#webpage\"},\"articleSection\":\"Programming - Shell, Unix - HPUX, Unix - Linux, Unix - Solaris, Unix - Tru64, grep, hp-ux, Programming-&gt;Shell, Unix-&gt;Linux, Unix-&gt;Solaris\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.unixpin.com\\\/?p=17#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.unixpin.com\\\/#listItem\",\"position\":1,\"name\":\"\\u0413\\u043b\\u0430\\u0432\\u043d\\u0430\\u044f\",\"item\":\"https:\\\/\\\/www.unixpin.com\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.unixpin.com\\\/?cat=4#listItem\",\"name\":\"Unix - Solaris\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.unixpin.com\\\/?cat=4#listItem\",\"position\":2,\"name\":\"Unix - Solaris\",\"item\":\"https:\\\/\\\/www.unixpin.com\\\/?cat=4\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.unixpin.com\\\/?p=17#listItem\",\"name\":\"\\u0418\\u0441\\u043f\\u043e\\u043b\\u044c\\u0437\\u0443\\u0435\\u043c grep\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.unixpin.com\\\/#listItem\",\"name\":\"\\u0413\\u043b\\u0430\\u0432\\u043d\\u0430\\u044f\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.unixpin.com\\\/?p=17#listItem\",\"position\":3,\"name\":\"\\u0418\\u0441\\u043f\\u043e\\u043b\\u044c\\u0437\\u0443\\u0435\\u043c grep\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.unixpin.com\\\/?cat=4#listItem\",\"name\":\"Unix - Solaris\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.unixpin.com\\\/#organization\",\"name\":\"Unix pin\",\"description\":\"unix: \\u0441\\u043e\\u0432\\u0435\\u0442\\u044b, \\u043f\\u0440\\u0438\\u043c\\u0435\\u0440\\u044b, \\u0440\\u0435\\u0448\\u0435\\u043d\\u0438\\u044f\",\"url\":\"https:\\\/\\\/www.unixpin.com\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.unixpin.com\\\/?author=1#author\",\"url\":\"https:\\\/\\\/www.unixpin.com\\\/?author=1\",\"name\":\"ikorolev\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.unixpin.com\\\/?p=17#webpage\",\"url\":\"https:\\\/\\\/www.unixpin.com\\\/?p=17\",\"name\":\"\\u0418\\u0441\\u043f\\u043e\\u043b\\u044c\\u0437\\u0443\\u0435\\u043c grep | Unix pin\",\"description\":\"\\u041c\\u0430\\u043b\\u0435\\u043d\\u044c\\u043a\\u0438\\u0435 \\u043f\\u043e\\u043b\\u0435\\u0437\\u043d\\u044b\\u0435 \\u043a\\u043e\\u043c\\u0430\\u043d\\u0434\\u043e\\u0447\\u043a\\u0438 \\u0434\\u043b\\u044f \\u043f\\u043e\\u0438\\u0441\\u043a\\u0430: \\u041f\\u043e\\u0438\\u0441\\u043a \\u043f\\u043e \\u0441\\u043e\\u0434\\u0435\\u0436\\u0438\\u043c\\u043e\\u043c\\u0443 \\u0444\\u0430\\u0439\\u043b\\u043e\\u0432 grep -l, \\u043d\\u0430\\u043f\\u0440\\u0438\\u043c\\u0435\\u0440, \\u043d\\u0430\\u0439\\u0442\\u0438 \\u0441\\u0442\\u0440\\u043e\\u043a\\u0443 \\\"10.1.2.3\\\" \\u0432\\u043e \\u0432\\u0441\\u0435\\u0445 \\u0444\\u0430\\u0439\\u043b\\u0430\\u0445 \\u0432 \\u043a\\u0430\\u0442\\u0430\\u043b\\u043e\\u0433\\u0435 \\\/etc : # grep -l 10.1.2.3 \\\/etc\\\/* \\u041f\\u043e\\u0438\\u0441\\u043a \\u043f\\u043e \\u0440\\u0435\\u0433\\u0443\\u043b\\u044f\\u0440\\u043d\\u043e\\u043c\\u0443 \\u0432\\u044b\\u0440\\u0430\\u0436\\u0435\\u043d\\u0438\\u044e \\u0432\\u044b\\u043f\\u043e\\u043b\\u043d\\u044f\\u0435\\u0442 \\u043a\\u043e\\u043c\\u0430\\u043d\\u0434\\u0430 egrep. \\u041d\\u0430\\u043f\\u0440\\u0438\\u043c\\u0435\\u0440: \\u043d\\u0430\\u0439\\u0442\\u0438, \\u0438\\u0433\\u043d\\u043e\\u0440\\u0438\\u0440\\u0443\\u044f \\u0440\\u0435\\u0433\\u0438\\u0441\\u0442\\u0440 (\\u043e\\u043f\\u0446\\u0438\\u044f -i) \\u0432 \\u0432\\u044b\\u0432\\u043e\\u0434\\u0435 \\u043a\\u043e\\u043c\\u0430\\u043d\\u0434\\u044b ls \\u0432\\u0441\\u0435 \\u0444\\u0430\\u0439\\u043b\\u044b, \\u043d\\u0430\\u0447\\u0438\\u043d\\u0430\\u044e\\u0449\\u0438\\u0435\\u0441\\u044f \\u0441 't' \\u0438\\u043b\\u0438 \\u0441\\u043e\\u0434\\u0435\\u0440\\u0436\\u0430\\u0449\\u0438\\u0435 'Ze': # ls | egrep\",\"inLanguage\":\"ru-RU\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.unixpin.com\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.unixpin.com\\\/?p=17#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.unixpin.com\\\/?author=1#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.unixpin.com\\\/?author=1#author\"},\"datePublished\":\"2008-05-30T13:45:32+04:00\",\"dateModified\":\"2008-10-29T14:18:10+03:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.unixpin.com\\\/#website\",\"url\":\"https:\\\/\\\/www.unixpin.com\\\/\",\"name\":\"Unix pin\",\"description\":\"unix: \\u0441\\u043e\\u0432\\u0435\\u0442\\u044b, \\u043f\\u0440\\u0438\\u043c\\u0435\\u0440\\u044b, \\u0440\\u0435\\u0448\\u0435\\u043d\\u0438\\u044f\",\"inLanguage\":\"ru-RU\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.unixpin.com\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c grep | Unix pin","description":"\u041c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0435 \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0447\u043a\u0438 \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430: \u041f\u043e\u0438\u0441\u043a \u043f\u043e \u0441\u043e\u0434\u0435\u0436\u0438\u043c\u043e\u043c\u0443 \u0444\u0430\u0439\u043b\u043e\u0432 grep -l, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043d\u0430\u0439\u0442\u0438 \u0441\u0442\u0440\u043e\u043a\u0443 \"10.1.2.3\" \u0432\u043e \u0432\u0441\u0435\u0445 \u0444\u0430\u0439\u043b\u0430\u0445 \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435 \/etc : # grep -l 10.1.2.3 \/etc\/* \u041f\u043e\u0438\u0441\u043a \u043f\u043e \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e\u043c\u0443 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044e \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 egrep. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440: \u043d\u0430\u0439\u0442\u0438, \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u044f \u0440\u0435\u0433\u0438\u0441\u0442\u0440 (\u043e\u043f\u0446\u0438\u044f -i) \u0432 \u0432\u044b\u0432\u043e\u0434\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b ls \u0432\u0441\u0435 \u0444\u0430\u0439\u043b\u044b, \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0449\u0438\u0435\u0441\u044f \u0441 't' \u0438\u043b\u0438 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0435 'Ze': # ls | egrep","canonical_url":"https:\/\/www.unixpin.com\/?p=17","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.unixpin.com\/?p=17#article","name":"\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c grep | Unix pin","headline":"\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c grep","author":{"@id":"https:\/\/www.unixpin.com\/?author=1#author"},"publisher":{"@id":"https:\/\/www.unixpin.com\/#organization"},"datePublished":"2008-05-30T13:45:32+04:00","dateModified":"2008-10-29T14:18:10+03:00","inLanguage":"ru-RU","mainEntityOfPage":{"@id":"https:\/\/www.unixpin.com\/?p=17#webpage"},"isPartOf":{"@id":"https:\/\/www.unixpin.com\/?p=17#webpage"},"articleSection":"Programming - Shell, Unix - HPUX, Unix - Linux, Unix - Solaris, Unix - Tru64, grep, hp-ux, Programming-&gt;Shell, Unix-&gt;Linux, Unix-&gt;Solaris"},{"@type":"BreadcrumbList","@id":"https:\/\/www.unixpin.com\/?p=17#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.unixpin.com\/#listItem","position":1,"name":"\u0413\u043b\u0430\u0432\u043d\u0430\u044f","item":"https:\/\/www.unixpin.com\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.unixpin.com\/?cat=4#listItem","name":"Unix - Solaris"}},{"@type":"ListItem","@id":"https:\/\/www.unixpin.com\/?cat=4#listItem","position":2,"name":"Unix - Solaris","item":"https:\/\/www.unixpin.com\/?cat=4","nextItem":{"@type":"ListItem","@id":"https:\/\/www.unixpin.com\/?p=17#listItem","name":"\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c grep"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.unixpin.com\/#listItem","name":"\u0413\u043b\u0430\u0432\u043d\u0430\u044f"}},{"@type":"ListItem","@id":"https:\/\/www.unixpin.com\/?p=17#listItem","position":3,"name":"\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c grep","previousItem":{"@type":"ListItem","@id":"https:\/\/www.unixpin.com\/?cat=4#listItem","name":"Unix - Solaris"}}]},{"@type":"Organization","@id":"https:\/\/www.unixpin.com\/#organization","name":"Unix pin","description":"unix: \u0441\u043e\u0432\u0435\u0442\u044b, \u043f\u0440\u0438\u043c\u0435\u0440\u044b, \u0440\u0435\u0448\u0435\u043d\u0438\u044f","url":"https:\/\/www.unixpin.com\/"},{"@type":"Person","@id":"https:\/\/www.unixpin.com\/?author=1#author","url":"https:\/\/www.unixpin.com\/?author=1","name":"ikorolev"},{"@type":"WebPage","@id":"https:\/\/www.unixpin.com\/?p=17#webpage","url":"https:\/\/www.unixpin.com\/?p=17","name":"\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c grep | Unix pin","description":"\u041c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0435 \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0447\u043a\u0438 \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430: \u041f\u043e\u0438\u0441\u043a \u043f\u043e \u0441\u043e\u0434\u0435\u0436\u0438\u043c\u043e\u043c\u0443 \u0444\u0430\u0439\u043b\u043e\u0432 grep -l, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043d\u0430\u0439\u0442\u0438 \u0441\u0442\u0440\u043e\u043a\u0443 \"10.1.2.3\" \u0432\u043e \u0432\u0441\u0435\u0445 \u0444\u0430\u0439\u043b\u0430\u0445 \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435 \/etc : # grep -l 10.1.2.3 \/etc\/* \u041f\u043e\u0438\u0441\u043a \u043f\u043e \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e\u043c\u0443 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044e \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 egrep. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440: \u043d\u0430\u0439\u0442\u0438, \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u044f \u0440\u0435\u0433\u0438\u0441\u0442\u0440 (\u043e\u043f\u0446\u0438\u044f -i) \u0432 \u0432\u044b\u0432\u043e\u0434\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b ls \u0432\u0441\u0435 \u0444\u0430\u0439\u043b\u044b, \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0449\u0438\u0435\u0441\u044f \u0441 't' \u0438\u043b\u0438 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0435 'Ze': # ls | egrep","inLanguage":"ru-RU","isPartOf":{"@id":"https:\/\/www.unixpin.com\/#website"},"breadcrumb":{"@id":"https:\/\/www.unixpin.com\/?p=17#breadcrumblist"},"author":{"@id":"https:\/\/www.unixpin.com\/?author=1#author"},"creator":{"@id":"https:\/\/www.unixpin.com\/?author=1#author"},"datePublished":"2008-05-30T13:45:32+04:00","dateModified":"2008-10-29T14:18:10+03:00"},{"@type":"WebSite","@id":"https:\/\/www.unixpin.com\/#website","url":"https:\/\/www.unixpin.com\/","name":"Unix pin","description":"unix: \u0441\u043e\u0432\u0435\u0442\u044b, \u043f\u0440\u0438\u043c\u0435\u0440\u044b, \u0440\u0435\u0448\u0435\u043d\u0438\u044f","inLanguage":"ru-RU","publisher":{"@id":"https:\/\/www.unixpin.com\/#organization"}}]},"og:locale":"ru_RU","og:site_name":"Unix pin | unix: \u0441\u043e\u0432\u0435\u0442\u044b, \u043f\u0440\u0438\u043c\u0435\u0440\u044b, \u0440\u0435\u0448\u0435\u043d\u0438\u044f","og:type":"article","og:title":"\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c grep | Unix pin","og:description":"\u041c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0435 \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0447\u043a\u0438 \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430: \u041f\u043e\u0438\u0441\u043a \u043f\u043e \u0441\u043e\u0434\u0435\u0436\u0438\u043c\u043e\u043c\u0443 \u0444\u0430\u0439\u043b\u043e\u0432 grep -l, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043d\u0430\u0439\u0442\u0438 \u0441\u0442\u0440\u043e\u043a\u0443 &quot;10.1.2.3&quot; \u0432\u043e \u0432\u0441\u0435\u0445 \u0444\u0430\u0439\u043b\u0430\u0445 \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435 \/etc : # grep -l 10.1.2.3 \/etc\/* \u041f\u043e\u0438\u0441\u043a \u043f\u043e \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e\u043c\u0443 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044e \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 egrep. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440: \u043d\u0430\u0439\u0442\u0438, \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u044f \u0440\u0435\u0433\u0438\u0441\u0442\u0440 (\u043e\u043f\u0446\u0438\u044f -i) \u0432 \u0432\u044b\u0432\u043e\u0434\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b ls \u0432\u0441\u0435 \u0444\u0430\u0439\u043b\u044b, \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0449\u0438\u0435\u0441\u044f \u0441 't' \u0438\u043b\u0438 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0435 'Ze': # ls | egrep","og:url":"https:\/\/www.unixpin.com\/?p=17","article:published_time":"2008-05-30T09:45:32+00:00","article:modified_time":"2008-10-29T10:18:10+00:00","twitter:card":"summary","twitter:title":"\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c grep | Unix pin","twitter:description":"\u041c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0435 \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0447\u043a\u0438 \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430: \u041f\u043e\u0438\u0441\u043a \u043f\u043e \u0441\u043e\u0434\u0435\u0436\u0438\u043c\u043e\u043c\u0443 \u0444\u0430\u0439\u043b\u043e\u0432 grep -l, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043d\u0430\u0439\u0442\u0438 \u0441\u0442\u0440\u043e\u043a\u0443 &quot;10.1.2.3&quot; \u0432\u043e \u0432\u0441\u0435\u0445 \u0444\u0430\u0439\u043b\u0430\u0445 \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435 \/etc : # grep -l 10.1.2.3 \/etc\/* \u041f\u043e\u0438\u0441\u043a \u043f\u043e \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e\u043c\u0443 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044e \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 egrep. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440: \u043d\u0430\u0439\u0442\u0438, \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u044f \u0440\u0435\u0433\u0438\u0441\u0442\u0440 (\u043e\u043f\u0446\u0438\u044f -i) \u0432 \u0432\u044b\u0432\u043e\u0434\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b ls \u0432\u0441\u0435 \u0444\u0430\u0439\u043b\u044b, \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0449\u0438\u0435\u0441\u044f \u0441 't' \u0438\u043b\u0438 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0435 'Ze': # ls | egrep"},"aioseo_meta_data":{"post_id":"17","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2021-11-23 21:46:45","updated":"2026-11-02 21:29:06","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.unixpin.com\/\" title=\"\u0413\u043b\u0430\u0432\u043d\u0430\u044f\">\u0413\u043b\u0430\u0432\u043d\u0430\u044f<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.unixpin.com\/?cat=4\" title=\"Unix - Solaris\">Unix - Solaris<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c grep\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"\u0413\u043b\u0430\u0432\u043d\u0430\u044f","link":"https:\/\/www.unixpin.com\/"},{"label":"Unix - Solaris","link":"https:\/\/www.unixpin.com\/?cat=4"},{"label":"\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c grep","link":"https:\/\/www.unixpin.com\/?p=17"}],"_links":{"self":[{"href":"https:\/\/www.unixpin.com\/index.php?rest_route=\/wp\/v2\/posts\/17","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.unixpin.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.unixpin.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.unixpin.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.unixpin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=17"}],"version-history":[{"count":4,"href":"https:\/\/www.unixpin.com\/index.php?rest_route=\/wp\/v2\/posts\/17\/revisions"}],"predecessor-version":[{"id":138,"href":"https:\/\/www.unixpin.com\/index.php?rest_route=\/wp\/v2\/posts\/17\/revisions\/138"}],"wp:attachment":[{"href":"https:\/\/www.unixpin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=17"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.unixpin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=17"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.unixpin.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=17"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}