{"id":18618,"date":"2024-12-28T11:38:50","date_gmt":"2024-12-28T08:08:50","guid":{"rendered":"https:\/\/rasanegaar.com\/blog\/%d8%b1%d9%88%d8%b4-%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87-%d8%a7%d8%b2-%d8%af%d8%b3%d8%aa%d9%88%d8%b1-grep-%d8%af%d8%b1-%d9%84%db%8c%d9%86%d9%88%da%a9%d8%b3-%d9%85%d8%ab%d8%a7%d9%84-%d9%87%d8%a7\/"},"modified":"2024-12-28T11:38:50","modified_gmt":"2024-12-28T08:08:50","slug":"%d8%b1%d9%88%d8%b4-%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87-%d8%a7%d8%b2-%d8%af%d8%b3%d8%aa%d9%88%d8%b1-grep-%d8%af%d8%b1-%d9%84%db%8c%d9%86%d9%88%da%a9%d8%b3-%d9%85%d8%ab%d8%a7%d9%84-%d9%87%d8%a7","status":"publish","type":"post","link":"https:\/\/rasanegaar.com\/blog\/%d8%b1%d9%88%d8%b4-%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87-%d8%a7%d8%b2-%d8%af%d8%b3%d8%aa%d9%88%d8%b1-grep-%d8%af%d8%b1-%d9%84%db%8c%d9%86%d9%88%da%a9%d8%b3-%d9%85%d8%ab%d8%a7%d9%84-%d9%87%d8%a7\/","title":{"rendered":"\u0631\u0648\u0634 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u062f\u0633\u062a\u0648\u0631 grep \u062f\u0631 \u0644\u06cc\u0646\u0648\u06a9\u0633 + \u0645\u062b\u0627\u0644 \u0647\u0627"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_85 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\"><p class=\"ez-toc-title\" style=\"cursor:inherit\">\u0633\u0631\u0641\u0635\u0644\u0647\u0627\u06cc \u0645\u0637\u0644\u0628<\/p>\n<\/div><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/rasanegaar.com\/blog\/%d8%b1%d9%88%d8%b4-%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87-%d8%a7%d8%b2-%d8%af%d8%b3%d8%aa%d9%88%d8%b1-grep-%d8%af%d8%b1-%d9%84%db%8c%d9%86%d9%88%da%a9%d8%b3-%d9%85%d8%ab%d8%a7%d9%84-%d9%87%d8%a7\/#%d9%86%d8%ad%d9%88_%d8%af%d8%b3%d8%aa%d9%88%d8%b1_grep\" >\u0646\u062d\u0648 \u062f\u0633\u062a\u0648\u0631 Grep<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/rasanegaar.com\/blog\/%d8%b1%d9%88%d8%b4-%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87-%d8%a7%d8%b2-%d8%af%d8%b3%d8%aa%d9%88%d8%b1-grep-%d8%af%d8%b1-%d9%84%db%8c%d9%86%d9%88%da%a9%d8%b3-%d9%85%d8%ab%d8%a7%d9%84-%d9%87%d8%a7\/#%d8%a8%d8%a7_%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87_%d8%a7%d8%b2_%d8%af%d8%b3%d8%aa%d9%88%d8%b1_grep_%d9%84%db%8c%d9%86%d9%88%da%a9%d8%b3\" >\u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u062f\u0633\u062a\u0648\u0631 grep \u0644\u06cc\u0646\u0648\u06a9\u0633<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/rasanegaar.com\/blog\/%d8%b1%d9%88%d8%b4-%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87-%d8%a7%d8%b2-%d8%af%d8%b3%d8%aa%d9%88%d8%b1-grep-%d8%af%d8%b1-%d9%84%db%8c%d9%86%d9%88%da%a9%d8%b3-%d9%85%d8%ab%d8%a7%d9%84-%d9%87%d8%a7\/#%d8%ac%d8%b3%d8%aa%d8%ac%d9%88%db%8c_%d8%a7%d8%b3%d8%a7%d8%b3%db%8c\" >\u062c\u0633\u062a\u062c\u0648\u06cc \u0627\u0633\u0627\u0633\u06cc<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/rasanegaar.com\/blog\/%d8%b1%d9%88%d8%b4-%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87-%d8%a7%d8%b2-%d8%af%d8%b3%d8%aa%d9%88%d8%b1-grep-%d8%af%d8%b1-%d9%84%db%8c%d9%86%d9%88%da%a9%d8%b3-%d9%85%d8%ab%d8%a7%d9%84-%d9%87%d8%a7\/#%d8%ac%d8%b3%d8%aa%d8%ac%d9%88%db%8c_%d8%a8%d8%a7%d8%b2%da%af%d8%b4%d8%aa%db%8c\" >\u062c\u0633\u062a\u062c\u0648\u06cc \u0628\u0627\u0632\u06af\u0634\u062a\u06cc<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/rasanegaar.com\/blog\/%d8%b1%d9%88%d8%b4-%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87-%d8%a7%d8%b2-%d8%af%d8%b3%d8%aa%d9%88%d8%b1-grep-%d8%af%d8%b1-%d9%84%db%8c%d9%86%d9%88%da%a9%d8%b3-%d9%85%d8%ab%d8%a7%d9%84-%d9%87%d8%a7\/#%d9%86%d9%88%d8%b4%d8%aa%d9%87_%d9%87%d8%a7_%d8%b1%d8%a7_%d8%af%d8%b1_%d8%a7%d8%b7%d8%b1%d8%a7%d9%81_%d8%ae%d8%b7_%d9%85%d9%86%d8%b7%d8%a8%d9%82_%da%86%d8%a7%d9%be_%da%a9%d9%86%db%8c%d8%af\" >\u0646\u0648\u0634\u062a\u0647 \u0647\u0627 \u0631\u0627 \u062f\u0631 \u0627\u0637\u0631\u0627\u0641 \u062e\u0637 \u0645\u0646\u0637\u0628\u0642 \u0686\u0627\u067e \u06a9\u0646\u06cc\u062f<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/rasanegaar.com\/blog\/%d8%b1%d9%88%d8%b4-%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87-%d8%a7%d8%b2-%d8%af%d8%b3%d8%aa%d9%88%d8%b1-grep-%d8%af%d8%b1-%d9%84%db%8c%d9%86%d9%88%da%a9%d8%b3-%d9%85%d8%ab%d8%a7%d9%84-%d9%87%d8%a7\/#%d8%ac%d8%b3%d8%aa%d8%ac%d9%88%db%8c_%d8%a8%d8%af%d9%88%d9%86_%d8%ad%d8%b1%d9%88%d9%81_%d8%a8%d8%b2%d8%b1%da%af\" >\u062c\u0633\u062a\u062c\u0648\u06cc \u0628\u062f\u0648\u0646 \u062d\u0631\u0648\u0641 \u0628\u0632\u0631\u06af<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/rasanegaar.com\/blog\/%d8%b1%d9%88%d8%b4-%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87-%d8%a7%d8%b2-%d8%af%d8%b3%d8%aa%d9%88%d8%b1-grep-%d8%af%d8%b1-%d9%84%db%8c%d9%86%d9%88%da%a9%d8%b3-%d9%85%d8%ab%d8%a7%d9%84-%d9%87%d8%a7\/#%d8%ac%d8%b3%d8%aa%d8%ac%d9%88%db%8c_%d9%85%d8%b9%da%a9%d9%88%d8%b3\" >\u062c\u0633\u062a\u062c\u0648\u06cc \u0645\u0639\u06a9\u0648\u0633<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/rasanegaar.com\/blog\/%d8%b1%d9%88%d8%b4-%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87-%d8%a7%d8%b2-%d8%af%d8%b3%d8%aa%d9%88%d8%b1-grep-%d8%af%d8%b1-%d9%84%db%8c%d9%86%d9%88%da%a9%d8%b3-%d9%85%d8%ab%d8%a7%d9%84-%d9%87%d8%a7\/#%d9%86%d9%85%d8%a7%db%8c%d8%b4_%d8%b4%d9%85%d8%a7%d8%b1%d9%87_%d8%ae%d8%b7%d9%88%d8%b7\" >\u0646\u0645\u0627\u06cc\u0634 \u0634\u0645\u0627\u0631\u0647 \u062e\u0637\u0648\u0637<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/rasanegaar.com\/blog\/%d8%b1%d9%88%d8%b4-%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87-%d8%a7%d8%b2-%d8%af%d8%b3%d8%aa%d9%88%d8%b1-grep-%d8%af%d8%b1-%d9%84%db%8c%d9%86%d9%88%da%a9%d8%b3-%d9%85%d8%ab%d8%a7%d9%84-%d9%87%d8%a7\/#%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87_%d8%a7%d8%b2_grep_%d8%a8%d8%a7_%d8%b9%d8%a8%d8%a7%d8%b1%d8%a7%d8%aa_%d9%85%d9%86%d8%b8%d9%85\" >\u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 grep \u0628\u0627 \u0639\u0628\u0627\u0631\u0627\u062a \u0645\u0646\u0638\u0645<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/rasanegaar.com\/blog\/%d8%b1%d9%88%d8%b4-%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87-%d8%a7%d8%b2-%d8%af%d8%b3%d8%aa%d9%88%d8%b1-grep-%d8%af%d8%b1-%d9%84%db%8c%d9%86%d9%88%da%a9%d8%b3-%d9%85%d8%ab%d8%a7%d9%84-%d9%87%d8%a7\/#%d8%a7%d9%84%da%af%d9%88%d9%87%d8%a7%db%8c_%d9%85%d8%aa%d8%b9%d8%af%d8%af_%d8%b1%d8%a7_%d8%ac%d8%b3%d8%aa%d8%ac%d9%88_%da%a9%d9%86%db%8c%d8%af\" >\u0627\u0644\u06af\u0648\u0647\u0627\u06cc \u0645\u062a\u0639\u062f\u062f \u0631\u0627 \u062c\u0633\u062a\u062c\u0648 \u06a9\u0646\u06cc\u062f<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/rasanegaar.com\/blog\/%d8%b1%d9%88%d8%b4-%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87-%d8%a7%d8%b2-%d8%af%d8%b3%d8%aa%d9%88%d8%b1-grep-%d8%af%d8%b1-%d9%84%db%8c%d9%86%d9%88%da%a9%d8%b3-%d9%85%d8%ab%d8%a7%d9%84-%d9%87%d8%a7\/#%d8%b4%d9%85%d8%a7%d8%b1%d8%b4_%d9%85%d8%b3%d8%a7%d8%a8%d9%82%d8%a7%d8%aa\" >\u0634\u0645\u0627\u0631\u0634 \u0645\u0633\u0627\u0628\u0642\u0627\u062a<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/rasanegaar.com\/blog\/%d8%b1%d9%88%d8%b4-%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87-%d8%a7%d8%b2-%d8%af%d8%b3%d8%aa%d9%88%d8%b1-grep-%d8%af%d8%b1-%d9%84%db%8c%d9%86%d9%88%da%a9%d8%b3-%d9%85%d8%ab%d8%a7%d9%84-%d9%87%d8%a7\/#grep_%d8%b1%d8%a7_%d8%a8%d8%a7_%d8%af%d8%b3%d8%aa%d9%88%d8%b1%d8%a7%d8%aa_%d8%af%db%8c%da%af%d8%b1_%d8%aa%d8%b1%da%a9%db%8c%d8%a8_%da%a9%d9%86%db%8c%d8%af\" >grep \u0631\u0627 \u0628\u0627 \u062f\u0633\u062a\u0648\u0631\u0627\u062a \u062f\u06cc\u06af\u0631 \u062a\u0631\u06a9\u06cc\u0628 \u06a9\u0646\u06cc\u062f<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/rasanegaar.com\/blog\/%d8%b1%d9%88%d8%b4-%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87-%d8%a7%d8%b2-%d8%af%d8%b3%d8%aa%d9%88%d8%b1-grep-%d8%af%d8%b1-%d9%84%db%8c%d9%86%d9%88%da%a9%d8%b3-%d9%85%d8%ab%d8%a7%d9%84-%d9%87%d8%a7\/#%d8%aa%d8%ba%db%8c%db%8c%d8%b1_%d9%85%d8%b3%db%8c%d8%b1_%d8%ae%d8%b1%d9%88%d8%ac%db%8c\" >\u062a\u063a\u06cc\u06cc\u0631 \u0645\u0633\u06cc\u0631 \u062e\u0631\u0648\u062c\u06cc<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/rasanegaar.com\/blog\/%d8%b1%d9%88%d8%b4-%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87-%d8%a7%d8%b2-%d8%af%d8%b3%d8%aa%d9%88%d8%b1-grep-%d8%af%d8%b1-%d9%84%db%8c%d9%86%d9%88%da%a9%d8%b3-%d9%85%d8%ab%d8%a7%d9%84-%d9%87%d8%a7\/#%d9%86%d8%aa%db%8c%d8%ac%d9%87_%da%af%db%8c%d8%b1%db%8c\" >\u0646\u062a\u06cc\u062c\u0647 \u06af\u06cc\u0631\u06cc<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/rasanegaar.com\/blog\/%d8%b1%d9%88%d8%b4-%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87-%d8%a7%d8%b2-%d8%af%d8%b3%d8%aa%d9%88%d8%b1-grep-%d8%af%d8%b1-%d9%84%db%8c%d9%86%d9%88%da%a9%d8%b3-%d9%85%d8%ab%d8%a7%d9%84-%d9%87%d8%a7\/#%d8%b1%d9%88%d8%b4_%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87_%d8%a7%d8%b2_%d8%af%d8%b3%d8%aa%d9%88%d8%b1_grep_%d8%b3%d9%88%d8%a7%d9%84%d8%a7%d8%aa_%d9%85%d8%aa%d8%af%d8%a7%d9%88%d9%84\" >\u0631\u0648\u0634 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u062f\u0633\u062a\u0648\u0631 grep \u0633\u0648\u0627\u0644\u0627\u062a \u0645\u062a\u062f\u0627\u0648\u0644<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/rasanegaar.com\/blog\/%d8%b1%d9%88%d8%b4-%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87-%d8%a7%d8%b2-%d8%af%d8%b3%d8%aa%d9%88%d8%b1-grep-%d8%af%d8%b1-%d9%84%db%8c%d9%86%d9%88%da%a9%d8%b3-%d9%85%d8%ab%d8%a7%d9%84-%d9%87%d8%a7\/#%d8%af%d8%b3%d8%aa%d9%88%d8%b1_grep_%d8%a8%d8%b1%d8%a7%db%8c_%da%86%db%8c%d8%b3%d8%aa%d8%9f\" >\u062f\u0633\u062a\u0648\u0631 grep \u0628\u0631\u0627\u06cc \u0686\u06cc\u0633\u062a\u061f<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-17\" href=\"https:\/\/rasanegaar.com\/blog\/%d8%b1%d9%88%d8%b4-%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87-%d8%a7%d8%b2-%d8%af%d8%b3%d8%aa%d9%88%d8%b1-grep-%d8%af%d8%b1-%d9%84%db%8c%d9%86%d9%88%da%a9%d8%b3-%d9%85%d8%ab%d8%a7%d9%84-%d9%87%d8%a7\/#%d8%b1%d8%a7%db%8c%d8%ac_%d8%aa%d8%b1%db%8c%d9%86_%da%af%d8%b2%db%8c%d9%86%d9%87_%d9%87%d8%a7%db%8c_%d9%85%d9%88%d8%b1%d8%af_%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87_%d8%af%d8%b1_grep_%da%a9%d8%af%d8%a7%d9%85%d9%86%d8%af%d8%9f\" >\u0631\u0627\u06cc\u062c \u062a\u0631\u06cc\u0646 \u06af\u0632\u06cc\u0646\u0647 \u0647\u0627\u06cc \u0645\u0648\u0631\u062f \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u062f\u0631 grep \u06a9\u062f\u0627\u0645\u0646\u062f\u061f<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-18\" href=\"https:\/\/rasanegaar.com\/blog\/%d8%b1%d9%88%d8%b4-%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87-%d8%a7%d8%b2-%d8%af%d8%b3%d8%aa%d9%88%d8%b1-grep-%d8%af%d8%b1-%d9%84%db%8c%d9%86%d9%88%da%a9%d8%b3-%d9%85%d8%ab%d8%a7%d9%84-%d9%87%d8%a7\/#%d8%a2%db%8c%d8%a7_%d9%85%db%8c_%d8%aa%d9%88%d8%a7%d9%86%d9%85_%d8%a8%d8%a7_%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87_%d8%a7%d8%b2_grep_%db%8c%da%a9_%d8%a7%d9%84%da%af%d9%88_%d8%b1%d8%a7_%d8%af%d8%b1_%da%86%d9%86%d8%af%db%8c%d9%86_%d9%81%d8%a7%db%8c%d9%84_%db%8c%d8%a7_%d8%af%d8%a7%db%8c%d8%b1%da%a9%d8%aa%d9%88%d8%b1%db%8c_%d8%ac%d8%b3%d8%aa%d8%ac%d9%88_%da%a9%d9%86%d9%85%d8%9f\" >\u0622\u06cc\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646\u0645 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 grep \u06cc\u06a9 \u0627\u0644\u06af\u0648 \u0631\u0627 \u062f\u0631 \u0686\u0646\u062f\u06cc\u0646 \u0641\u0627\u06cc\u0644 \u06cc\u0627 \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc \u062c\u0633\u062a\u062c\u0648 \u06a9\u0646\u0645\u061f<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-19\" href=\"https:\/\/rasanegaar.com\/blog\/%d8%b1%d9%88%d8%b4-%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87-%d8%a7%d8%b2-%d8%af%d8%b3%d8%aa%d9%88%d8%b1-grep-%d8%af%d8%b1-%d9%84%db%8c%d9%86%d9%88%da%a9%d8%b3-%d9%85%d8%ab%d8%a7%d9%84-%d9%87%d8%a7\/#%da%86%da%af%d9%88%d9%86%d9%87_%d8%ae%d8%b7%d9%88%d8%b7%db%8c_%d8%b1%d8%a7_%d8%ac%d8%b3%d8%aa%d8%ac%d9%88_%da%a9%d9%86%d9%85_%da%a9%d9%87_%d8%a8%d8%a7_%db%8c%da%a9_%d8%a7%d9%84%da%af%d9%88_%d9%85%d8%b7%d8%a7%d8%a8%d9%82%d8%aa_%d9%86%d8%af%d8%a7%d8%b1%d9%86%d8%af%d8%9f\" >\u0686\u06af\u0648\u0646\u0647 \u062e\u0637\u0648\u0637\u06cc \u0631\u0627 \u062c\u0633\u062a\u062c\u0648 \u06a9\u0646\u0645 \u06a9\u0647 \u0628\u0627 \u06cc\u06a9 \u0627\u0644\u06af\u0648 \u0645\u0637\u0627\u0628\u0642\u062a \u0646\u062f\u0627\u0631\u0646\u062f\u061f<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">\u0632\u0645\u0627\u0646 \u0644\u0627\u0632\u0645 \u0628\u0631\u0627\u06cc \u0645\u0637\u0627\u0644\u0639\u0647: <\/span> <span class=\"rt-time\"> 9<\/span> <span class=\"rt-label rt-postfix\">\u062f\u0642\u06cc\u0642\u0647<\/span><\/span><p> <br \/>\n<\/p>\n<div class=\"post-content\">\n<p>\u0627\u06cc\u0646 <strong>\u0686\u0627\u067e \u0628\u06cc\u0627\u0646 \u0645\u0646\u0638\u0645 \u062c\u0647\u0627\u0646\u06cc<\/strong> \u06cc\u0627 <strong>grep<\/strong> \u0641\u0631\u0645\u0627\u0646 \u062e\u0637\u0648\u0637 \u062e\u0627\u0635\u06cc \u0631\u0627 \u06a9\u0647 \u062d\u0627\u0648\u06cc \u06cc\u06a9 \u0627\u0644\u06af\u0648\u06cc \u062e\u0627\u0635 \u062f\u0631 \u06cc\u06a9 \u0641\u0627\u06cc\u0644 \u0627\u0633\u062a \u062c\u0633\u062a\u062c\u0648 \u0645\u06cc \u06a9\u0646\u062f. \u0627\u06cc\u0646 \u0628\u0631\u0627\u06cc \u0628\u0631\u0631\u0633\u06cc \u0633\u0631\u06cc\u0639 \u0648\u062c\u0648\u062f \u06cc\u06a9 \u0648\u0631\u0648\u062f\u06cc \u0645\u0641\u06cc\u062f \u0627\u0633\u062a\u060c \u0628\u0647 \u062e\u0635\u0648\u0635 \u0628\u0631\u0627\u06cc \u0645\u0648\u0627\u0631\u062f \u0628\u0632\u0631\u06af \u0645\u0627\u0646\u0646\u062f \u0641\u0627\u06cc\u0644 \u0647\u0627\u06cc \u06af\u0632\u0627\u0631\u0634.<\/p>\n<p>\u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u06af\u0632\u06cc\u0646\u0647\u200c\u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641\u06cc \u0631\u0627 \u0628\u0631\u0627\u06cc \u0627\u0635\u0644\u0627\u062d \u0631\u0641\u062a\u0627\u0631 \u0641\u0631\u0645\u0627\u0646 \u0628\u0631\u0627\u06cc \u06a9\u0627\u0631\u0647\u0627\u06cc \u062e\u0627\u0635\u060c \u0645\u0627\u0646\u0646\u062f \u062c\u0633\u062a\u062c\u0648\u06cc \u0645\u0639\u06a9\u0648\u0633 \u0648 \u062c\u0633\u062a\u062c\u0648\u06cc \u0686\u0646\u062f \u06a9\u0644\u0645\u0647 \u06a9\u0644\u06cc\u062f\u06cc\u060c \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f. \u0628\u0647 \u062f\u0644\u06cc\u0644 \u0627\u0646\u0639\u0637\u0627\u0641 \u067e\u0630\u06cc\u0631\u06cc\u060c grep \u06cc\u06a9 \u0627\u0628\u0632\u0627\u0631 \u0636\u0631\u0648\u0631\u06cc \u0628\u0631\u0627\u06cc \u0645\u062f\u06cc\u0631\u06cc\u062a \u0633\u0631\u0648\u0631 \u062e\u0635\u0648\u0635\u06cc \u0645\u062c\u0627\u0632\u06cc \u0644\u06cc\u0646\u0648\u06a9\u0633 (VPS) \u0634\u0645\u0627 \u0627\u0633\u062a.<\/p>\n<p>\u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u0631\u0648\u0634 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u062f\u0633\u062a\u0648\u0631 grep \u062f\u0631 \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0627\u0632 \u062c\u0645\u0644\u0647 \u0646\u062d\u0648 \u0648 \u06af\u0632\u06cc\u0646\u0647 \u0647\u0627\u06cc \u0622\u0646 \u062a\u0648\u0636\u06cc\u062d \u062f\u0627\u062f\u0647 \u0645\u06cc \u0634\u0648\u062f. \u0647\u0645\u0686\u0646\u06cc\u0646 \u0628\u0631\u062e\u06cc \u0627\u0632 \u0628\u0631\u0646\u0627\u0645\u0647 \u0647\u0627\u06cc \u06a9\u0627\u0631\u0628\u0631\u062f\u06cc \u062f\u0646\u06cc\u0627\u06cc \u0648\u0627\u0642\u0639\u06cc \u0622\u0646 \u0631\u0627 \u0628\u0631\u0627\u06cc \u0645\u062f\u06cc\u0631\u06cc\u062a \u0641\u0627\u06cc\u0644 \u0647\u0627 \u062f\u0631 \u0633\u06cc\u0633\u062a\u0645 \u062e\u0648\u062f \u062e\u0648\u0627\u0647\u06cc\u062f \u0622\u0645\u0648\u062e\u062a. <\/p>\n<h2 class=\"wp-block-heading\" id=\"h-grep-command-syntax\"><span class=\"ez-toc-section\" id=\"%d9%86%d8%ad%d9%88_%d8%af%d8%b3%d8%aa%d9%88%d8%b1_grep\"><\/span><span class=\"ez-toc-section\" id=\"Grep_command_syntax\"><\/span>\u0646\u062d\u0648 \u062f\u0633\u062a\u0648\u0631 Grep<span class=\"ez-toc-section-end\"><\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u0646\u062d\u0648 \u0627\u0635\u0644\u06cc grep \u0628\u0647 \u0635\u0648\u0631\u062a \u0632\u06cc\u0631 \u0627\u0633\u062a:<\/p>\n<pre class=\"wp-block-preformatted\">grep [options] pattern [FILE]\u00a0<\/pre>\n<p>\u062f\u0631 \u0627\u06cc\u0646\u062c\u0627 \u062a\u0648\u0636\u06cc\u062d\u06cc \u062f\u0631\u0628\u0627\u0631\u0647 \u0645\u0639\u0646\u0627\u06cc \u0647\u0631 \u0639\u0646\u0635\u0631 \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f:<\/p>\n<ul class=\"wp-block-list\">\n<li><strong>grep<\/strong> &#8211; \u0646\u0627\u0645 \u0627\u0628\u0632\u0627\u0631.<\/li>\n<li><strong>\u06af\u0632\u06cc\u0646\u0647 \u0647\u0627<\/strong> &#8211; \u0622\u0631\u06af\u0648\u0645\u0627\u0646 \u0647\u0627\u06cc\u06cc \u06a9\u0647 \u0631\u0641\u062a\u0627\u0631 \u062f\u0633\u062a\u0648\u0631 grep \u0631\u0627 \u062a\u063a\u06cc\u06cc\u0631 \u0645\u06cc \u062f\u0647\u0646\u062f.<\/li>\n<li><strong>\u0627\u0644\u06af\u0648\u06cc<\/strong> &#8211; \u06a9\u0644\u0645\u0647 \u06a9\u0644\u06cc\u062f\u06cc \u06a9\u0647 \u0645\u06cc \u062e\u0648\u0627\u0647\u06cc\u062f \u062c\u0633\u062a\u062c\u0648 \u06a9\u0646\u06cc\u062f.<\/li>\n<li><strong>\u0641\u0627\u06cc\u0644<\/strong> \u2013 \u0645\u0648\u0631\u062f\u06cc \u06a9\u0647 \u0645\u06cc \u062e\u0648\u0627\u0647\u06cc\u062f \u0645\u062d\u062a\u0648\u0627\u06cc \u0622\u0646 \u0631\u0627 \u062c\u0633\u062a\u062c\u0648 \u06a9\u0646\u06cc\u062f. <\/li>\n<\/ul>\n<p>\u062f\u0631 \u0628\u062e\u0634 \u0628\u0639\u062f\u06cc\u060c \u0645\u062a\u062f\u0627\u0648\u0644 \u062a\u0631\u06cc\u0646 \u06af\u0632\u06cc\u0646\u0647 \u0647\u0627 \u0648 \u0645\u062b\u0627\u0644 \u0647\u0627\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u062f\u0631 \u062f\u0646\u06cc\u0627\u06cc \u0648\u0627\u0642\u0639\u06cc \u0622\u0646\u0647\u0627 \u0631\u0627 \u062a\u0648\u0636\u06cc\u062d \u062e\u0648\u0627\u0647\u06cc\u0645 \u062f\u0627\u062f.<\/p>\n<p>\u0631\u0627 \u0628\u062e\u0648\u0627\u0646\u06cc\u062f <a href=\"https:\/\/man7.org\/linux\/man-pages\/man1\/grep.1.html\" data-wpel-link=\"external\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\u0631\u0627\u0647\u0646\u0645\u0627\u06cc grep<\/a> \u0628\u0631\u0627\u06cc \u06a9\u0633\u0628 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0628\u06cc\u0634\u062a\u0631 \u062f\u0631 \u0645\u0648\u0631\u062f \u0647\u0645\u0647 \u06af\u0632\u06cc\u0646\u0647 \u0647\u0627 \u0627\u0632 \u0637\u0631\u0641 \u062f\u06cc\u06af\u0631\u060c \u0627\u06cc\u0646 \u0631\u0627\u0647\u0646\u0645\u0627\u06cc \u0627\u0628\u0632\u0627\u0631 \u0631\u0627 \u062f\u0631 \u062e\u0648\u062f \u0628\u0631\u0631\u0633\u06cc \u06a9\u0646\u06cc\u062f command-line \u0631\u0627\u0628\u0637 \u0628\u0627 \u0648\u0627\u0631\u062f \u06a9\u0631\u062f\u0646:<\/p>\n<pre class=\"wp-block-preformatted\">grep --help<\/pre>\n<div class=\"wp-block-image\">\n<\/div>\n<p>\u0628\u0647 \u06cc\u0627\u062f \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f \u06a9\u0647 \u0628\u0627\u06cc\u062f \u0627\u0632 \u0627\u0645\u062a\u06cc\u0627\u0632 &#8220;\u062e\u0648\u0627\u0646\u062f\u0646&#8221; \u0641\u0627\u06cc\u0644\u06cc \u06a9\u0647 \u0645\u06cc \u062e\u0648\u0627\u0647\u06cc\u062f \u0628\u0627 grep \u0628\u0631\u0631\u0633\u06cc \u06a9\u0646\u06cc\u062f\u060c \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f. \u0628\u0631\u0627\u06cc \u06a9\u0633\u0628 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0628\u06cc\u0634\u062a\u0631 \u062f\u0631 \u0645\u0648\u0631\u062f \u0645\u062c\u0648\u0632\u0647\u0627 \u062f\u0631 \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0648 \u0631\u0648\u0634 \u062a\u063a\u06cc\u06cc\u0631 \u0622\u0646\u0647\u0627\u060c \u0622\u0645\u0648\u0632\u0634 chmod utility \u0645\u0627 \u0631\u0627 \u0628\u062e\u0648\u0627\u0646\u06cc\u062f.<\/p>\n<h2 class=\"wp-block-heading\" id=\"h-using-the-linux-grep-command\"><span class=\"ez-toc-section\" id=\"%d8%a8%d8%a7_%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87_%d8%a7%d8%b2_%d8%af%d8%b3%d8%aa%d9%88%d8%b1_grep_%d9%84%db%8c%d9%86%d9%88%da%a9%d8%b3\"><\/span><span class=\"ez-toc-section\" id=\"Using_the_Linux_grep_command\"><\/span>\u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u062f\u0633\u062a\u0648\u0631 grep \u0644\u06cc\u0646\u0648\u06a9\u0633<span class=\"ez-toc-section-end\"><\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u062f\u0631 \u0627\u06cc\u0646 \u0628\u062e\u0634\u060c \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0631\u0627\u06cc\u062c \u0627\u0632 \u0627\u0628\u0632\u0627\u0631 grep \u0631\u0627 \u0645\u0648\u0631\u062f \u0628\u062d\u062b \u0642\u0631\u0627\u0631 \u062e\u0648\u0627\u0647\u06cc\u0645 \u062f\u0627\u062f. \u0627\u06af\u0631 \u0627\u0632 VPS \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u06a9\u0646\u06cc\u062f\u060c \u062f\u0633\u062a\u0648\u0631 \u0631\u0627 \u0627\u0632 \u0637\u0631\u06cc\u0642 \u06cc\u06a9 \u06a9\u0644\u0627\u06cc\u0646\u062a SSH \u0645\u0627\u0646\u0646\u062f PuTTY \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u062f. \u0628\u0631\u0627\u06cc \u0631\u0627\u06cc\u0627\u0646\u0647 \u0647\u0627\u06cc \u0631\u0648\u0645\u06cc\u0632\u06cc\u060c \u062a\u0631\u0645\u06cc\u0646\u0627\u0644 \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0631\u0627 \u0628\u0627 \u0641\u0634\u0627\u0631 \u062f\u0627\u062f\u0646 \u0628\u0627\u0632 \u06a9\u0646\u06cc\u062f <strong>Ctrl + Alt + T<\/strong>.<\/p>\n<h3 class=\"wp-block-heading\" id=\"h-basic-search\"><span class=\"ez-toc-section\" id=\"%d8%ac%d8%b3%d8%aa%d8%ac%d9%88%db%8c_%d8%a7%d8%b3%d8%a7%d8%b3%db%8c\"><\/span><span class=\"ez-toc-section\" id=\"Basic_search\"><\/span>\u062c\u0633\u062a\u062c\u0648\u06cc \u0627\u0633\u0627\u0633\u06cc<span class=\"ez-toc-section-end\"><\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u0627\u0633\u0627\u0633\u06cc \u062a\u0631\u06cc\u0646 \u06a9\u0627\u0631\u0628\u0631\u062f grep \u0641\u06cc\u0644\u062a\u0631 \u06a9\u0631\u062f\u0646 \u0641\u0627\u06cc\u0644 \u0647\u0627\u06cc \u0645\u062a\u0646\u06cc\u060c \u062e\u0631\u0648\u062c\u06cc \u062e\u0637\u0648\u0637\u06cc \u0627\u0633\u062a \u06a9\u0647 \u062d\u0627\u0648\u06cc \u06cc\u06a9 \u06a9\u0644\u0645\u0647 \u062e\u0627\u0635 \u0647\u0633\u062a\u0646\u062f. \u0628\u0631\u0627\u06cc \u0627\u0646\u062c\u0627\u0645 \u0627\u06cc\u0646 \u06a9\u0627\u0631\u060c \u0627\u06cc\u0646 \u062f\u0633\u062a\u0648\u0631 \u0631\u0627 \u0628\u062f\u0648\u0646 \u06af\u0632\u06cc\u0646\u0647 \u0627\u06cc \u0645\u0627\u0646\u0646\u062f \u0627\u06cc\u0646 \u062f\u0633\u062a\u0648\u0631 \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"wp-block-preformatted\">grep keyword file<\/pre>\n<p>\u0647\u0645\u0686\u0646\u06cc\u0646 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0686\u0646\u062f\u06cc\u0646 \u0646\u0627\u0645 \u0641\u0627\u06cc\u0644 \u0631\u0627 \u0641\u0647\u0631\u0633\u062a \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"wp-block-preformatted\">grep pattern file1 file2 file3<\/pre>\n<p>\u0627\u06af\u0631 \u0645\u06cc \u062e\u0648\u0627\u0647\u06cc\u062f \u0627\u0632 \u0639\u0628\u0627\u0631\u062a\u06cc \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0631\u0634\u062a\u0647 \u062c\u0633\u062a\u062c\u0648 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f\u060c \u0627\u0644\u06af\u0648 \u0631\u0627 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0639\u0644\u0627\u0645\u062a \u0646\u0642\u0644 \u0642\u0648\u0644 \u0642\u0631\u0627\u0631 \u062f\u0647\u06cc\u062f. \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0645\u062b\u0627\u0644\u060c \u0627\u06cc\u0646 \u062f\u0633\u062a\u0648\u0631 \u062e\u0637\u0648\u0637 \u062d\u0627\u0648\u06cc <strong>\u062a\u0648\u0632\u06cc\u0639 \u0644\u06cc\u0646\u0648\u06a9\u0633 <\/strong>\u062f\u0631<strong> hostingertxt <\/strong>\u0641\u0627\u06cc\u0644 \u0646\u0645\u0648\u0646\u0647:<\/p>\n<pre class=\"wp-block-preformatted\">grep \"Linux distro\" hostinger.txt\u00a0<\/pre>\n<div class=\"wp-block-image\">\n<\/div>\n<p>\u062a\u0648\u062c\u0647 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f \u06a9\u0647 \u0646\u062d\u0648 \u0641\u0642\u0637 \u062f\u0631 \u0635\u0648\u0631\u062a\u06cc \u06a9\u0627\u0631 \u0645\u06cc \u06a9\u0646\u062f \u06a9\u0647 \u0641\u0627\u06cc\u0644 \u0648\u0631\u0648\u062f\u06cc \u062f\u0631 \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc \u0641\u0639\u0644\u06cc \u0634\u0645\u0627 \u0628\u0627\u0634\u062f. \u0627\u06af\u0631 \u062f\u0631 \u0645\u06a9\u0627\u0646 \u062f\u06cc\u06af\u0631\u06cc \u0627\u0633\u062a\u060c \u0645\u0633\u06cc\u0631 \u06a9\u0627\u0645\u0644 \u0631\u0627 \u0645\u0627\u0646\u0646\u062f \u0632\u06cc\u0631 \u0645\u0634\u062e\u0635 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"wp-block-preformatted\">grep pattern \/path\/to\/the\/file.txt<\/pre>\n<div>\n<p class=\"important\"><strong>\u0645\u0647\u0645!<\/strong> \u0627\u0632 \u0622\u0646\u062c\u0627\u06cc\u06cc \u06a9\u0647 \u062f\u0633\u062a\u0648\u0631\u0627\u062a \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0645\u0627\u0646\u0646\u062f grep \u0628\u0647 \u062d\u0631\u0648\u0641 \u06a9\u0648\u0686\u06a9 \u0648 \u0628\u0632\u0631\u06af \u062d\u0633\u0627\u0633 \u0647\u0633\u062a\u0646\u062f\u060c \u0628\u0647 \u062d\u0631\u0648\u0641 \u0628\u0632\u0631\u06af \u062f\u0631 \u0627\u0644\u06af\u0648\u06cc \u062c\u0633\u062a\u062c\u0648 \u0648 \u0646\u0627\u0645 \u0641\u0627\u06cc\u0644 \u062e\u0648\u062f \u062a\u0648\u062c\u0647 \u06a9\u0646\u06cc\u062f.<\/p>\n<\/div>\n<h3 class=\"wp-block-heading\" id=\"h-recursive-search\"><span class=\"ez-toc-section\" id=\"%d8%ac%d8%b3%d8%aa%d8%ac%d9%88%db%8c_%d8%a8%d8%a7%d8%b2%da%af%d8%b4%d8%aa%db%8c\"><\/span><span class=\"ez-toc-section\" id=\"Recursive_search\"><\/span>\u062c\u0633\u062a\u062c\u0648\u06cc \u0628\u0627\u0632\u06af\u0634\u062a\u06cc<span class=\"ez-toc-section-end\"><\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u0634\u0645\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0647 \u0635\u0648\u0631\u062a \u0628\u0627\u0632\u06af\u0634\u062a\u06cc \u0647\u0645\u0647 \u0641\u0627\u06cc\u0644 \u0647\u0627 \u0648 \u0632\u06cc\u0631 \u0634\u0627\u062e\u0647 \u0647\u0627\u06cc \u062f\u0627\u062e\u0644 \u06cc\u06a9 \u067e\u0648\u0634\u0647 \u0631\u0627 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u062c\u0633\u062a\u062c\u0648 \u062c\u0633\u062a\u062c\u0648 \u06a9\u0646\u06cc\u062f <strong>-r<\/strong> \u06af\u0632\u06cc\u0646\u0647 \u062f\u0631 \u0627\u06cc\u0646\u062c\u0627 \u0646\u062d\u0648 \u0627\u0633\u062a:<\/p>\n<pre class=\"wp-block-preformatted\">grep -r keyword path\/to\/a\/folder<\/pre>\n<p>\u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0645\u062b\u0627\u0644\u060c \u0645\u0627 \u06cc\u06a9 <strong>\u0622\u0645\u0648\u0632\u0634\/\u0645\u062d\u062a\u0648\u0627\/\u0644\u06cc\u0646\u0648\u06a9\u0633 <\/strong>\u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc \u062d\u0627\u0648\u06cc \u062f\u0648 \u067e\u0648\u0634\u0647 \u0628\u0647 \u0646\u0627\u0645 <strong>\u062f\u0633\u062a\u0648\u0631\u0627\u062a<\/strong> \u0648<strong> \u0622\u0628 \u0648 \u0628\u0631\u0642<\/strong>. \u0628\u0631\u0627\u06cc \u062c\u0633\u062a\u062c\u0648\u06cc \u06a9\u0644\u0645\u0647 <strong>VPS<\/strong> \u062f\u0631 \u062a\u0645\u0627\u0645 \u0641\u0627\u06cc\u0644 \u0647\u0627\u06cc \u062f\u0627\u062e\u0644 \u0627\u06cc\u0646 \u067e\u0648\u0634\u0647 \u0647\u0627\u060c \u0628\u0647 \u0633\u0627\u062f\u06af\u06cc grep \u0631\u0627 \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u062f \u0631\u0648\u06cc \u0645\u0633\u06cc\u0631 \u0648\u0627\u0644\u062f:<\/p>\n<pre class=\"wp-block-preformatted\">grep -r VPS tutorial\/content\/linux<\/pre>\n<p>\u062f\u0633\u062a\u0648\u0631 grep \u062e\u0637\u0648\u0637 \u0645\u0646\u0637\u0628\u0642 \u0627\u0632 \u0647\u0631 \u0641\u0627\u06cc\u0644 \u0648 \u067e\u0648\u0634\u0647 \u0627\u06cc \u0631\u0627 \u0641\u0647\u0631\u0633\u062a \u0645\u06cc \u06a9\u0646\u062f <strong>\u0622\u0645\u0648\u0632\u0634\/\u0645\u062d\u062a\u0648\u0627\/\u0644\u06cc\u0646\u0648\u06a9\u0633 <\/strong>\u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc<\/p>\n<div class=\"wp-block-image\">\n<figure data-wp-context='{\"uploadedSrc\":\"https:\\\/\\\/www.hostinger.com\\\/tutorials\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2024\\\/08\\\/grep-recursively-searches-files-within-different-subfolders.png\",\"figureClassNames\":\"aligncenter size-large\",\"figureStyles\":null,\"imgClassNames\":\"wp-image-113753\",\"imgStyles\":null,\"targetWidth\":1274,\"targetHeight\":120,\"scaleAttr\":false,\"ariaLabel\":\"Enlarge image: grep recursively searches files within different subfolders\",\"alt\":\"grep recursively searches files within different subfolders\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-large wp-lightbox-container\"><img decoding=\"async\" width=\"1024\" height=\"96\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/rasanegaar.com\/blog\/wp-content\/uploads\/2024\/12\/\u0646\u062d\u0648\u0647-\u0627\u0633\u062a\u0641\u0627\u062f\u0647-\u0627\u0632-\u062f\u0633\u062a\u0648\u0631-grep-\u062f\u0631-\u0644\u06cc\u0646\u0648\u06a9\u0633-\u0645\u062b\u0627\u0644-\u0647\u0627.png\" alt=\"grep \u0628\u0647 \u0635\u0648\u0631\u062a \u0628\u0627\u0632\u06af\u0634\u062a\u06cc \u0641\u0627\u06cc\u0644 \u0647\u0627 \u0631\u0627 \u062f\u0631 \u0632\u06cc\u0631 \u067e\u0648\u0634\u0647 \u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641 \u062c\u0633\u062a\u062c\u0648 \u0645\u06cc \u06a9\u0646\u062f\" class=\"wp-image-113753\" srcset=\"https:\/\/rasanegaar.com\/blog\/wp-content\/uploads\/2024\/12\/\u0646\u062d\u0648\u0647-\u0627\u0633\u062a\u0641\u0627\u062f\u0647-\u0627\u0632-\u062f\u0633\u062a\u0648\u0631-grep-\u062f\u0631-\u0644\u06cc\u0646\u0648\u06a9\u0633-\u0645\u062b\u0627\u0644-\u0647\u0627.png 1024w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/08\/grep-recursively-searches-files-within-different-subfolders-300x28.png 300w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/08\/grep-recursively-searches-files-within-different-subfolders-150x14.png 150w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/08\/grep-recursively-searches-files-within-different-subfolders-768x72.png 768w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/08\/grep-recursively-searches-files-within-different-subfolders.png 1274w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" title=\"\"><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge image: grep recursively searches files within different subfolders\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"context.imageButtonRight\" data-wp-style--top=\"context.imageButtonTop\"><br \/>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg><br \/>\n\t\t<\/button><\/figure>\n<\/div>\n<h3 class=\"wp-block-heading\" id=\"h-print-entries-around-the-matching-line\"><span class=\"ez-toc-section\" id=\"%d9%86%d9%88%d8%b4%d8%aa%d9%87_%d9%87%d8%a7_%d8%b1%d8%a7_%d8%af%d8%b1_%d8%a7%d8%b7%d8%b1%d8%a7%d9%81_%d8%ae%d8%b7_%d9%85%d9%86%d8%b7%d8%a8%d9%82_%da%86%d8%a7%d9%be_%da%a9%d9%86%db%8c%d8%af\"><\/span><span class=\"ez-toc-section\" id=\"Print_entries_around_the_matching_line\"><\/span>\u0646\u0648\u0634\u062a\u0647 \u0647\u0627 \u0631\u0627 \u062f\u0631 \u0627\u0637\u0631\u0627\u0641 \u062e\u0637 \u0645\u0646\u0637\u0628\u0642 \u0686\u0627\u067e \u06a9\u0646\u06cc\u062f<span class=\"ez-toc-section-end\"><\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Grep \u0628\u0647 \u0634\u0645\u0627 \u0627\u0645\u06a9\u0627\u0646 \u0645\u06cc \u062f\u0647\u062f \u062e\u0637\u0648\u0637 \u062e\u0631\u0648\u062c\u06cc \u0631\u0627 \u0628\u0639\u062f \u0648 \u0642\u0628\u0644 \u0627\u0632 \u0648\u0631\u0648\u062f\u06cc \u0645\u0637\u0627\u0628\u0642\u062a \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u062f \u062a\u0627 \u0632\u0645\u06cc\u0646\u0647 \u0628\u06cc\u0634\u062a\u0631\u06cc \u0631\u0627 \u062f\u0631 \u0627\u062e\u062a\u06cc\u0627\u0631 \u0634\u0645\u0627 \u0642\u0631\u0627\u0631 \u062f\u0647\u062f. \u0628\u0631\u0627\u06cc \u0627\u0646\u062c\u0627\u0645 \u0627\u06cc\u0646 \u06a9\u0627\u0631\u060c \u0627\u06cc\u0646 \u06af\u0632\u06cc\u0646\u0647 \u0647\u0627 \u0631\u0627 \u0628\u0647 \u0647\u0645\u0631\u0627\u0647 \u062a\u0639\u062f\u0627\u062f \u062e\u0637\u0648\u0637 \u0645\u062c\u0627\u0648\u0631 \u06a9\u0647 \u0645\u06cc \u062e\u0648\u0627\u0647\u06cc\u062f \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f print:<\/p>\n<ul class=\"wp-block-list\">\n<li><strong>\u0627\u0644\u0641<\/strong> &#8211; \u062e\u0637 \u0631\u0627 \u067e\u0633 \u0627\u0632 \u0645\u062f\u062e\u0644 \u0645\u0646\u0637\u0628\u0642 \u0686\u0627\u067e \u0645\u06cc \u06a9\u0646\u062f.<\/li>\n<li><strong>\u0628<\/strong> \u2013 \u062e\u0631\u0648\u062c\u06cc \u062e\u0637 \u0631\u0627 \u0642\u0628\u0644 \u0627\u0632 \u0648\u0631\u0648\u062f\u06cc \u062a\u0637\u0628\u06cc\u0642 \u0645\u06cc \u062f\u0647\u062f.<\/li>\n<li><strong>\u0633\u06cc<\/strong> &#8211; \u062e\u0637\u0648\u0637 \u0631\u0627 \u0647\u0645 \u0628\u0639\u062f \u0648 \u0647\u0645 \u0642\u0628\u0644 \u0627\u0632 \u0648\u0631\u0648\u062f \u0646\u0645\u0627\u06cc\u0634 \u0645\u06cc \u062f\u0647\u062f.<\/li>\n<\/ul>\n<p>\u0628\u0631\u0627\u06cc \u0645\u062b\u0627\u0644\u060c \u062f\u0633\u062a\u0648\u0631 grep \u0632\u06cc\u0631 \u0631\u0627 \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u062f print \u06cc\u06a9 \u0648\u0631\u0648\u062f\u06cc \u0628\u0639\u062f \u0627\u0632 \u062e\u0637\u0648\u0637 \u0645\u0637\u0627\u0628\u0642:<\/p>\n<pre class=\"wp-block-preformatted\">grep -A1 pattern file<\/pre>\n<div class=\"wp-block-image\">\n<figure data-wp-context='{\"uploadedSrc\":\"https:\\\/\\\/www.hostinger.com\\\/tutorials\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2024\\\/08\\\/grep-prints-a-line-after-the-matching-entry.png\",\"figureClassNames\":\"aligncenter size-large\",\"figureStyles\":null,\"imgClassNames\":\"wp-image-113754\",\"imgStyles\":null,\"targetWidth\":1048,\"targetHeight\":94,\"scaleAttr\":false,\"ariaLabel\":\"Enlarge image: grep prints a line after the matching entry\",\"alt\":\"grep prints a line after the matching entry\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-large wp-lightbox-container\"><img decoding=\"async\" width=\"1024\" height=\"92\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"data:image\/svg+xml,%3Csvg%20xmlns=\" alt=\"grep \u06cc\u06a9 \u062e\u0637 \u0631\u0627 \u0628\u0639\u062f \u0627\u0632 \u0648\u0631\u0648\u062f\u06cc \u0645\u0637\u0627\u0628\u0642\u062a \u0686\u0627\u067e \u0645\u06cc \u06a9\u0646\u062f\" class=\"wp-image-113754\" data-lazy-srcset=\"https:\/\/rasanegaar.com\/blog\/wp-content\/uploads\/2024\/12\/1735373309_503_\u0646\u062d\u0648\u0647-\u0627\u0633\u062a\u0641\u0627\u062f\u0647-\u0627\u0632-\u062f\u0633\u062a\u0648\u0631-grep-\u062f\u0631-\u0644\u06cc\u0646\u0648\u06a9\u0633-\u0645\u062b\u0627\u0644-\u0647\u0627.png 1024w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/08\/grep-prints-a-line-after-the-matching-entry-300x27.png 300w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/08\/grep-prints-a-line-after-the-matching-entry-150x13.png 150w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/08\/grep-prints-a-line-after-the-matching-entry-768x69.png 768w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/08\/grep-prints-a-line-after-the-matching-entry.png 1048w\" data-lazy-sizes=\"(max-width: 1024px) 100vw, 1024px\" data-lazy-src=\"https:\/\/rasanegaar.com\/blog\/wp-content\/uploads\/2024\/12\/1735373309_503_\u0646\u062d\u0648\u0647-\u0627\u0633\u062a\u0641\u0627\u062f\u0647-\u0627\u0632-\u062f\u0633\u062a\u0648\u0631-grep-\u062f\u0631-\u0644\u06cc\u0646\u0648\u06a9\u0633-\u0645\u062b\u0627\u0644-\u0647\u0627.png\" http: title=\"\"><img decoding=\"async\" width=\"1024\" height=\"92\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/rasanegaar.com\/blog\/wp-content\/uploads\/2024\/12\/1735373309_503_\u0646\u062d\u0648\u0647-\u0627\u0633\u062a\u0641\u0627\u062f\u0647-\u0627\u0632-\u062f\u0633\u062a\u0648\u0631-grep-\u062f\u0631-\u0644\u06cc\u0646\u0648\u06a9\u0633-\u0645\u062b\u0627\u0644-\u0647\u0627.png\" alt=\"grep \u06cc\u06a9 \u062e\u0637 \u0631\u0627 \u0628\u0639\u062f \u0627\u0632 \u0648\u0631\u0648\u062f\u06cc \u0645\u0637\u0627\u0628\u0642\u062a \u0686\u0627\u067e \u0645\u06cc \u06a9\u0646\u062f\" class=\"wp-image-113754\" srcset=\"https:\/\/rasanegaar.com\/blog\/wp-content\/uploads\/2024\/12\/1735373309_503_\u0646\u062d\u0648\u0647-\u0627\u0633\u062a\u0641\u0627\u062f\u0647-\u0627\u0632-\u062f\u0633\u062a\u0648\u0631-grep-\u062f\u0631-\u0644\u06cc\u0646\u0648\u06a9\u0633-\u0645\u062b\u0627\u0644-\u0647\u0627.png 1024w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/08\/grep-prints-a-line-after-the-matching-entry-300x27.png 300w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/08\/grep-prints-a-line-after-the-matching-entry-150x13.png 150w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/08\/grep-prints-a-line-after-the-matching-entry-768x69.png 768w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/08\/grep-prints-a-line-after-the-matching-entry.png 1048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" title=\"\"><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge image: grep prints a line after the matching entry\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"context.imageButtonRight\" data-wp-style--top=\"context.imageButtonTop\"><br \/>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg><br \/>\n\t\t<\/button><\/figure>\n<\/div>\n<h3 class=\"wp-block-heading\" id=\"h-case-insensitive-search\"><span class=\"ez-toc-section\" id=\"%d8%ac%d8%b3%d8%aa%d8%ac%d9%88%db%8c_%d8%a8%d8%af%d9%88%d9%86_%d8%ad%d8%b1%d9%88%d9%81_%d8%a8%d8%b2%d8%b1%da%af\"><\/span><span class=\"ez-toc-section\" id=\"Case-insensitive_search\"><\/span>\u062c\u0633\u062a\u062c\u0648\u06cc \u0628\u062f\u0648\u0646 \u062d\u0631\u0648\u0641 \u0628\u0632\u0631\u06af<span class=\"ez-toc-section-end\"><\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u0628\u0647\u200c\u0637\u0648\u0631 \u067e\u06cc\u0634\u200c\u0641\u0631\u0636\u060c grep \u0627\u0644\u06af\u0648\u0647\u0627\u06cc \u0628\u0627 \u062d\u0631\u0648\u0641 \u0645\u062e\u062a\u0644\u0641 \u0631\u0627 \u0628\u0647\u200c\u0639\u0646\u0648\u0627\u0646 \u0631\u0634\u062a\u0647\u200c\u0627\u06cc \u0645\u062a\u0641\u0627\u0648\u062a \u062f\u0631 \u0646\u0638\u0631 \u0645\u06cc\u200c\u06af\u06cc\u0631\u062f. \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0645\u062b\u0627\u0644\u060c \u0634\u0645\u0627 \u0646\u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u062c\u0633\u062a\u062c\u0648 \u06a9\u0646\u06cc\u062f <strong>\u06af\u0631\u067e<\/strong> \u0648<strong> GREP<\/strong> \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u06a9\u0644\u0645\u0647 \u06a9\u0644\u06cc\u062f\u06cc <strong>grep<\/strong>. \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u06cc\u0646 \u0631\u0641\u062a\u0627\u0631 \u0631\u0627 \u0628\u0627 \u0627\u0641\u0632\u0648\u062f\u0646 \u0639\u0628\u0627\u0631\u062a \u063a\u06cc\u0631\u0641\u0639\u0627\u0644 \u06a9\u0646\u06cc\u062f <strong>\u0645\u0646<\/strong> \u06af\u0632\u06cc\u0646\u0647:<\/p>\n<pre class=\"wp-block-preformatted\">grep -i keyword file<\/pre>\n<p>\u0627\u06af\u0631 \u0628\u062e\u0648\u0627\u0647\u06cc\u0645 \u06a9\u0644\u0645\u0647 \u0631\u0627 \u062c\u0633\u062a\u062c\u0648 \u06a9\u0646\u06cc\u0645 <strong>vps<\/strong> \u0648 \u062a\u0641\u0627\u0648\u062a \u0647\u0627\u06cc \u062d\u0631\u0648\u0641 \u06a9\u0648\u0686\u06a9 \u0631\u0627 \u0646\u0627\u062f\u06cc\u062f\u0647 \u0628\u06af\u06cc\u0631\u06cc\u062f\u060c \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0631\u0627 \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"wp-block-preformatted\">grep -i vps hostinger.txt<\/pre>\n<div class=\"wp-block-image\">\n<figure data-wp-context='{\"uploadedSrc\":\"https:\\\/\\\/www.hostinger.com\\\/tutorials\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2024\\\/08\\\/grep-finds-the-pattern-vps-ignoring-case-distinctions.png\",\"figureClassNames\":\"aligncenter size-large\",\"figureStyles\":null,\"imgClassNames\":\"wp-image-113755\",\"imgStyles\":null,\"targetWidth\":1134,\"targetHeight\":82,\"scaleAttr\":false,\"ariaLabel\":\"Enlarge image: Grep finds the pattern VPS ignoring case distinctions\",\"alt\":\"Grep finds the pattern VPS ignoring case distinctions\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-large wp-lightbox-container\"><img decoding=\"async\" width=\"1024\" height=\"74\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"data:image\/svg+xml,%3Csvg%20xmlns=\" alt=\"\u06af\u0631\u067e \u0627\u0644\u06af\u0648\u06cc VPS \u0631\u0627 \u0628\u0627 \u0646\u0627\u062f\u06cc\u062f\u0647 \u06af\u0631\u0641\u062a\u0646 \u062a\u0645\u0627\u06cc\u0632\u0627\u062a \u0645\u0648\u0631\u062f\u06cc \u067e\u06cc\u062f\u0627 \u0645\u06cc \u06a9\u0646\u062f\" class=\"wp-image-113755\" data-lazy-srcset=\"https:\/\/rasanegaar.com\/blog\/wp-content\/uploads\/2024\/12\/1735373312_453_\u0646\u062d\u0648\u0647-\u0627\u0633\u062a\u0641\u0627\u062f\u0647-\u0627\u0632-\u062f\u0633\u062a\u0648\u0631-grep-\u062f\u0631-\u0644\u06cc\u0646\u0648\u06a9\u0633-\u0645\u062b\u0627\u0644-\u0647\u0627.png 1024w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/08\/grep-finds-the-pattern-vps-ignoring-case-distinctions-300x22.png 300w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/08\/grep-finds-the-pattern-vps-ignoring-case-distinctions-150x11.png 150w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/08\/grep-finds-the-pattern-vps-ignoring-case-distinctions-768x56.png 768w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/08\/grep-finds-the-pattern-vps-ignoring-case-distinctions.png 1134w\" data-lazy-sizes=\"(max-width: 1024px) 100vw, 1024px\" data-lazy-src=\"https:\/\/rasanegaar.com\/blog\/wp-content\/uploads\/2024\/12\/1735373312_453_\u0646\u062d\u0648\u0647-\u0627\u0633\u062a\u0641\u0627\u062f\u0647-\u0627\u0632-\u062f\u0633\u062a\u0648\u0631-grep-\u062f\u0631-\u0644\u06cc\u0646\u0648\u06a9\u0633-\u0645\u062b\u0627\u0644-\u0647\u0627.png\" http: title=\"\"><img decoding=\"async\" width=\"1024\" height=\"74\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/rasanegaar.com\/blog\/wp-content\/uploads\/2024\/12\/1735373312_453_\u0646\u062d\u0648\u0647-\u0627\u0633\u062a\u0641\u0627\u062f\u0647-\u0627\u0632-\u062f\u0633\u062a\u0648\u0631-grep-\u062f\u0631-\u0644\u06cc\u0646\u0648\u06a9\u0633-\u0645\u062b\u0627\u0644-\u0647\u0627.png\" alt=\"\u06af\u0631\u067e \u0627\u0644\u06af\u0648\u06cc VPS \u0631\u0627 \u0628\u0627 \u0646\u0627\u062f\u06cc\u062f\u0647 \u06af\u0631\u0641\u062a\u0646 \u062a\u0645\u0627\u06cc\u0632\u0627\u062a \u0645\u0648\u0631\u062f\u06cc \u067e\u06cc\u062f\u0627 \u0645\u06cc \u06a9\u0646\u062f\" class=\"wp-image-113755\" srcset=\"https:\/\/rasanegaar.com\/blog\/wp-content\/uploads\/2024\/12\/1735373312_453_\u0646\u062d\u0648\u0647-\u0627\u0633\u062a\u0641\u0627\u062f\u0647-\u0627\u0632-\u062f\u0633\u062a\u0648\u0631-grep-\u062f\u0631-\u0644\u06cc\u0646\u0648\u06a9\u0633-\u0645\u062b\u0627\u0644-\u0647\u0627.png 1024w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/08\/grep-finds-the-pattern-vps-ignoring-case-distinctions-300x22.png 300w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/08\/grep-finds-the-pattern-vps-ignoring-case-distinctions-150x11.png 150w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/08\/grep-finds-the-pattern-vps-ignoring-case-distinctions-768x56.png 768w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/08\/grep-finds-the-pattern-vps-ignoring-case-distinctions.png 1134w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" title=\"\"><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge image: Grep finds the pattern VPS ignoring case distinctions\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"context.imageButtonRight\" data-wp-style--top=\"context.imageButtonTop\"><br \/>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg><br \/>\n\t\t<\/button><\/figure>\n<\/div>\n<h3 class=\"wp-block-heading\" id=\"h-inverted-search\"><span class=\"ez-toc-section\" id=\"%d8%ac%d8%b3%d8%aa%d8%ac%d9%88%db%8c_%d9%85%d8%b9%da%a9%d9%88%d8%b3\"><\/span><span class=\"ez-toc-section\" id=\"Inverted_search\"><\/span>\u062c\u0633\u062a\u062c\u0648\u06cc \u0645\u0639\u06a9\u0648\u0633<span class=\"ez-toc-section-end\"><\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u0631\u0627 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f <strong>-v<\/strong> \u06af\u0632\u06cc\u0646\u0647 \u0627\u06cc \u0628\u0631\u0627\u06cc \u0641\u0631\u0645\u0627\u0646 grep \u0634\u0645\u0627 \u0645\u0627\u0646\u0646\u062f \u0627\u06cc\u0646 \u0646\u062d\u0648 \u0628\u0631\u0627\u06cc \u0641\u0639\u0627\u0644 \u06a9\u0631\u062f\u0646 \u062c\u0633\u062a\u062c\u0648\u06cc \u0645\u0639\u06a9\u0648\u0633\u060c \u0686\u0627\u067e \u062e\u0637\u0648\u0637 \u063a\u06cc\u0631 \u0645\u0646\u0637\u0628\u0642:<\/p>\n<pre class=\"wp-block-preformatted\">grep -v keyword file<\/pre>\n<p>\u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0645\u062b\u0627\u0644\u060c \u0627\u06cc\u0646 \u062f\u0633\u062a\u0648\u0631 \u0641\u0642\u0637 \u0622\u0646 \u062e\u0637\u0648\u0637 \u0631\u0627 \u0628\u062f\u0648\u0646 \u06a9\u0644\u0645\u0647 VPS \u0627\u0632 the \u0646\u0645\u0627\u06cc\u0634 \u0645\u06cc \u062f\u0647\u062f <strong>hostingertxt<\/strong> \u0641\u0627\u06cc\u0644:<\/p>\n<pre class=\"wp-block-preformatted\">grep -v VPS hostinger.txt<\/pre>\n<div class=\"wp-block-image\">\n<figure data-wp-context='{\"uploadedSrc\":\"https:\\\/\\\/www.hostinger.com\\\/tutorials\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2024\\\/08\\\/grep-prints-lines-that-dont-match-the-searched-pattern.png\",\"figureClassNames\":\"aligncenter size-full\",\"figureStyles\":null,\"imgClassNames\":\"wp-image-113756\",\"imgStyles\":null,\"targetWidth\":910,\"targetHeight\":90,\"scaleAttr\":false,\"ariaLabel\":\"Enlarge image: Grep prints lines that don\\u0027t match the searched pattern\",\"alt\":\"Grep prints lines that don\\u0027t match the searched pattern\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-full wp-lightbox-container\"><img decoding=\"async\" width=\"910\" height=\"90\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"data:image\/svg+xml,%3Csvg%20xmlns=\" alt=\"Grep \u062e\u0637\u0648\u0637\u06cc \u0631\u0627 \u0686\u0627\u067e \u0645\u06cc \u06a9\u0646\u062f \u06a9\u0647 \u0628\u0627 \u0627\u0644\u06af\u0648\u06cc \u062c\u0633\u062a\u062c\u0648 \u0634\u062f\u0647 \u0645\u0637\u0627\u0628\u0642\u062a \u0646\u062f\u0627\u0631\u0646\u062f\" class=\"wp-image-113756\" data-lazy-srcset=\"https:\/\/rasanegaar.com\/blog\/wp-content\/uploads\/2024\/12\/1735373314_693_\u0646\u062d\u0648\u0647-\u0627\u0633\u062a\u0641\u0627\u062f\u0647-\u0627\u0632-\u062f\u0633\u062a\u0648\u0631-grep-\u062f\u0631-\u0644\u06cc\u0646\u0648\u06a9\u0633-\u0645\u062b\u0627\u0644-\u0647\u0627.png 910w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/08\/grep-prints-lines-that-dont-match-the-searched-pattern-300x30.png 300w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/08\/grep-prints-lines-that-dont-match-the-searched-pattern-150x15.png 150w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/08\/grep-prints-lines-that-dont-match-the-searched-pattern-768x76.png 768w\" data-lazy-sizes=\"(max-width: 910px) 100vw, 910px\" data-lazy-src=\"https:\/\/rasanegaar.com\/blog\/wp-content\/uploads\/2024\/12\/1735373314_693_\u0646\u062d\u0648\u0647-\u0627\u0633\u062a\u0641\u0627\u062f\u0647-\u0627\u0632-\u062f\u0633\u062a\u0648\u0631-grep-\u062f\u0631-\u0644\u06cc\u0646\u0648\u06a9\u0633-\u0645\u062b\u0627\u0644-\u0647\u0627.png\" http: title=\"\"><img decoding=\"async\" width=\"910\" height=\"90\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/rasanegaar.com\/blog\/wp-content\/uploads\/2024\/12\/1735373314_693_\u0646\u062d\u0648\u0647-\u0627\u0633\u062a\u0641\u0627\u062f\u0647-\u0627\u0632-\u062f\u0633\u062a\u0648\u0631-grep-\u062f\u0631-\u0644\u06cc\u0646\u0648\u06a9\u0633-\u0645\u062b\u0627\u0644-\u0647\u0627.png\" alt=\"Grep \u062e\u0637\u0648\u0637\u06cc \u0631\u0627 \u0686\u0627\u067e \u0645\u06cc \u06a9\u0646\u062f \u06a9\u0647 \u0628\u0627 \u0627\u0644\u06af\u0648\u06cc \u062c\u0633\u062a\u062c\u0648 \u0634\u062f\u0647 \u0645\u0637\u0627\u0628\u0642\u062a \u0646\u062f\u0627\u0631\u0646\u062f\" class=\"wp-image-113756\" srcset=\"https:\/\/rasanegaar.com\/blog\/wp-content\/uploads\/2024\/12\/1735373314_693_\u0646\u062d\u0648\u0647-\u0627\u0633\u062a\u0641\u0627\u062f\u0647-\u0627\u0632-\u062f\u0633\u062a\u0648\u0631-grep-\u062f\u0631-\u0644\u06cc\u0646\u0648\u06a9\u0633-\u0645\u062b\u0627\u0644-\u0647\u0627.png 910w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/08\/grep-prints-lines-that-dont-match-the-searched-pattern-300x30.png 300w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/08\/grep-prints-lines-that-dont-match-the-searched-pattern-150x15.png 150w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/08\/grep-prints-lines-that-dont-match-the-searched-pattern-768x76.png 768w\" sizes=\"(max-width: 910px) 100vw, 910px\" title=\"\"><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge image: Grep prints lines that don't match the searched pattern\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"context.imageButtonRight\" data-wp-style--top=\"context.imageButtonTop\"><br \/>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg><br \/>\n\t\t<\/button><\/figure>\n<\/div>\n<h3 class=\"wp-block-heading\" id=\"h-display-line-numbers\"><span class=\"ez-toc-section\" id=\"%d9%86%d9%85%d8%a7%db%8c%d8%b4_%d8%b4%d9%85%d8%a7%d8%b1%d9%87_%d8%ae%d8%b7%d9%88%d8%b7\"><\/span><span class=\"ez-toc-section\" id=\"Display_line_numbers\"><\/span>\u0646\u0645\u0627\u06cc\u0634 \u0634\u0645\u0627\u0631\u0647 \u062e\u0637\u0648\u0637<span class=\"ez-toc-section-end\"><\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u0627\u06af\u0631 \u0628\u0627 \u0641\u0627\u06cc\u0644\u200c\u0647\u0627\u06cc \u0628\u0632\u0631\u06af\u06cc \u0645\u0627\u0646\u0646\u062f \u06af\u0632\u0627\u0631\u0634 \u06a9\u0627\u0631 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u062f\u060c \u062f\u0627\u062f\u0647\u200c\u0647\u0627\u06cc \u062e\u0631\u0648\u062c\u06cc \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u062f \u0628\u0633\u06cc\u0627\u0631 \u0637\u0648\u0644\u0627\u0646\u06cc \u0628\u0627\u0634\u062f. \u0628\u0631\u0631\u0633\u06cc \u0645\u0648\u0642\u0639\u06cc\u062a \u0627\u0644\u06af\u0648 \u0631\u0627 \u062f\u0634\u0648\u0627\u0631 \u0645\u06cc \u06a9\u0646\u062f. \u0628\u0631\u0627\u06cc \u0633\u0627\u062f\u0647\u200c\u062a\u0631 \u06a9\u0631\u062f\u0646 \u06a9\u0627\u0631\u060c \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0634\u0645\u0627\u0631\u0647\u200c\u0647\u0627\u06cc \u062e\u0637\u0648\u0637 \u0631\u0627 \u0628\u0627 \u0639\u0644\u0627\u0645\u062a \u0646\u0634\u0627\u0646 \u062f\u0647\u06cc\u062f <strong>-n<\/strong> \u06af\u0632\u06cc\u0646\u0647 \u0627\u06cc \u0645\u0627\u0646\u0646\u062f \u0627\u06cc\u0646:<\/p>\n<pre class=\"wp-block-preformatted\">grep -n keyword file<\/pre>\n<p>\u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0645\u062b\u0627\u0644\u060c \u0627\u06cc\u0646 \u062f\u0633\u062a\u0648\u0631 \u062e\u0648\u0627\u0647\u062f \u0628\u0648\u062f print \u062e\u0637\u0648\u0637 \u0627\u0632 <strong>auth.log<\/strong> \u062d\u0627\u0648\u06cc \u06a9\u0644\u0645\u0647 <strong>\u06a9\u0627\u0631\u0628\u0631 \u0646\u0627\u0634\u0646\u0627\u0633<\/strong> \u0648 \u062a\u0639\u062f\u0627\u062f \u0622\u0646\u0647\u0627:<\/p>\n<pre class=\"wp-block-preformatted\">grep -n \"unknown user\" auth.log<\/pre>\n<p>\u062e\u0637\u06cc \u06a9\u0647 \u0628\u0627 \u0639\u062f\u062f \u06cc\u06a9 \u0634\u0631\u0648\u0639 \u0645\u06cc \u0634\u0648\u062f \u0628\u0647 \u0627\u06cc\u0646 \u0645\u0639\u0646\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0627\u0648\u0644\u06cc\u0646 \u0648\u0631\u0648\u062f\u06cc \u0627\u0632 \u0627\u0633\u062a <strong>auth.log<\/strong> \u0641\u0627\u06cc\u0644 \u0648 \u063a\u06cc\u0631\u0647 \u0631\u0648\u06cc.<\/p>\n<div class=\"wp-block-image\">\n<figure data-wp-context='{\"uploadedSrc\":\"https:\\\/\\\/www.hostinger.com\\\/tutorials\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2024\\\/08\\\/grep-command-shows-the-line-numbers.png\",\"figureClassNames\":\"aligncenter size-full\",\"figureStyles\":null,\"imgClassNames\":\"wp-image-113758\",\"imgStyles\":null,\"targetWidth\":1286,\"targetHeight\":196,\"scaleAttr\":false,\"ariaLabel\":\"Enlarge image: Grep command shows the line numbers\",\"alt\":\"Grep command shows the line numbers\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-full wp-lightbox-container\"><img decoding=\"async\" width=\"1286\" height=\"196\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"data:image\/svg+xml,%3Csvg%20xmlns=\" alt=\"\u062f\u0633\u062a\u0648\u0631 Grep \u0634\u0645\u0627\u0631\u0647 \u062e\u0637\u0648\u0637 \u0631\u0627 \u0646\u0634\u0627\u0646 \u0645\u06cc \u062f\u0647\u062f\" class=\"wp-image-113758\" data-lazy-srcset=\"https:\/\/rasanegaar.com\/blog\/wp-content\/uploads\/2024\/12\/1735373321_238_\u0646\u062d\u0648\u0647-\u0627\u0633\u062a\u0641\u0627\u062f\u0647-\u0627\u0632-\u062f\u0633\u062a\u0648\u0631-grep-\u062f\u0631-\u0644\u06cc\u0646\u0648\u06a9\u0633-\u0645\u062b\u0627\u0644-\u0647\u0627.png 1286w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/08\/grep-command-shows-the-line-numbers-300x46.png 300w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/08\/grep-command-shows-the-line-numbers-1024x156.png 1024w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/08\/grep-command-shows-the-line-numbers-150x23.png 150w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/08\/grep-command-shows-the-line-numbers-768x117.png 768w\" data-lazy-sizes=\"(max-width: 1286px) 100vw, 1286px\" data-lazy-src=\"https:\/\/rasanegaar.com\/blog\/wp-content\/uploads\/2024\/12\/1735373321_238_\u0646\u062d\u0648\u0647-\u0627\u0633\u062a\u0641\u0627\u062f\u0647-\u0627\u0632-\u062f\u0633\u062a\u0648\u0631-grep-\u062f\u0631-\u0644\u06cc\u0646\u0648\u06a9\u0633-\u0645\u062b\u0627\u0644-\u0647\u0627.png\" http: title=\"\"><img decoding=\"async\" width=\"1286\" height=\"196\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/rasanegaar.com\/blog\/wp-content\/uploads\/2024\/12\/1735373321_238_\u0646\u062d\u0648\u0647-\u0627\u0633\u062a\u0641\u0627\u062f\u0647-\u0627\u0632-\u062f\u0633\u062a\u0648\u0631-grep-\u062f\u0631-\u0644\u06cc\u0646\u0648\u06a9\u0633-\u0645\u062b\u0627\u0644-\u0647\u0627.png\" alt=\"\u062f\u0633\u062a\u0648\u0631 Grep \u0634\u0645\u0627\u0631\u0647 \u062e\u0637\u0648\u0637 \u0631\u0627 \u0646\u0634\u0627\u0646 \u0645\u06cc \u062f\u0647\u062f\" class=\"wp-image-113758\" srcset=\"https:\/\/rasanegaar.com\/blog\/wp-content\/uploads\/2024\/12\/1735373321_238_\u0646\u062d\u0648\u0647-\u0627\u0633\u062a\u0641\u0627\u062f\u0647-\u0627\u0632-\u062f\u0633\u062a\u0648\u0631-grep-\u062f\u0631-\u0644\u06cc\u0646\u0648\u06a9\u0633-\u0645\u062b\u0627\u0644-\u0647\u0627.png 1286w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/08\/grep-command-shows-the-line-numbers-300x46.png 300w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/08\/grep-command-shows-the-line-numbers-1024x156.png 1024w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/08\/grep-command-shows-the-line-numbers-150x23.png 150w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/08\/grep-command-shows-the-line-numbers-768x117.png 768w\" sizes=\"(max-width: 1286px) 100vw, 1286px\" title=\"\"><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge image: Grep command shows the line numbers\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"context.imageButtonRight\" data-wp-style--top=\"context.imageButtonTop\"><br \/>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg><br \/>\n\t\t<\/button><\/figure>\n<\/div>\n<h3 class=\"wp-block-heading\" id=\"h-using-grep-with-regular-expressions\"><span class=\"ez-toc-section\" id=\"%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87_%d8%a7%d8%b2_grep_%d8%a8%d8%a7_%d8%b9%d8%a8%d8%a7%d8%b1%d8%a7%d8%aa_%d9%85%d9%86%d8%b8%d9%85\"><\/span><span class=\"ez-toc-section\" id=\"Using_grep_with_regular_expressions\"><\/span>\u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 grep \u0628\u0627 \u0639\u0628\u0627\u0631\u0627\u062a \u0645\u0646\u0638\u0645<span class=\"ez-toc-section-end\"><\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><a href=\"https:\/\/www.regular-expressions.info\/\" data-wpel-link=\"external\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\u0639\u0628\u0627\u0631\u0627\u062a \u0645\u0646\u0638\u0645<\/a>\u060c \u06cc\u0627 regex\u060c \u0631\u0634\u062a\u0647 \u0647\u0627\u06cc\u06cc \u0627\u0632 \u06a9\u0627\u0631\u0627\u06a9\u062a\u0631\u0647\u0627 \u0647\u0633\u062a\u0646\u062f \u06a9\u0647 \u06cc\u06a9 \u0627\u0644\u06af\u0648\u06cc \u062c\u0633\u062a\u062c\u0648 \u0631\u0627 \u062a\u0639\u0631\u06cc\u0641 \u0645\u06cc \u06a9\u0646\u0646\u062f. \u0628\u0631\u0627\u06cc \u06cc\u0627\u0641\u062a\u0646 \u06cc\u06a9 \u067e\u0631\u0633 \u0648 \u062c\u0648 \u0628\u0633\u06cc\u0627\u0631 \u062e\u0627\u0635 \u0628\u062f\u0648\u0646 \u0646\u06cc\u0627\u0632 \u0628\u0647 \u0641\u0647\u0631\u0633\u062a \u06a9\u0631\u062f\u0646 \u06a9\u0644\u0645\u0627\u062a \u06a9\u0644\u06cc\u062f\u06cc \u0628\u0647 \u0635\u0648\u0631\u062a \u062c\u062f\u0627\u06af\u0627\u0646\u0647 \u0645\u0641\u06cc\u062f \u0627\u0633\u062a. \u062f\u0631 \u0627\u06cc\u0646\u062c\u0627 \u0686\u0646\u062f\u06cc\u0646 \u0646\u0645\u0627\u062f regex \u0648 \u0646\u0634\u0627\u0646\u06af\u0631\u0647\u0627\u06cc \u0622\u0646\u0647\u0627 \u0622\u0648\u0631\u062f\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a:<\/p>\n<ul class=\"wp-block-list\">\n<li><strong>.<\/strong> &#8211; \u0628\u0627 \u0647\u0631 \u0634\u062e\u0635\u06cc\u062a \u0645\u0646\u0637\u0628\u0642 \u0627\u0633\u062a.<\/li>\n<li><strong>*<\/strong> &#8211; \u0646\u0634\u0627\u0646 \u062f\u0647\u0646\u062f\u0647 \u0635\u0641\u0631 \u06cc\u0627 \u0628\u06cc\u0634\u062a\u0631 \u0627\u0632 \u06a9\u0627\u0631\u0627\u06a9\u062a\u0631 \u0642\u0628\u0644\u06cc \u0627\u0633\u062a.<\/li>\n<li><strong>+<\/strong> &#8211; \u06cc\u06a9 \u06cc\u0627 \u0686\u0646\u062f \u06a9\u0627\u0631\u0627\u06a9\u062a\u0631 \u0642\u0628\u0644\u06cc \u0631\u0627 \u0646\u0634\u0627\u0646 \u0645\u06cc \u062f\u0647\u062f.<\/li>\n<li><strong>?<\/strong> &#8211; \u0635\u0641\u0631 \u06cc\u0627 \u06cc\u06a9\u06cc \u0627\u0632 \u06a9\u0627\u0631\u0627\u06a9\u062a\u0631\u0647\u0627\u06cc \u0642\u0628\u0644\u06cc \u0631\u0627 \u0646\u0634\u0627\u0646 \u0645\u06cc \u062f\u0647\u062f.<\/li>\n<li><strong>^<\/strong> &#8211; \u0634\u0631\u0648\u0639 \u06cc\u06a9 \u0627\u0644\u06af\u0648\u06cc regex \u0631\u0627 \u0646\u0634\u0627\u0646 \u0645\u06cc \u062f\u0647\u062f.<\/li>\n<li><strong>$<\/strong> &#8211; \u067e\u0627\u06cc\u0627\u0646 \u06cc\u06a9 \u0627\u0644\u06af\u0648\u06cc regex \u0631\u0627 \u0646\u0634\u0627\u0646 \u0645\u06cc \u062f\u0647\u062f.<\/li>\n<li><strong>()<\/strong> &#8211; \u0627\u0644\u06af\u0648\u0647\u0627 \u0631\u0627 \u06af\u0631\u0648\u0647 \u0628\u0646\u062f\u06cc \u0645\u06cc \u06a9\u0646\u062f.<\/li>\n<\/ul>\n<p>\u0627\u06cc\u0646 \u0639\u0628\u0627\u0631\u0627\u062a \u0628\u0627 \u0642\u0627\u0639\u062f\u0647 \u0631\u0641\u062a\u0627\u0631 \u0645\u062a\u0641\u0627\u0648\u062a\u06cc \u062f\u0627\u0631\u0646\u062f \u0686\u0647 \u0627\u0632 \u0622\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f <strong>\u0628\u06cc\u0627\u0646 \u0645\u0646\u0638\u0645 \u06af\u0633\u062a\u0631\u0634 \u06cc\u0627\u0641\u062a\u0647 <\/strong>(ERE) \u0628\u0627 <strong>-\u0627\u06cc<\/strong> \u06af\u0632\u06cc\u0646\u0647 \u06cc\u0627 \u067e\u06cc\u0634 \u0641\u0631\u0636 <strong>\u0628\u06cc\u0627\u0646 \u0645\u0646\u0638\u0645 \u067e\u0627\u06cc\u0647<\/strong> (BRE). \u0628\u0631\u0627\u06cc \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0628\u06cc\u0634\u062a\u0631\u060c \u062f\u0631 \u0645\u0648\u0631\u062f<a href=\"https:\/\/www.gnu.org\/software\/grep\/manual\/grep.html#Basic-vs-Extended\" data-wpel-link=\"external\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"> \u062a\u0641\u0627\u0648\u062a \u0628\u06cc\u0646 BRE \u0648 ERE<\/a>.<\/p>\n<p>\u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0645\u062b\u0627\u0644\u060c \u0627\u06af\u0631 \u0645\u06cc \u062e\u0648\u0627\u0647\u06cc\u062f \u0627\u0644\u06af\u0648\u0647\u0627\u06cc\u06cc \u0645\u0627\u0646\u0646\u062f <strong>abc <\/strong>\u0648<strong> acc<\/strong>\u060c \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0631\u0627 \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u062f. \u0646\u0642\u0637\u0647 (<strong>.<\/strong>) \u0646\u0645\u0627\u062f \u0628\u0627 \u0647\u0631 \u06a9\u0627\u0631\u0627\u06a9\u062a\u0631\u06cc \u0645\u0637\u0627\u0628\u0642\u062a \u062f\u0627\u0631\u062f:<\/p>\n<pre class=\"wp-block-preformatted\">grep -E 'a.c' file<\/pre>\n<p>\u0627\u06cc\u0646 <strong>^<\/strong> \u0648 <strong>$<\/strong> \u0646\u0645\u0627\u062f\u0647\u0627 \u0628\u0647 \u0634\u0645\u0627 \u0627\u0645\u06a9\u0627\u0646 \u0645\u06cc \u062f\u0647\u0646\u062f \u062e\u0637\u0648\u0637\u06cc \u0631\u0627 \u062c\u0633\u062a\u062c\u0648 \u06a9\u0646\u06cc\u062f \u06a9\u0647 \u0628\u0627 \u06cc\u06a9 \u0627\u0644\u06af\u0648\u06cc \u062e\u0627\u0635 \u0634\u0631\u0648\u0639 \u06cc\u0627 \u062e\u062a\u0645 \u0645\u06cc \u0634\u0648\u0646\u062f. \u0627\u06cc\u0646 \u0645\u062b\u0627\u0644 \u062f\u0633\u062a\u0648\u0631 grep \u0631\u0627 \u062f\u0631 \u0646\u0638\u0631 \u0628\u06af\u06cc\u0631\u06cc\u062f:<\/p>\n<pre class=\"wp-block-preformatted\">grep -E '^pattern' file<\/pre>\n<p>\u062f\u0633\u062a\u0648\u0631 \u0628\u0627\u0644\u0627 \u0628\u0627 \u062e\u0637\u0648\u0637\u06cc \u06a9\u0647 \u0628\u0627 \u0622\u0646 \u0634\u0631\u0648\u0639 \u0645\u06cc \u0634\u0648\u0646\u062f \u0645\u0637\u0627\u0628\u0642\u062a \u062f\u0627\u0631\u062f <strong>\u0627\u0644\u06af\u0648\u06cc<\/strong>\u060c \u0645\u0627\u0646\u0646\u062f <strong>\u0627\u0644\u06af\u0648 \u06cc\u06a9 \u0631\u0634\u062a\u0647 \u0645\u062a\u0646 \u0627\u0633\u062a<\/strong>. \u062f\u0631 \u0647\u0645\u06cc\u0646 \u062d\u0627\u0644\u060c \u0645\u0648\u0627\u0631\u062f \u0632\u06cc\u0631 \u0628\u0631\u0627\u06cc \u0648\u0631\u0648\u062f\u06cc \u0647\u0627\u06cc\u06cc \u06a9\u0647 \u0628\u0647 \u067e\u0627\u06cc\u0627\u0646 \u0645\u06cc \u0631\u0633\u0646\u062f \u062c\u0633\u062a\u062c\u0648 \u0645\u06cc \u06a9\u0646\u0646\u062f<strong> \u0627\u0644\u06af\u0648\u06cc<\/strong>:<\/p>\n<pre class=\"wp-block-preformatted\">grep -E 'pattern$' file<\/pre>\n<p>\u0647\u0645\u0686\u0646\u06cc\u0646 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0686\u0646\u062f\u06cc\u0646 \u0646\u0645\u0627\u062f regex \u0631\u0627 \u0628\u0631\u0627\u06cc \u0628\u0647\u0628\u0648\u062f \u062c\u0633\u062a\u062c\u0648\u06cc \u062e\u0648\u062f \u0628\u0631\u0627\u06cc \u0646\u062a\u06cc\u062c\u0647 \u062e\u0627\u0635 \u062a\u0631 \u062a\u0631\u06a9\u06cc\u0628 \u06a9\u0646\u06cc\u062f. \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0645\u062b\u0627\u0644\u060c \u0627\u06cc\u0646 \u062f\u0633\u062a\u0648\u0631 \u0628\u0647 \u062f\u0646\u0628\u0627\u0644 \u062e\u0637\u0648\u0637 \u062d\u0627\u0648\u06cc \u0647\u0631 \u06a9\u0644\u0645\u0647 \u0627\u06cc \u06a9\u0647 \u0628\u0627 an \u0634\u0631\u0648\u0639 \u0645\u06cc \u0634\u0648\u062f\u060c \u0645\u06cc \u06af\u0631\u062f\u062f <strong>\u0627\u0686<\/strong> \u0648 \u0628\u0647 \u067e\u0627\u06cc\u0627\u0646 \u0645\u06cc \u0631\u0633\u062f <strong>\u0622\u0631<\/strong>:<\/p>\n<pre class=\"wp-block-preformatted\">grep '^H.*R$' 1.txt<\/pre>\n<div class=\"wp-block-image\">\n<figure data-wp-context='{\"uploadedSrc\":\"https:\\\/\\\/www.hostinger.com\\\/tutorials\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2024\\\/08\\\/grep-searches-patterns-using-regex-1.png\",\"figureClassNames\":\"aligncenter size-full\",\"figureStyles\":null,\"imgClassNames\":\"wp-image-113759\",\"imgStyles\":null,\"targetWidth\":668,\"targetHeight\":116,\"scaleAttr\":false,\"ariaLabel\":\"Enlarge image: Grep searches patterns using regex\",\"alt\":\"Grep searches patterns using regex\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-full wp-lightbox-container\"><img decoding=\"async\" width=\"668\" height=\"116\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"data:image\/svg+xml,%3Csvg%20xmlns=\" alt=\"Grep \u0627\u0644\u06af\u0648\u0647\u0627 \u0631\u0627 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 regex \u062c\u0633\u062a\u062c\u0648 \u0645\u06cc \u06a9\u0646\u062f\" class=\"wp-image-113759\" data-lazy-srcset=\"https:\/\/rasanegaar.com\/blog\/wp-content\/uploads\/2024\/12\/1735373322_176_\u0646\u062d\u0648\u0647-\u0627\u0633\u062a\u0641\u0627\u062f\u0647-\u0627\u0632-\u062f\u0633\u062a\u0648\u0631-grep-\u062f\u0631-\u0644\u06cc\u0646\u0648\u06a9\u0633-\u0645\u062b\u0627\u0644-\u0647\u0627.png 668w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/08\/grep-searches-patterns-using-regex-1-300x52.png 300w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/08\/grep-searches-patterns-using-regex-1-150x26.png 150w\" data-lazy-sizes=\"(max-width: 668px) 100vw, 668px\" data-lazy-src=\"https:\/\/rasanegaar.com\/blog\/wp-content\/uploads\/2024\/12\/1735373322_176_\u0646\u062d\u0648\u0647-\u0627\u0633\u062a\u0641\u0627\u062f\u0647-\u0627\u0632-\u062f\u0633\u062a\u0648\u0631-grep-\u062f\u0631-\u0644\u06cc\u0646\u0648\u06a9\u0633-\u0645\u062b\u0627\u0644-\u0647\u0627.png\" http: title=\"\"><img decoding=\"async\" width=\"668\" height=\"116\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/rasanegaar.com\/blog\/wp-content\/uploads\/2024\/12\/1735373322_176_\u0646\u062d\u0648\u0647-\u0627\u0633\u062a\u0641\u0627\u062f\u0647-\u0627\u0632-\u062f\u0633\u062a\u0648\u0631-grep-\u062f\u0631-\u0644\u06cc\u0646\u0648\u06a9\u0633-\u0645\u062b\u0627\u0644-\u0647\u0627.png\" alt=\"Grep \u0627\u0644\u06af\u0648\u0647\u0627 \u0631\u0627 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 regex \u062c\u0633\u062a\u062c\u0648 \u0645\u06cc \u06a9\u0646\u062f\" class=\"wp-image-113759\" srcset=\"https:\/\/rasanegaar.com\/blog\/wp-content\/uploads\/2024\/12\/1735373322_176_\u0646\u062d\u0648\u0647-\u0627\u0633\u062a\u0641\u0627\u062f\u0647-\u0627\u0632-\u062f\u0633\u062a\u0648\u0631-grep-\u062f\u0631-\u0644\u06cc\u0646\u0648\u06a9\u0633-\u0645\u062b\u0627\u0644-\u0647\u0627.png 668w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/08\/grep-searches-patterns-using-regex-1-300x52.png 300w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/08\/grep-searches-patterns-using-regex-1-150x26.png 150w\" sizes=\"(max-width: 668px) 100vw, 668px\" title=\"\"><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge image: Grep searches patterns using regex\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"context.imageButtonRight\" data-wp-style--top=\"context.imageButtonTop\"><br \/>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg><br \/>\n\t\t<\/button><\/figure>\n<\/div>\n<h3 class=\"wp-block-heading\" id=\"h-search-multiple-patterns\"><span class=\"ez-toc-section\" id=\"%d8%a7%d9%84%da%af%d9%88%d9%87%d8%a7%db%8c_%d9%85%d8%aa%d8%b9%d8%af%d8%af_%d8%b1%d8%a7_%d8%ac%d8%b3%d8%aa%d8%ac%d9%88_%da%a9%d9%86%db%8c%d8%af\"><\/span><span class=\"ez-toc-section\" id=\"Search_multiple_patterns\"><\/span>\u0627\u0644\u06af\u0648\u0647\u0627\u06cc \u0645\u062a\u0639\u062f\u062f \u0631\u0627 \u062c\u0633\u062a\u062c\u0648 \u06a9\u0646\u06cc\u062f<span class=\"ez-toc-section-end\"><\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u0634\u0645\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0686\u0646\u062f\u06cc\u0646 \u06a9\u0644\u0645\u0647 \u06a9\u0644\u06cc\u062f\u06cc \u0631\u0627 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u06cc\u06a9 \u062f\u0633\u062a\u0648\u0631 grep \u062c\u0633\u062a\u062c\u0648 \u06a9\u0646\u06cc\u062f. \u0633\u0627\u062f\u0647 \u062a\u0631\u06cc\u0646 \u0631\u0627\u0647 \u0628\u0631\u0627\u06cc \u0627\u0646\u062c\u0627\u0645 \u0627\u06cc\u0646 \u06a9\u0627\u0631\u060c \u0641\u0647\u0631\u0633\u062a \u06a9\u0631\u062f\u0646 \u06a9\u0644\u0645\u0627\u062a \u06a9\u0644\u06cc\u062f\u06cc \u062f\u0631 \u062f\u0627\u062e\u0644 \u06af\u06cc\u0648\u0645\u0647 \u0627\u0633\u062a (<strong>&#8216;<\/strong>) \u0628\u0627 \u0639\u0644\u0627\u0645\u062a \u0639\u0642\u0628 \u062c\u062f\u0627 \u0634\u062f\u0647 \u0627\u0633\u062a (<strong>\\<\/strong>) \u0648 \u0644\u0648\u0644\u0647 \u0647\u0627 (<strong>|<\/strong>). \u062f\u0631 \u0627\u06cc\u0646\u062c\u0627 \u0646\u062d\u0648 \u0628\u0647 \u0646\u0638\u0631 \u0645\u06cc \u0631\u0633\u062f:<\/p>\n<pre class=\"wp-block-preformatted\">grep 'pattern1\\|pattern2\\|pattern3' file<\/pre>\n<p>\u062f\u0631 \u0627\u06cc\u0646 \u062f\u0633\u062a\u0648\u0631\u060c grep \u0627\u0632 BRE \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u06a9\u0646\u062f \u0632\u06cc\u0631\u0627 \u0645\u0627 \u0647\u06cc\u0686 \u06af\u0632\u06cc\u0646\u0647 \u0627\u06cc \u0627\u0636\u0627\u0641\u0647 \u0646\u0645\u06cc \u06a9\u0646\u06cc\u0645. \u0628\u0631\u0627\u06cc \u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u0627\u0632 \u062a\u0641\u0633\u06cc\u0631 \u0644\u0648\u0644\u0647 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u06af\u0648\u06cc \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u0634\u062f\u0647\u060c \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0628\u06a9 \u0627\u0633\u0644\u0634 \u0627\u0632 \u0622\u0646 \u0641\u0631\u0627\u0631 \u0645\u06cc \u06a9\u0646\u06cc\u0645.<\/p>\n<div class=\"wp-block-image\">\n<figure data-wp-context='{\"uploadedSrc\":\"https:\\\/\\\/www.hostinger.com\\\/tutorials\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2024\\\/08\\\/grep-searches-two-patterns-from-a-file.png\",\"figureClassNames\":\"aligncenter size-large\",\"figureStyles\":null,\"imgClassNames\":\"wp-image-113760\",\"imgStyles\":null,\"targetWidth\":1260,\"targetHeight\":86,\"scaleAttr\":false,\"ariaLabel\":\"Enlarge image: Grep searches two patterns from a file\",\"alt\":\"Grep searches two patterns from a file\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-large wp-lightbox-container\"><img decoding=\"async\" width=\"1024\" height=\"70\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"data:image\/svg+xml,%3Csvg%20xmlns=\" alt=\"Grep \u062f\u0648 \u0627\u0644\u06af\u0648 \u0631\u0627 \u0627\u0632 \u06cc\u06a9 \u0641\u0627\u06cc\u0644 \u062c\u0633\u062a\u062c\u0648 \u0645\u06cc \u06a9\u0646\u062f\" class=\"wp-image-113760\" data-lazy-srcset=\"https:\/\/rasanegaar.com\/blog\/wp-content\/uploads\/2024\/12\/1735373325_138_\u0646\u062d\u0648\u0647-\u0627\u0633\u062a\u0641\u0627\u062f\u0647-\u0627\u0632-\u062f\u0633\u062a\u0648\u0631-grep-\u062f\u0631-\u0644\u06cc\u0646\u0648\u06a9\u0633-\u0645\u062b\u0627\u0644-\u0647\u0627.png 1024w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/08\/grep-searches-two-patterns-from-a-file-300x20.png 300w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/08\/grep-searches-two-patterns-from-a-file-150x10.png 150w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/08\/grep-searches-two-patterns-from-a-file-768x52.png 768w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/08\/grep-searches-two-patterns-from-a-file.png 1260w\" data-lazy-sizes=\"(max-width: 1024px) 100vw, 1024px\" data-lazy-src=\"https:\/\/rasanegaar.com\/blog\/wp-content\/uploads\/2024\/12\/1735373325_138_\u0646\u062d\u0648\u0647-\u0627\u0633\u062a\u0641\u0627\u062f\u0647-\u0627\u0632-\u062f\u0633\u062a\u0648\u0631-grep-\u062f\u0631-\u0644\u06cc\u0646\u0648\u06a9\u0633-\u0645\u062b\u0627\u0644-\u0647\u0627.png\" http: title=\"\"><img decoding=\"async\" width=\"1024\" height=\"70\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/rasanegaar.com\/blog\/wp-content\/uploads\/2024\/12\/1735373325_138_\u0646\u062d\u0648\u0647-\u0627\u0633\u062a\u0641\u0627\u062f\u0647-\u0627\u0632-\u062f\u0633\u062a\u0648\u0631-grep-\u062f\u0631-\u0644\u06cc\u0646\u0648\u06a9\u0633-\u0645\u062b\u0627\u0644-\u0647\u0627.png\" alt=\"Grep \u062f\u0648 \u0627\u0644\u06af\u0648 \u0631\u0627 \u0627\u0632 \u06cc\u06a9 \u0641\u0627\u06cc\u0644 \u062c\u0633\u062a\u062c\u0648 \u0645\u06cc \u06a9\u0646\u062f\" class=\"wp-image-113760\" srcset=\"https:\/\/rasanegaar.com\/blog\/wp-content\/uploads\/2024\/12\/1735373325_138_\u0646\u062d\u0648\u0647-\u0627\u0633\u062a\u0641\u0627\u062f\u0647-\u0627\u0632-\u062f\u0633\u062a\u0648\u0631-grep-\u062f\u0631-\u0644\u06cc\u0646\u0648\u06a9\u0633-\u0645\u062b\u0627\u0644-\u0647\u0627.png 1024w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/08\/grep-searches-two-patterns-from-a-file-300x20.png 300w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/08\/grep-searches-two-patterns-from-a-file-150x10.png 150w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/08\/grep-searches-two-patterns-from-a-file-768x52.png 768w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/08\/grep-searches-two-patterns-from-a-file.png 1260w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" title=\"\"><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge image: Grep searches two patterns from a file\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"context.imageButtonRight\" data-wp-style--top=\"context.imageButtonTop\"><br \/>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg><br \/>\n\t\t<\/button><\/figure>\n<\/div>\n<p>\u0647\u0645\u0686\u0646\u06cc\u0646 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0686\u0646\u062f\u06cc\u0646 \u0627\u0644\u06af\u0648 \u0631\u0627 \u0628\u062f\u0648\u0646 \u0627\u0633\u0644\u0634 \u0628\u0627 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0631\u062f\u0646 \u0622\u0646 \u062c\u0633\u062a\u062c\u0648 \u06a9\u0646\u06cc\u062f <strong>-\u0627\u06cc<\/strong> \u06af\u0632\u06cc\u0646\u0647 \u0627\u06cc \u0628\u0631\u0627\u06cc \u0641\u0639\u0627\u0644 \u06a9\u0631\u062f\u0646 \u0639\u0645\u0644\u06a9\u0631\u062f \u0648\u06cc\u0698\u0647 \u0644\u0648\u0644\u0647 \u0645\u0627\u0646\u0646\u062f \u0645\u0648\u0627\u0631\u062f \u0632\u06cc\u0631:<\/p>\n<pre class=\"wp-block-preformatted\">grep -E 'pattern1|pattern2|pattern3' file<\/pre>\n<p>\u0628\u0647 \u062c\u0627\u06cc \u06af\u0632\u06cc\u0646\u0647 -E\u060c \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0631\u0627 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 <strong>egrep<\/strong> \u062f\u0633\u062a\u0648\u0631:<\/p>\n<pre class=\"wp-block-preformatted\">egrep 'pattern1|pattern2|pattern3' file<\/pre>\n<p>\u0627\u06af\u0631 \u0645\u06cc \u062e\u0648\u0627\u0647\u06cc\u062f \u0627\u0644\u06af\u0648\u0647\u0627 \u0631\u0627 \u062c\u062f\u0627\u06af\u0627\u0646\u0647 \u0645\u0634\u062e\u0635 \u06a9\u0646\u06cc\u062f\u060c \u0627\u0632 \u0622\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f <strong>-e<\/strong> \u06af\u0632\u06cc\u0646\u0647 \u0627\u06cc \u0628\u0631\u0627\u06cc \u0647\u0631 \u0639\u0628\u0627\u0631\u062a \u062c\u0633\u062a\u062c\u0648 \u062f\u0631 \u0627\u06cc\u0646\u062c\u0627 \u062f\u0633\u062a\u0648\u0631 \u062f\u0633\u062a\u0648\u0631 \u0627\u0633\u062a:<\/p>\n<pre class=\"wp-block-preformatted\">grep -e pattern1 -e pattern2 -e pattern3 file<\/pre>\n<p>\u0647\u0645\u0647 \u0627\u06cc\u0646 \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a \u062f\u0633\u062a\u0648\u0631 grep \u0646\u062a\u06cc\u062c\u0647 \u06cc\u06a9\u0633\u0627\u0646\u06cc \u062f\u0627\u0631\u0646\u062f. \u0628\u0646\u0627\u0628\u0631\u0627\u06cc\u0646\u060c \u06cc\u06a9\u06cc \u0631\u0627 \u0628\u0631 \u0627\u0633\u0627\u0633 \u0627\u0646\u062a\u062e\u0627\u0628 \u06a9\u0646\u06cc\u062f \u0631\u0648\u06cc \u062a\u0631\u062c\u06cc\u062d\u0627\u062a \u0634\u0645\u0627<\/p>\n<h3 class=\"wp-block-heading\" id=\"h-count-matches\"><span class=\"ez-toc-section\" id=\"%d8%b4%d9%85%d8%a7%d8%b1%d8%b4_%d9%85%d8%b3%d8%a7%d8%a8%d9%82%d8%a7%d8%aa\"><\/span><span class=\"ez-toc-section\" id=\"Count_matches\"><\/span>\u0634\u0645\u0627\u0631\u0634 \u0645\u0633\u0627\u0628\u0642\u0627\u062a<span class=\"ez-toc-section-end\"><\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u0686\u0646\u062f\u06cc\u0646 \u06a9\u0627\u0631 \u0645\u062f\u06cc\u0631\u06cc\u062a \u0633\u06cc\u0633\u062a\u0645 \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u0627\u0632 \u0634\u0645\u0627 \u0628\u062e\u0648\u0627\u0647\u062f \u06a9\u0647 \u0628\u0631\u0631\u0633\u06cc \u06a9\u0646\u06cc\u062f \u0686\u0646\u062f \u062e\u0637 \u062f\u0631 \u06cc\u06a9 \u0641\u0627\u06cc\u0644 \u062f\u0627\u0631\u0627\u06cc \u0627\u0644\u06af\u0648\u06cc \u0645\u0646\u0637\u0628\u0642 \u0647\u0633\u062a\u0646\u062f. \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0645\u062b\u0627\u0644\u060c \u0627\u06cc\u0646 \u0628\u0631\u0627\u06cc \u0634\u0645\u0627\u0631\u0634 \u062a\u0644\u0627\u0634\u200c\u0647\u0627\u06cc \u0648\u0631\u0648\u062f \u0627\u0632 \u06cc\u06a9 \u0622\u062f\u0631\u0633 IP \u062e\u0627\u0635 \u062f\u0631 \u06cc\u06a9 \u0641\u0627\u06cc\u0644 \u06af\u0632\u0627\u0631\u0634 \u0645\u0641\u06cc\u062f \u0627\u0633\u062a.<\/p>\n<p>\u0628\u0631\u0627\u06cc \u0628\u0631\u0631\u0633\u06cc \u0627\u06cc\u0646\u06a9\u0647 \u0686\u0646\u062f \u062e\u0637 \u062f\u0627\u0631\u0627\u06cc \u06cc\u06a9 \u0627\u0644\u06af\u0648 \u0647\u0633\u062a\u0646\u062f\u060c \u0627\u0632 \u0639\u0628\u0627\u0631\u062a \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f <strong>-\u062c<\/strong> \u06cc\u0627 <strong>&#8211; \u0634\u0645\u0627\u0631\u0634<\/strong> \u06af\u0632\u06cc\u0646\u0647 \u0627\u06cc \u0645\u0627\u0646\u0646\u062f \u0627\u06cc\u0646:<\/p>\n<pre class=\"wp-block-preformatted\">grep -c pattern file<\/pre>\n<p>\u0628\u0627 \u0627\u06cc\u0646 \u062d\u0627\u0644\u060c <strong>-\u062c<\/strong> \u06af\u0632\u06cc\u0646\u0647 \u062e\u0637\u0648\u0637 \u0645\u0646\u0637\u0628\u0642 \u0631\u0627 \u0634\u0645\u0627\u0631\u0634 \u0645\u06cc \u06a9\u0646\u062f\u060c \u0646\u0647 \u0648\u0642\u0648\u0639 \u0627\u0644\u06af\u0648. \u0627\u06af\u0631 \u0645\u06cc \u062e\u0648\u0627\u0647\u06cc\u062f \u0622\u0646 \u0631\u0627 \u0628\u0631\u0631\u0633\u06cc \u06a9\u0646\u06cc\u062f\u060c \u0627\u0632 \u0622\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f <strong>-o<\/strong> \u06af\u0632\u06cc\u0646\u0647 \u0648 \u0627\u0631\u0633\u0627\u0644 \u0622\u0646 \u0628\u0647 <strong>WC<\/strong> \u062f\u0633\u062a\u0648\u0631 \u0628\u0647 \u0627\u06cc\u0646 \u0635\u0648\u0631\u062a:<\/p>\n<pre class=\"wp-block-preformatted\">grep -o pattern file | wc -l<\/pre>\n<p>\u0628\u0647 \u062c\u0627\u06cc \u0646\u0645\u0627\u06cc\u0634 \u06a9\u0644 \u062e\u0637\u060c <strong>-o<\/strong> \u06af\u0632\u06cc\u0646\u0647 \u0641\u0642\u0637 \u0631\u062e\u062f\u0627\u062f\u0647\u0627\u06cc \u0627\u0644\u06af\u0648 \u0631\u0627 \u0686\u0627\u067e \u0645\u06cc \u06a9\u0646\u062f \u06a9\u0647 \u062f\u0633\u062a\u0648\u0631 wc \u0622\u0646\u0647\u0627 \u0631\u0627 \u0634\u0645\u0627\u0631\u0634 \u0645\u06cc \u06a9\u0646\u062f. \u062f\u0631 \u0645\u0648\u0631\u062f \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0644\u0648\u0644\u0647 \u0628\u062d\u062b \u062e\u0648\u0627\u0647\u06cc\u0645 \u06a9\u0631\u062f (<strong>|<\/strong>) \u062f\u0631 \u0628\u062e\u0634 \u0628\u0639\u062f\u06cc.<\/p>\n<div class=\"wp-block-image\">\n<figure data-wp-context='{\"uploadedSrc\":\"https:\\\/\\\/www.hostinger.com\\\/tutorials\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2024\\\/08\\\/grep-counts-the-number-of-pattern-occurences.png\",\"figureClassNames\":\"aligncenter size-large\",\"figureStyles\":null,\"imgClassNames\":\"wp-image-113761\",\"imgStyles\":null,\"targetWidth\":1092,\"targetHeight\":64,\"scaleAttr\":false,\"ariaLabel\":\"Enlarge image: grep counts the number of pattern occurrences\",\"alt\":\"grep counts the number of pattern occurrences\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-large wp-lightbox-container\"><img decoding=\"async\" width=\"1024\" height=\"60\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"data:image\/svg+xml,%3Csvg%20xmlns=\" alt=\"grep \u062a\u0639\u062f\u0627\u062f \u0631\u062e\u062f\u0627\u062f\u0647\u0627\u06cc \u0627\u0644\u06af\u0648 \u0631\u0627 \u0645\u06cc \u0634\u0645\u0627\u0631\u062f\" class=\"wp-image-113761\" data-lazy-srcset=\"https:\/\/rasanegaar.com\/blog\/wp-content\/uploads\/2024\/12\/1735373327_426_\u0646\u062d\u0648\u0647-\u0627\u0633\u062a\u0641\u0627\u062f\u0647-\u0627\u0632-\u062f\u0633\u062a\u0648\u0631-grep-\u062f\u0631-\u0644\u06cc\u0646\u0648\u06a9\u0633-\u0645\u062b\u0627\u0644-\u0647\u0627.png 1024w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/08\/grep-counts-the-number-of-pattern-occurences-300x18.png 300w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/08\/grep-counts-the-number-of-pattern-occurences-150x9.png 150w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/08\/grep-counts-the-number-of-pattern-occurences-768x45.png 768w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/08\/grep-counts-the-number-of-pattern-occurences.png 1092w\" data-lazy-sizes=\"(max-width: 1024px) 100vw, 1024px\" data-lazy-src=\"https:\/\/rasanegaar.com\/blog\/wp-content\/uploads\/2024\/12\/1735373327_426_\u0646\u062d\u0648\u0647-\u0627\u0633\u062a\u0641\u0627\u062f\u0647-\u0627\u0632-\u062f\u0633\u062a\u0648\u0631-grep-\u062f\u0631-\u0644\u06cc\u0646\u0648\u06a9\u0633-\u0645\u062b\u0627\u0644-\u0647\u0627.png\" http: title=\"\"><img decoding=\"async\" width=\"1024\" height=\"60\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/rasanegaar.com\/blog\/wp-content\/uploads\/2024\/12\/1735373327_426_\u0646\u062d\u0648\u0647-\u0627\u0633\u062a\u0641\u0627\u062f\u0647-\u0627\u0632-\u062f\u0633\u062a\u0648\u0631-grep-\u062f\u0631-\u0644\u06cc\u0646\u0648\u06a9\u0633-\u0645\u062b\u0627\u0644-\u0647\u0627.png\" alt=\"grep \u062a\u0639\u062f\u0627\u062f \u0631\u062e\u062f\u0627\u062f\u0647\u0627\u06cc \u0627\u0644\u06af\u0648 \u0631\u0627 \u0645\u06cc \u0634\u0645\u0627\u0631\u062f\" class=\"wp-image-113761\" srcset=\"https:\/\/rasanegaar.com\/blog\/wp-content\/uploads\/2024\/12\/1735373327_426_\u0646\u062d\u0648\u0647-\u0627\u0633\u062a\u0641\u0627\u062f\u0647-\u0627\u0632-\u062f\u0633\u062a\u0648\u0631-grep-\u062f\u0631-\u0644\u06cc\u0646\u0648\u06a9\u0633-\u0645\u062b\u0627\u0644-\u0647\u0627.png 1024w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/08\/grep-counts-the-number-of-pattern-occurences-300x18.png 300w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/08\/grep-counts-the-number-of-pattern-occurences-150x9.png 150w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/08\/grep-counts-the-number-of-pattern-occurences-768x45.png 768w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/08\/grep-counts-the-number-of-pattern-occurences.png 1092w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" title=\"\"><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge image: grep counts the number of pattern occurrences\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"context.imageButtonRight\" data-wp-style--top=\"context.imageButtonTop\"><br \/>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg><br \/>\n\t\t<\/button><\/figure>\n<\/div>\n<p>\u062a\u0648\u062c\u0647 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f \u06a9\u0647 \u0627\u06cc\u0646 \u062f\u0633\u062a\u0648\u0631 \u0627\u0646\u0648\u0627\u0639 \u062f\u06cc\u06af\u0631 \u06a9\u0644\u0645\u0647 \u06a9\u0644\u06cc\u062f\u06cc \u0631\u0627 \u0646\u06cc\u0632 \u0645\u06cc \u0634\u0645\u0627\u0631\u062f. \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0645\u062b\u0627\u0644\u060c \u0627\u06af\u0631 \u0627\u0632 \u0627\u0644\u06af\u0648 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f <strong>\u0627\u062a\u0635\u0627\u0644<\/strong>\u060c grep \u0645\u0648\u0627\u0631\u062f\u06cc \u0645\u0627\u0646\u0646\u062f \u0622\u0646 \u0631\u0627 \u0628\u0631\u0631\u0633\u06cc \u0645\u06cc \u06a9\u0646\u062f <strong>\u062f\u0648\u0628\u0627\u0631\u0647 \u0648\u0635\u0644 \u0634\u0648\u06cc\u062f<\/strong>\u060c <strong>\u0645\u062a\u0635\u0644 \u0627\u0633\u062a<\/strong>\u060c <strong>\u0627\u062a\u0635\u0627\u0644<\/strong>\u060c \u0648 <strong>\u0642\u0637\u0639 \u0634\u062f\u0647 \u0627\u0633\u062a<\/strong>.<\/p>\n<p>\u0627\u06af\u0631 \u0645\u06cc \u062e\u0648\u0627\u0647\u06cc\u062f \u062f\u0642\u06cc\u0642\u0627\u064b \u06a9\u0644\u0645\u0647 \u0645\u0646\u0637\u0628\u0642 \u0631\u0627 \u0628\u0634\u0645\u0627\u0631\u06cc\u062f\u060c \u0645\u0631\u0632\u0647\u0627\u06cc \u06a9\u0644\u0645\u0647 \u0631\u0627 \u062f\u0631 \u0627\u0628\u062a\u062f\u0627 \u0648 \u0627\u0646\u062a\u0647\u0627\u06cc \u06a9\u0644\u0645\u0647 \u06a9\u0644\u06cc\u062f\u06cc \u062e\u0648\u062f \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f. \u062f\u0631 \u0627\u06cc\u0646\u062c\u0627 \u06cc\u06a9 \u0645\u062b\u0627\u0644 \u0627\u0633\u062a:<\/p>\n<pre class=\"wp-block-preformatted\">grep -o '\\bpattern\\b' file\u00a0<\/pre>\n<h3 class=\"wp-block-heading\" id=\"h-combine-grep-with-other-commands\"><span class=\"ez-toc-section\" id=\"grep_%d8%b1%d8%a7_%d8%a8%d8%a7_%d8%af%d8%b3%d8%aa%d9%88%d8%b1%d8%a7%d8%aa_%d8%af%db%8c%da%af%d8%b1_%d8%aa%d8%b1%da%a9%db%8c%d8%a8_%da%a9%d9%86%db%8c%d8%af\"><\/span><span class=\"ez-toc-section\" id=\"Combine_grep_with_other_commands\"><\/span>grep \u0631\u0627 \u0628\u0627 \u062f\u0633\u062a\u0648\u0631\u0627\u062a \u062f\u06cc\u06af\u0631 \u062a\u0631\u06a9\u06cc\u0628 \u06a9\u0646\u06cc\u062f<span class=\"ez-toc-section-end\"><\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u0639\u0644\u0627\u0648\u0647 \u0628\u0631 \u0641\u0627\u06cc\u0644 \u0647\u0627 \u0648 \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc \u0647\u0627\u060c \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u062f\u0627\u062f\u0647 \u0647\u0627\u06cc \u0648\u0631\u0648\u062f\u06cc \u0631\u0627 \u0627\u0632 \u062f\u0633\u062a\u0648\u0631 \u062f\u06cc\u06af\u0631\u06cc \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 grep \u0641\u06cc\u0644\u062a\u0631 \u06a9\u0646\u06cc\u062f. \u0628\u0631\u0627\u06cc \u0627\u0646\u062c\u0627\u0645 \u0627\u06cc\u0646 \u06a9\u0627\u0631\u060c \u0622\u0646\u0647\u0627 \u0631\u0627 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u06cc\u06a9 \u0644\u0648\u0644\u0647 (<strong>|<\/strong>) \u0627\u06cc\u0646\u0637\u0648\u0631\u06cc:<\/p>\n<pre class=\"wp-block-preformatted\">command | grep pattern<\/pre>\n<p>\u062f\u0631 \u0642\u0637\u0639\u0647\u060c \u0644\u0648\u0644\u0647 \u062e\u0631\u0648\u062c\u06cc \u0631\u0627 \u0627\u0632 \u0627\u0648\u0644\u06cc\u0646 \u062f\u0633\u062a\u0648\u0631 \u0628\u0647 grep \u0647\u062f\u0627\u06cc\u062a \u0645\u06cc \u06a9\u0646\u062f \u0648 \u0646\u062a\u06cc\u062c\u0647 \u0631\u0627 \u0628\u0631 \u0627\u0633\u0627\u0633 \u0641\u06cc\u0644\u062a\u0631 \u0645\u06cc \u06a9\u0646\u062f. \u0631\u0648\u06cc \u06a9\u0644\u0645\u0647 \u06a9\u0644\u06cc\u062f\u06cc \u062f\u0631 \u0627\u06cc\u0646\u062c\u0627 \u06cc\u06a9 \u0645\u062b\u0627\u0644 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u062f\u0631 \u062f\u0646\u06cc\u0627\u06cc \u0648\u0627\u0642\u0639\u06cc \u0622\u0645\u062f\u0647 \u0627\u0633\u062a:<\/p>\n<pre class=\"wp-block-preformatted\">ls | grep '\\.txt$'<\/pre>\n<p>\u0627\u06cc\u0646 <strong>ls<\/strong> \u062f\u0633\u062a\u0648\u0631 \u0645\u062d\u062a\u0648\u0627\u06cc \u0641\u0647\u0631\u0633\u062a \u0641\u0639\u0644\u06cc \u0634\u0645\u0627 \u0631\u0627 \u0641\u0647\u0631\u0633\u062a \u0645\u06cc \u06a9\u0646\u062f. \u0633\u067e\u0633\u060c<strong> grep<\/strong> \u0641\u0631\u0645\u0627\u0646 \u062e\u0631\u0648\u062c\u06cc\u060c \u0686\u0627\u067e \u0631\u0627 \u0641\u06cc\u0644\u062a\u0631 \u0645\u06cc \u06a9\u0646\u062f <strong>TXT<\/strong> \u0641\u0627\u06cc\u0644 \u0647\u0627\u06cc \u062f\u0627\u062e\u0644 \u067e\u0648\u0634\u0647 \u062f\u0631 \u0627\u06cc\u0646\u062c\u0627 \u06cc\u06a9 \u0645\u062b\u0627\u0644 \u062f\u06cc\u06af\u0631 \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f:<\/p>\n<pre class=\"wp-block-preformatted\">ps aux | grep \"process_name\"\u00a0<\/pre>\n<p>\u0627\u06cc\u0646 <strong>ps aux<\/strong> \u062f\u0633\u062a\u0648\u0631 \u062a\u0645\u0627\u0645 \u0641\u0631\u0622\u06cc\u0646\u062f\u0647\u0627\u06cc \u062f\u0631 \u062d\u0627\u0644 \u0627\u062c\u0631\u0627 \u062f\u0631 \u0633\u06cc\u0633\u062a\u0645 \u0634\u0645\u0627 \u0631\u0627 \u0641\u0647\u0631\u0633\u062a \u0645\u06cc \u06a9\u0646\u062f. \u0633\u067e\u0633\u060c \u0627\u0628\u0632\u0627\u0631 grep \u06cc\u06a9 \u0645\u0648\u0631\u062f \u062e\u0627\u0635 \u0631\u0627 \u0627\u0632 \u0644\u06cc\u0633\u062a \u0628\u0631 \u0627\u0633\u0627\u0633 \u062c\u0633\u062a\u062c\u0648 \u0645\u06cc \u06a9\u0646\u062f \u0631\u0648\u06cc \u0646\u0627\u0645 \u0622\u0646<\/p>\n<p>\u0628\u0633\u062a\u0647 \u0628\u0647 \u0631\u0648\u06cc \u0648\u0638\u06cc\u0641\u0647 \u0634\u0645\u0627\u060c \u0634\u0645\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f grep \u0631\u0627 \u0628\u0627 \u0627\u0628\u0632\u0627\u0631\u0647\u0627\u06cc \u062f\u06cc\u06af\u0631 \u062a\u0631\u06a9\u06cc\u0628 \u06a9\u0646\u06cc\u062f. \u0647\u0627\u0633\u062a\u06cc\u0646\u06afer \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0645\u06cc\u0632\u0628\u0627\u0646 VPS \u06a9\u0647 \u0645\u0637\u0645\u0626\u0646 \u0646\u06cc\u0633\u062a\u0646\u062f \u0627\u0632 \u06a9\u062f\u0627\u0645 \u0628\u0631\u0646\u0627\u0645\u0647 \u0647\u0627\u06cc \u06a9\u0627\u0631\u0628\u0631\u062f\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u0646\u062f\u060c \u0645\u06cc \u062a\u0648\u0627\u0646\u0646\u062f \u0627\u0632 \u062f\u0633\u062a\u06cc\u0627\u0631 \u0647\u0648\u0634 \u0645\u0635\u0646\u0648\u0639\u06cc \u0645\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u0646\u062f. <strong>\u06a9\u062f\u06cc<\/strong>\u060c \u0628\u0631\u0627\u06cc \u06a9\u0645\u06a9 \u0628\u0647 \u062a\u0648\u0636\u06cc\u062d \u0648 \u062a\u0648\u0644\u06cc\u062f \u0641\u0631\u0645\u0627\u0646 \u06a9\u0627\u0645\u0644.<\/p>\n<p>\u0645\u062b\u0644\u0627 \u0628\u067e\u0631\u0633 <strong>\u06a9\u062f\u06cc<\/strong>&#8220;\u0645\u0646 \u0645\u06cc\u200c\u062e\u0648\u0627\u0647\u0645 \u062a\u0645\u0627\u0645 \u0633\u0631\u0648\u06cc\u0633\u200c\u0647\u0627 \u0631\u0627 \u062f\u0631 VPS \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u0641\u0647\u0631\u0633\u062a \u06a9\u0646\u0645 \u0648 \u0627\u0632 \u0627\u0628\u0632\u0627\u0631 grep \u0628\u0631\u0627\u06cc \u0641\u06cc\u0644\u062a\u0631 \u06a9\u0631\u062f\u0646 \u062e\u0631\u0648\u062c\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u0645 \u0648 \u0641\u0642\u0637 \u0633\u0631\u0648\u06cc\u0633\u200c\u0647\u0627\u06cc \u0645\u0631\u0628\u0648\u0637 \u0628\u0647 NGINX \u0631\u0627 \u0686\u0627\u067e \u06a9\u0646\u0645. \u0641\u0631\u0645\u0627\u0646 \u06a9\u0627\u0645\u0644 \u0631\u0627 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u062f.\u00bb <\/p>\n<div class=\"wp-block-image\">\n<figure data-wp-context='{\"uploadedSrc\":\"https:\\\/\\\/www.hostinger.com\\\/tutorials\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2024\\\/10\\\/grep-command-generated-by-kodee.png\",\"figureClassNames\":\"aligncenter size-large\",\"figureStyles\":null,\"imgClassNames\":\"wp-image-117107\",\"imgStyles\":null,\"targetWidth\":2156,\"targetHeight\":1056,\"scaleAttr\":false,\"ariaLabel\":\"Enlarge image: grep command generated by Kodee AI assistant\",\"alt\":\"grep command generated by Kodee AI assistant\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-large wp-lightbox-container\"><img decoding=\"async\" width=\"1024\" height=\"502\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"data:image\/svg+xml,%3Csvg%20xmlns=\" alt=\"\u062f\u0633\u062a\u0648\u0631 grep \u062a\u0648\u0633\u0637 \u062f\u0633\u062a\u06cc\u0627\u0631 Kodee AI \u062a\u0648\u0644\u06cc\u062f \u0634\u062f\u0647 \u0627\u0633\u062a\" class=\"wp-image-117107\" data-lazy-srcset=\"https:\/\/rasanegaar.com\/blog\/wp-content\/uploads\/2024\/12\/1735373330_157_\u0646\u062d\u0648\u0647-\u0627\u0633\u062a\u0641\u0627\u062f\u0647-\u0627\u0632-\u062f\u0633\u062a\u0648\u0631-grep-\u062f\u0631-\u0644\u06cc\u0646\u0648\u06a9\u0633-\u0645\u062b\u0627\u0644-\u0647\u0627.png 1024w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/10\/grep-command-generated-by-kodee-300x147.png 300w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/10\/grep-command-generated-by-kodee-150x73.png 150w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/10\/grep-command-generated-by-kodee-768x376.png 768w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/10\/grep-command-generated-by-kodee-1536x752.png 1536w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/10\/grep-command-generated-by-kodee-2048x1003.png 2048w\" data-lazy-sizes=\"(max-width: 1024px) 100vw, 1024px\" data-lazy-src=\"https:\/\/rasanegaar.com\/blog\/wp-content\/uploads\/2024\/12\/1735373330_157_\u0646\u062d\u0648\u0647-\u0627\u0633\u062a\u0641\u0627\u062f\u0647-\u0627\u0632-\u062f\u0633\u062a\u0648\u0631-grep-\u062f\u0631-\u0644\u06cc\u0646\u0648\u06a9\u0633-\u0645\u062b\u0627\u0644-\u0647\u0627.png\" http: title=\"\"><img decoding=\"async\" width=\"1024\" height=\"502\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/rasanegaar.com\/blog\/wp-content\/uploads\/2024\/12\/1735373330_157_\u0646\u062d\u0648\u0647-\u0627\u0633\u062a\u0641\u0627\u062f\u0647-\u0627\u0632-\u062f\u0633\u062a\u0648\u0631-grep-\u062f\u0631-\u0644\u06cc\u0646\u0648\u06a9\u0633-\u0645\u062b\u0627\u0644-\u0647\u0627.png\" alt=\"\u062f\u0633\u062a\u0648\u0631 grep \u062a\u0648\u0633\u0637 \u062f\u0633\u062a\u06cc\u0627\u0631 Kodee AI \u062a\u0648\u0644\u06cc\u062f \u0634\u062f\u0647 \u0627\u0633\u062a\" class=\"wp-image-117107\" srcset=\"https:\/\/rasanegaar.com\/blog\/wp-content\/uploads\/2024\/12\/1735373330_157_\u0646\u062d\u0648\u0647-\u0627\u0633\u062a\u0641\u0627\u062f\u0647-\u0627\u0632-\u062f\u0633\u062a\u0648\u0631-grep-\u062f\u0631-\u0644\u06cc\u0646\u0648\u06a9\u0633-\u0645\u062b\u0627\u0644-\u0647\u0627.png 1024w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/10\/grep-command-generated-by-kodee-300x147.png 300w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/10\/grep-command-generated-by-kodee-150x73.png 150w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/10\/grep-command-generated-by-kodee-768x376.png 768w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/10\/grep-command-generated-by-kodee-1536x752.png 1536w, https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/10\/grep-command-generated-by-kodee-2048x1003.png 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" title=\"\"><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge image: grep command generated by Kodee AI assistant\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"context.imageButtonRight\" data-wp-style--top=\"context.imageButtonTop\"><br \/>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg><br \/>\n\t\t<\/button><\/figure>\n<\/div>\n<p>\u0633\u067e\u0633 \u062f\u0633\u062a\u0648\u0631 \u0645\u0646\u0627\u0633\u0628 \u0628\u0631\u0627\u06cc \u0633\u06cc\u0633\u062a\u0645 \u0648 \u0646\u06cc\u0627\u0632\u0647\u0627\u06cc \u0634\u0645\u0627 \u0631\u0627 \u0645\u06cc \u0646\u0648\u06cc\u0633\u062f.<\/p>\n<h3 class=\"wp-block-heading\" id=\"h-redirect-output\"><span class=\"ez-toc-section\" id=\"%d8%aa%d8%ba%db%8c%db%8c%d8%b1_%d9%85%d8%b3%db%8c%d8%b1_%d8%ae%d8%b1%d9%88%d8%ac%db%8c\"><\/span><span class=\"ez-toc-section\" id=\"Redirect_output\"><\/span>\u062a\u063a\u06cc\u06cc\u0631 \u0645\u0633\u06cc\u0631 \u062e\u0631\u0648\u062c\u06cc<span class=\"ez-toc-section-end\"><\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u0645\u062f\u06cc\u0631\u0627\u0646 \u0633\u06cc\u0633\u062a\u0645 \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u0646\u06cc\u0627\u0632 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u0646\u062f \u0646\u062a\u0627\u06cc\u062c \u0641\u0631\u0645\u0627\u0646 grep \u0631\u0627 \u0628\u0631\u0627\u06cc \u067e\u0631\u062f\u0627\u0632\u0634 \u0628\u06cc\u0634\u062a\u0631 \u06cc\u0627 \u0628\u0627\u06cc\u06af\u0627\u0646\u06cc \u0630\u062e\u06cc\u0631\u0647 \u06a9\u0646\u0646\u062f. \u06cc\u06a9 \u0631\u0627\u0647 \u0622\u0633\u0627\u0646 \u0628\u0631\u0627\u06cc \u0627\u0646\u062c\u0627\u0645 \u0627\u06cc\u0646 \u06a9\u0627\u0631\u060c \u0647\u062f\u0627\u06cc\u062a \u062e\u0631\u0648\u062c\u06cc \u0628\u0647 \u06cc\u06a9 \u0641\u0627\u06cc\u0644 \u0645\u062a\u0646\u06cc \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0628\u0632\u0631\u06af\u062a\u0631 \u0627\u0632 (<strong>><\/strong>) \u0646\u0645\u0627\u062f. \u062f\u0631 \u0627\u06cc\u0646\u062c\u0627 \u0646\u062d\u0648 \u0627\u0633\u062a:<\/p>\n<pre class=\"wp-block-preformatted\">grep pattern file &gt; target_file.txt<\/pre>\n<p>\u0627\u06af\u0631 \u0641\u0627\u06cc\u0644 \u0647\u062f\u0641 \u0648\u062c\u0648\u062f \u0646\u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u062f\u060c \u062f\u0633\u062a\u0648\u0631 grep \u0628\u0647 \u0637\u0648\u0631 \u062e\u0648\u062f\u06a9\u0627\u0631 \u0622\u0646 \u0631\u0627 \u062f\u0631 \u0641\u0647\u0631\u0633\u062a \u06a9\u0627\u0631\u06cc \u0641\u0639\u0644\u06cc \u0634\u0645\u0627 \u0627\u06cc\u062c\u0627\u062f \u0645\u06cc \u06a9\u0646\u062f.<\/p>\n<p>\u0628\u0631\u0627\u06cc \u0628\u0631\u0631\u0633\u06cc \u0627\u06cc\u0646\u06a9\u0647 \u0622\u06cc\u0627 grep \u062e\u0631\u0648\u062c\u06cc \u0631\u0627 \u0628\u0647 \u062f\u0631\u0633\u062a\u06cc \u0630\u062e\u06cc\u0631\u0647 \u0645\u06cc \u06a9\u0646\u062f\u060c print \u0645\u062d\u062a\u0648\u0627\u06cc \u0641\u0627\u06cc\u0644 \u0645\u0648\u0631\u062f \u0646\u0638\u0631 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 <strong>\u06af\u0631\u0628\u0647 <\/strong>\u062f\u0633\u062a\u0648\u0631 \u0628\u0647 \u0627\u06cc\u0646 \u0635\u0648\u0631\u062a:<\/p>\n<pre class=\"wp-block-preformatted\">cat target_file.txt<\/pre>\n<h2 class=\"wp-block-heading\" id=\"h-conclusion\"><span class=\"ez-toc-section\" id=\"%d9%86%d8%aa%db%8c%d8%ac%d9%87_%da%af%db%8c%d8%b1%db%8c\"><\/span>\u0646\u062a\u06cc\u062c\u0647 \u06af\u06cc\u0631\u06cc<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u0627\u06cc\u0646 <strong>grep <\/strong>\u062f\u0633\u062a\u0648\u0631 \u0628\u0647 \u0634\u0645\u0627 \u0627\u0645\u06a9\u0627\u0646 \u0645\u06cc \u062f\u0647\u062f \u0627\u0632 \u06cc\u06a9 \u0627\u0644\u06af\u0648 \u0628\u0631\u0627\u06cc \u06cc\u0627\u0641\u062a\u0646 \u062e\u0637\u0648\u0637 \u0627\u0632 \u06cc\u06a9 \u0641\u0627\u06cc\u0644 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f. \u0646\u062d\u0648 \u0627\u0635\u0644\u06cc \u0622\u0646 \u0627\u0633\u062a <strong>\u0641\u0627\u06cc\u0644 \u0627\u0644\u06af\u0648\u06cc grep<\/strong>\u060c \u0627\u0645\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u06af\u0632\u06cc\u0646\u0647 \u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641\u06cc \u0631\u0627 \u0628\u0631\u0627\u06cc \u0627\u0635\u0644\u0627\u062d \u062c\u0633\u062a\u062c\u0648 \u0628\u0631 \u0627\u0633\u0627\u0633 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f \u0631\u0648\u06cc \u0646\u06cc\u0627\u0632\u0647\u0627\u06cc \u0634\u0645\u0627<\/p>\n<p>\u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0645\u062b\u0627\u0644\u060c \u0631\u0627 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f <strong>-r <\/strong>\u06af\u0632\u06cc\u0646\u0647 \u0627\u06cc \u0628\u0631\u0627\u06cc \u062c\u0633\u062a\u062c\u0648\u06cc \u0628\u0627\u0632\u06af\u0634\u062a\u06cc \u0627\u0644\u06af\u0648\u0647\u0627 \u0627\u0632 \u0641\u0627\u06cc\u0644 \u0647\u0627 \u0648 \u0632\u06cc\u0631 \u0634\u0627\u062e\u0647 \u0647\u0627\u06cc \u062f\u0627\u062e\u0644 \u06cc\u06a9 \u067e\u0648\u0634\u0647. \u062f\u0631 \u062d\u0627\u0644\u06cc \u06a9\u0647 grep \u0628\u0647 \u0637\u0648\u0631 \u067e\u06cc\u0634\u200c\u0641\u0631\u0636 \u0628\u0647 \u062d\u0631\u0648\u0641 \u0628\u0632\u0631\u06af \u0648 \u06a9\u0648\u0686\u06a9 \u062d\u0633\u0627\u0633 \u0627\u0633\u062a\u060c \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u06cc\u0646 \u062a\u0646\u0638\u06cc\u0645 \u0631\u0627 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u067e\u0631\u0686\u0645 -i \u063a\u06cc\u0631\u0641\u0639\u0627\u0644 \u06a9\u0646\u06cc\u062f \u062a\u0627 \u06cc\u06a9 \u0627\u0644\u06af\u0648\u06cc \u0645\u0646\u0637\u0628\u0642 \u0631\u0627 \u0628\u062f\u0648\u0646 \u062a\u0648\u062c\u0647 \u0628\u0647 \u062d\u0631\u0648\u0641 \u0628\u0632\u0631\u06af \u0622\u0646 \u067e\u06cc\u062f\u0627 \u06a9\u0646\u06cc\u062f.<\/p>\n<p>\u0634\u0645\u0627 \u0647\u0645\u0686\u0646\u06cc\u0646 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f print \u062e\u0637\u0648\u0637 \u063a\u06cc\u0631 \u0645\u0646\u0637\u0628\u0642 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 <strong>-v<\/strong> \u06af\u0632\u06cc\u0646\u0647 \u0648 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f <strong>-n<\/strong> \u06af\u0632\u06cc\u0646\u0647 \u0627\u06cc \u0628\u0631\u0627\u06cc \u0646\u0634\u0627\u0646 \u062f\u0627\u062f\u0646 \u0634\u0645\u0627\u0631\u0647 \u062f\u0646\u0628\u0627\u0644\u0647 \u0622\u0646\u0647\u0627. \u0628\u0631\u0627\u06cc \u0627\u0644\u06af\u0648\u0647\u0627\u06cc \u062c\u0633\u062a\u062c\u0648\u06cc \u067e\u06cc\u0686\u06cc\u062f\u0647 \u062a\u0631\u060c \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u0646\u0645\u0627\u062f\u0647\u0627\u06cc \u0639\u0628\u0627\u0631\u062a \u0645\u0646\u0638\u0645 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f.<\/p>\n<p>\u062f\u0631 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u062f\u0631 \u062f\u0646\u06cc\u0627\u06cc \u0648\u0627\u0642\u0639\u06cc\u060c \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u0644\u0627\u0632\u0645 \u0628\u0627\u0634\u062f grep \u0631\u0627 \u0628\u0627 \u062f\u0633\u062a\u0648\u0631\u0627\u062a \u062f\u06cc\u06af\u0631 \u062a\u0631\u06a9\u06cc\u0628 \u06a9\u0646\u06cc\u062f \u0648 \u0646\u062a\u0627\u06cc\u062c \u062c\u0633\u062a\u062c\u0648 \u0631\u0627 \u0628\u0647 \u0641\u0627\u06cc\u0644\u06cc \u0647\u062f\u0627\u06cc\u062a \u06a9\u0646\u06cc\u062f. backup. \u0627\u0632 \u0622\u0646\u062c\u0627\u06cc\u06cc \u06a9\u0647 \u0627\u06cc\u0646 \u0627\u0628\u0632\u0627\u0631 \u0628\u0633\u06cc\u0627\u0631 \u0645\u062a\u0646\u0648\u0639 \u0627\u0633\u062a\u060c \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f <strong>\u06a9\u062f\u06cc<\/strong> \u0628\u0631\u0627\u06cc \u0646\u0648\u0634\u062a\u0646 \u062f\u0633\u062a\u0648\u0631 \u06a9\u0627\u0645\u0644<\/p>\n<h2 class=\"wp-block-heading\" id=\"h-how-to-use-the-grep-command-faq\"><span class=\"ez-toc-section\" id=\"%d8%b1%d9%88%d8%b4_%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87_%d8%a7%d8%b2_%d8%af%d8%b3%d8%aa%d9%88%d8%b1_grep_%d8%b3%d9%88%d8%a7%d9%84%d8%a7%d8%aa_%d9%85%d8%aa%d8%af%d8%a7%d9%88%d9%84\"><\/span><span class=\"ez-toc-section\" id=\"How_to_use_the_grep_command_FAQ\"><\/span>\u0631\u0648\u0634 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u062f\u0633\u062a\u0648\u0631 grep \u0633\u0648\u0627\u0644\u0627\u062a \u0645\u062a\u062f\u0627\u0648\u0644<span class=\"ez-toc-section-end\"><\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<div class=\"schema-faq wp-block-yoast-faq-block\">\n<div class=\"schema-faq-section\" id=\"faq-question-1722508228700\">\n<h3 class=\"schema-faq-question\"><span class=\"ez-toc-section\" id=\"%d8%af%d8%b3%d8%aa%d9%88%d8%b1_grep_%d8%a8%d8%b1%d8%a7%db%8c_%da%86%db%8c%d8%b3%d8%aa%d8%9f\"><\/span><span class=\"ez-toc-section\" id=\"What_is_the_grep_command_used_for\"><\/span>\u062f\u0633\u062a\u0648\u0631 grep \u0628\u0631\u0627\u06cc \u0686\u06cc\u0633\u062a\u061f<span class=\"ez-toc-section-end\"><\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p class=\"schema-faq-answer\">\u062f\u0633\u062a\u0648\u0631 grep \u0645\u0639\u0645\u0648\u0644\u0627\u064b \u0628\u0631\u0627\u06cc \u062c\u0633\u062a\u062c\u0648\u06cc \u062e\u0637\u0648\u0637 \u062d\u0627\u0648\u06cc \u06cc\u06a9 \u06a9\u0644\u0645\u0647 \u06a9\u0644\u06cc\u062f\u06cc \u062e\u0627\u0635 \u062f\u0631 \u06cc\u06a9 \u0641\u0627\u06cc\u0644 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u0634\u0648\u062f. \u0647\u0645\u0686\u0646\u06cc\u0646 \u0628\u0631\u0627\u06cc \u0641\u06cc\u0644\u062a\u0631 \u06a9\u0631\u062f\u0646 \u062e\u0631\u0648\u062c\u06cc \u0627\u0628\u0632\u0627\u0631\u0647\u0627\u06cc \u062f\u06cc\u06af\u0631 \u0645\u0641\u06cc\u062f \u0627\u0633\u062a \u0648 \u0641\u0642\u0637 \u0645\u0648\u0627\u0631\u062f\u06cc \u0631\u0627 \u0628\u0627 \u06cc\u06a9 \u0627\u0644\u06af\u0648\u06cc \u062e\u0627\u0635 \u0686\u0627\u067e \u0645\u06cc \u06a9\u0646\u062f. \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0631\u0627 \u0628\u0627 \u0648\u0627\u0631\u062f \u06a9\u0631\u062f\u0646 \u062f\u0633\u062a\u0648\u0631 grep \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u06cc\u062f.<\/p>\n<\/p><\/div>\n<div class=\"schema-faq-section\" id=\"faq-question-1722508234937\">\n<h3 class=\"schema-faq-question\"><span class=\"ez-toc-section\" id=\"%d8%b1%d8%a7%db%8c%d8%ac_%d8%aa%d8%b1%db%8c%d9%86_%da%af%d8%b2%db%8c%d9%86%d9%87_%d9%87%d8%a7%db%8c_%d9%85%d9%88%d8%b1%d8%af_%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87_%d8%af%d8%b1_grep_%da%a9%d8%af%d8%a7%d9%85%d9%86%d8%af%d8%9f\"><\/span><span class=\"ez-toc-section\" id=\"What_are_the_most_common_options_used_with_grep\"><\/span>\u0631\u0627\u06cc\u062c \u062a\u0631\u06cc\u0646 \u06af\u0632\u06cc\u0646\u0647 \u0647\u0627\u06cc \u0645\u0648\u0631\u062f \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u062f\u0631 grep \u06a9\u062f\u0627\u0645\u0646\u062f\u061f<span class=\"ez-toc-section-end\"><\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p class=\"schema-faq-answer\">\u06cc\u06a9\u06cc \u0627\u0632 \u0631\u0627\u06cc\u062c \u062a\u0631\u06cc\u0646 \u06af\u0632\u06cc\u0646\u0647 \u0647\u0627 \u062f\u0631 grep \u0634\u0627\u0645\u0644 <strong>\u0645\u0646<\/strong>\u060c \u06a9\u0647 \u062d\u0633\u0627\u0633\u06cc\u062a \u062d\u0631\u0648\u0641 \u06a9\u0648\u0686\u06a9 \u0648 \u0628\u0632\u0631\u06af \u0631\u0627 \u062f\u0631 \u0639\u0628\u0627\u0631\u062a \u062c\u0633\u062a\u062c\u0648\u06cc \u0634\u0645\u0627 \u0646\u0627\u062f\u06cc\u062f\u0647 \u0645\u06cc \u06af\u06cc\u0631\u062f. \u06cc\u06a9\u06cc \u062f\u06cc\u06af\u0631 \u0627\u0632 \u06af\u0632\u06cc\u0646\u0647 \u0647\u0627\u06cc \u0645\u062d\u0628\u0648\u0628 \u0627\u06cc\u0646 \u0627\u0633\u062a <strong>-r<\/strong>\u060c \u0628\u0647 \u0634\u0645\u0627 \u0627\u0645\u06a9\u0627\u0646 \u0645\u06cc \u062f\u0647\u062f \u062a\u0645\u0627\u0645 \u0641\u0627\u06cc\u0644 \u0647\u0627 \u0648 \u067e\u0648\u0634\u0647 \u0647\u0627 \u0631\u0627 \u062f\u0631 \u06cc\u06a9 \u0641\u0647\u0631\u0633\u062a \u062c\u0633\u062a\u062c\u0648 \u06a9\u0646\u06cc\u062f. <\/p>\n<\/p><\/div>\n<div class=\"schema-faq-section\" id=\"faq-question-1722508239000\">\n<h3 class=\"schema-faq-question\"><span class=\"ez-toc-section\" id=\"%d8%a2%db%8c%d8%a7_%d9%85%db%8c_%d8%aa%d9%88%d8%a7%d9%86%d9%85_%d8%a8%d8%a7_%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87_%d8%a7%d8%b2_grep_%db%8c%da%a9_%d8%a7%d9%84%da%af%d9%88_%d8%b1%d8%a7_%d8%af%d8%b1_%da%86%d9%86%d8%af%db%8c%d9%86_%d9%81%d8%a7%db%8c%d9%84_%db%8c%d8%a7_%d8%af%d8%a7%db%8c%d8%b1%da%a9%d8%aa%d9%88%d8%b1%db%8c_%d8%ac%d8%b3%d8%aa%d8%ac%d9%88_%da%a9%d9%86%d9%85%d8%9f\"><\/span><span class=\"ez-toc-section\" id=\"Can_I_search_for_a_pattern_in_multiple_files_or_directories_using_grep\"><\/span>\u0622\u06cc\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646\u0645 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 grep \u06cc\u06a9 \u0627\u0644\u06af\u0648 \u0631\u0627 \u062f\u0631 \u0686\u0646\u062f\u06cc\u0646 \u0641\u0627\u06cc\u0644 \u06cc\u0627 \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc \u062c\u0633\u062a\u062c\u0648 \u06a9\u0646\u0645\u061f<span class=\"ez-toc-section-end\"><\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p class=\"schema-faq-answer\">\u0628\u0644\u0647\u060c \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u06cc\u06a9 \u06a9\u0644\u0645\u0647 \u06a9\u0644\u06cc\u062f\u06cc \u0631\u0627 \u062f\u0631 \u0686\u0646\u062f\u06cc\u0646 \u0641\u0627\u06cc\u0644 \u06cc\u0627 \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc \u0628\u0627 \u0641\u0647\u0631\u0633\u062a \u06a9\u0631\u062f\u0646 \u0622\u0646\u0647\u0627 \u062c\u0633\u062a\u062c\u0648 \u06a9\u0646\u06cc\u062f. \u0648\u0627\u0631\u062f \u06a9\u0646\u06cc\u062f <strong>\u0627\u0644\u06af\u0648\u06cc grep file1.txt file2.txt <\/strong>\u0628\u0631\u0627\u06cc \u067e\u06cc\u062f\u0627 \u06a9\u0631\u062f\u0646 \u06cc\u06a9 \u0627\u0644\u06af\u0648 \u062f\u0631 \u0641\u0627\u06cc\u0644 \u0647\u0627 \u0628\u0631\u0627\u06cc \u0628\u0631\u0631\u0633\u06cc \u06a9\u0644\u0645\u0627\u062a \u06a9\u0644\u06cc\u062f\u06cc \u0627\u0632 \u0686\u0646\u062f\u06cc\u0646 \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc\u060c \u0627\u0632 <strong>-r <\/strong>\u06af\u0632\u06cc\u0646\u0647 \u0627\u06cc \u06a9\u0647 \u0645\u0633\u06cc\u0631 \u0648\u0627\u0644\u062f\u06cc\u0646 \u0622\u0646\u0647\u0627 \u062f\u0646\u0628\u0627\u0644 \u0645\u06cc \u0634\u0648\u062f. <\/p>\n<\/p><\/div>\n<div class=\"schema-faq-section\" id=\"faq-question-1722508246033\">\n<h3 class=\"schema-faq-question\"><span class=\"ez-toc-section\" id=\"%da%86%da%af%d9%88%d9%86%d9%87_%d8%ae%d8%b7%d9%88%d8%b7%db%8c_%d8%b1%d8%a7_%d8%ac%d8%b3%d8%aa%d8%ac%d9%88_%da%a9%d9%86%d9%85_%da%a9%d9%87_%d8%a8%d8%a7_%db%8c%da%a9_%d8%a7%d9%84%da%af%d9%88_%d9%85%d8%b7%d8%a7%d8%a8%d9%82%d8%aa_%d9%86%d8%af%d8%a7%d8%b1%d9%86%d8%af%d8%9f\"><\/span><span class=\"ez-toc-section\" id=\"How_do_I_search_for_lines_that_do_not_match_a_pattern\"><\/span>\u0686\u06af\u0648\u0646\u0647 \u062e\u0637\u0648\u0637\u06cc \u0631\u0627 \u062c\u0633\u062a\u062c\u0648 \u06a9\u0646\u0645 \u06a9\u0647 \u0628\u0627 \u06cc\u06a9 \u0627\u0644\u06af\u0648 \u0645\u0637\u0627\u0628\u0642\u062a \u0646\u062f\u0627\u0631\u0646\u062f\u061f<span class=\"ez-toc-section-end\"><\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p class=\"schema-faq-answer\">\u0628\u0647 print \u062e\u0637\u0648\u0637\u06cc \u06a9\u0647 \u0628\u0627 \u06cc\u06a9 \u0627\u0644\u06af\u0648 \u0645\u0637\u0627\u0628\u0642\u062a \u0646\u062f\u0627\u0631\u0646\u062f\u060c \u0622\u0646 \u0631\u0627 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f <strong>-v<\/strong> \u06af\u0632\u06cc\u0646\u0647 \u0627\u06cc \u0628\u0631\u0627\u06cc \u062f\u0633\u062a\u0648\u0631 grep \u0634\u0645\u0627. \u0639\u0645\u0644\u06a9\u0631\u062f \u062c\u0633\u062a\u062c\u0648\u06cc \u0645\u0639\u06a9\u0648\u0633 \u0631\u0627 \u0641\u0639\u0627\u0644 \u0645\u06cc \u06a9\u0646\u062f \u0648 \u0647\u0645\u0647 \u0648\u0631\u0648\u062f\u06cc \u0647\u0627 \u0631\u0627 \u0627\u0632 \u0641\u0627\u06cc\u0644\u06cc \u06a9\u0647 \u062d\u0627\u0648\u06cc \u06a9\u0644\u0645\u0647 \u06a9\u0644\u06cc\u062f\u06cc \u0646\u06cc\u0633\u062a \u062e\u0631\u0648\u062c\u06cc \u0645\u06cc \u062f\u0647\u062f.<\/p>\n<\/p><\/div><\/div><\/div>\n\n<div>\u0628\u0631\u0627\u06cc \u0646\u06af\u0627\u0631\u0634 \u0628\u062e\u0634\u0647\u0627\u06cc\u06cc \u0627\u0632 \u0627\u06cc\u0646 \u0645\u062a\u0646 \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u0627\u0632 \u062a\u0631\u062c\u0645\u0647 \u0645\u0627\u0634\u06cc\u0646\u06cc \u06cc\u0627 \u0647\u0648\u0634 \u0645\u0635\u0646\u0648\u0639\u06cc GPT \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0634\u062f\u0647 \u0628\u0627\u0634\u062f <br \/>\n\u0644\u0637\u0641\u0627 \u062f\u0631 \u0635\u0648\u0631\u062a \u0648\u062c\u0648\u062f \u0645\u0634\u06a9\u0644 \u062f\u0631 \u0645\u062a\u0646 \u06cc\u0627 \u0645\u0641\u0647\u0648\u0645 \u0646\u0628\u0648\u062f\u0646 \u062a\u0648\u0636\u06cc\u062d\u0627\u062a\u060c \u0627\u0632 \u0637\u0631\u06cc\u0642 \u062f\u06a9\u0645\u0647 \u06af\u0632\u0627\u0631\u0634 \u0646\u0648\u0634\u062a\u0627\u0631 \u06cc\u0627 \u062f\u0631\u062c \u0646\u0638\u0631 \u0631\u0648\u06cc \u0627\u06cc\u0646 \u0645\u0637\u0644\u0628 \u0645\u0627 \u0631\u0627 \u0627\u0632 \u062c\u0632\u06cc\u06cc\u0627\u062a \u0645\u0634\u06a9\u0644 \u0645\u0634\u0627\u0647\u062f\u0647 \u0634\u062f\u0647 \u0645\u0637\u0644\u0639 \u06a9\u0646\u06cc\u062f \u062a\u0627 \u0628\u0647 \u0622\u0646 \u0631\u0633\u06cc\u062f\u06af\u06cc \u06a9\u0646\u06cc\u0645\n<\/div>\n<p>\u0632\u0645\u0627\u0646 \u0627\u0646\u062a\u0634\u0627\u0631: 1403-12-28 11:38:16<br \/>\n<br \/>\n <\/p>\n\n\n<div class=\"kk-star-ratings kksr-auto kksr-align-center kksr-valign-bottom\"\n    data-payload='{&quot;align&quot;:&quot;center&quot;,&quot;id&quot;:&quot;18618&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;bottom&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;0&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;0&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;5&quot;,&quot;greet&quot;:&quot;\u0627\u0645\u062a\u06cc\u0627\u0632 \u0634\u0645\u0627 \u0628\u0647 \u0627\u06cc\u0646 \u0645\u0637\u0644\u0628&quot;,&quot;legend&quot;:&quot;0\\\/5 (0 \u0631\u0627\u06cc)&quot;,&quot;size&quot;:&quot;30&quot;,&quot;title&quot;:&quot;\u0631\u0648\u0634 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u062f\u0633\u062a\u0648\u0631 grep \u062f\u0631 \u0644\u06cc\u0646\u0648\u06a9\u0633 + \u0645\u062b\u0627\u0644 \u0647\u0627&quot;,&quot;width&quot;:&quot;0&quot;,&quot;_legend&quot;:&quot;{score}\\\/{best} ({count} \u0631\u0627\u06cc)&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}'>\n            \n<div class=\"kksr-stars\">\n    \n<div class=\"kksr-stars-inactive\">\n            <div class=\"kksr-star\" data-star=\"1\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"2\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"3\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"4\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"5\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n    <\/div>\n    \n<div class=\"kksr-stars-active\" style=\"width: 0px;\">\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 30px; height: 30px;\"><\/div>\n        <\/div>\n    <\/div>\n<\/div>\n                \n\n<div class=\"kksr-legend\" style=\"font-size: 24px;\">\n            <span class=\"kksr-muted\">\u0627\u0645\u062a\u06cc\u0627\u0632 \u0634\u0645\u0627 \u0628\u0647 \u0627\u06cc\u0646 \u0645\u0637\u0644\u0628<\/span>\n    <\/div>\n    <\/div>\n","protected":false},"excerpt":{"rendered":"<p><span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">\u0632\u0645\u0627\u0646 \u0644\u0627\u0632\u0645 \u0628\u0631\u0627\u06cc \u0645\u0637\u0627\u0644\u0639\u0647: <\/span> <span class=\"rt-time\"> 9<\/span> <span class=\"rt-label rt-postfix\">\u062f\u0642\u06cc\u0642\u0647<\/span><\/span>\u0627\u06cc\u0646 \u0686\u0627\u067e \u0628\u06cc\u0627\u0646 \u0645\u0646\u0638\u0645 \u062c\u0647\u0627\u0646\u06cc \u06cc\u0627 grep \u0641\u0631\u0645\u0627\u0646 \u062e\u0637\u0648\u0637 \u062e\u0627\u0635\u06cc \u0631\u0627 \u06a9\u0647 \u062d\u0627\u0648\u06cc \u06cc\u06a9 \u0627\u0644\u06af\u0648\u06cc \u062e\u0627\u0635 \u062f\u0631 \u06cc\u06a9 \u0641\u0627\u06cc\u0644 \u0627\u0633\u062a \u062c\u0633\u062a\u062c\u0648 \u0645\u06cc \u06a9\u0646\u062f. \u0627\u06cc\u0646 \u0628\u0631\u0627\u06cc \u0628\u0631\u0631\u0633\u06cc \u0633\u0631\u06cc\u0639 \u0648\u062c\u0648\u062f \u06cc\u06a9 \u0648\u0631\u0648\u062f\u06cc \u0645\u0641\u06cc\u062f \u0627\u0633\u062a\u060c \u0628\u0647 \u062e\u0635\u0648\u0635 \u0628\u0631\u0627\u06cc \u0645\u0648\u0627\u0631\u062f \u0628\u0632\u0631\u06af \u0645\u0627\u0646\u0646\u062f \u0641\u0627\u06cc\u0644 \u0647\u0627\u06cc \u06af\u0632\u0627\u0631\u0634. \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u06af\u0632\u06cc\u0646\u0647\u200c\u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641\u06cc \u0631\u0627 \u0628\u0631\u0627\u06cc \u0627\u0635\u0644\u0627\u062d \u0631\u0641\u062a\u0627\u0631 \u0641\u0631\u0645\u0627\u0646 \u0628\u0631\u0627\u06cc \u06a9\u0627\u0631\u0647\u0627\u06cc \u062e\u0627\u0635\u060c \u0645\u0627\u0646\u0646\u062f \u062c\u0633\u062a\u062c\u0648\u06cc \u0645\u0639\u06a9\u0648\u0633 [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":18619,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[606,643,2752,445],"tags":[33,1151,2747,2746],"class_list":["post-18618","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howto","category-guides","category-vps","category-kb","tag-wordpress","tag-1151","tag--wordpress","tag-2746"],"acf":[],"_links":{"self":[{"href":"https:\/\/rasanegaar.com\/blog\/wp-json\/wp\/v2\/posts\/18618","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rasanegaar.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rasanegaar.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rasanegaar.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/rasanegaar.com\/blog\/wp-json\/wp\/v2\/comments?post=18618"}],"version-history":[{"count":0,"href":"https:\/\/rasanegaar.com\/blog\/wp-json\/wp\/v2\/posts\/18618\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/rasanegaar.com\/blog\/wp-json\/wp\/v2\/media\/18619"}],"wp:attachment":[{"href":"https:\/\/rasanegaar.com\/blog\/wp-json\/wp\/v2\/media?parent=18618"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rasanegaar.com\/blog\/wp-json\/wp\/v2\/categories?post=18618"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rasanegaar.com\/blog\/wp-json\/wp\/v2\/tags?post=18618"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}