{"id":25055,"date":"2022-11-18T10:02:36","date_gmt":"2022-11-18T07:02:36","guid":{"rendered":"https:\/\/linuxthebest.net\/?p=25055"},"modified":"2022-11-18T10:17:42","modified_gmt":"2022-11-18T07:17:42","slug":"12-praktychnyh-prykladiv-komandy-linux-grep","status":"publish","type":"post","link":"https:\/\/linuxthebest.net\/uk\/12-praktychnyh-prykladiv-komandy-linux-grep\/","title":{"rendered":"12 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u043d\u0438\u0445 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u0456\u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u0438 Linux Grep"},"content":{"rendered":"<p>\u0412\u0438 \u043a\u043e\u043b\u0438-\u043d\u0435\u0431\u0443\u0434\u044c \u0441\u0442\u0438\u043a\u0430\u043b\u0438\u0441\u044f \u0456\u0437 \u0437\u0430\u0432\u0434\u0430\u043d\u043d\u044f\u043c \u043f\u043e\u0448\u0443\u043a\u0443 \u043f\u0435\u0432\u043d\u043e\u0433\u043e \u0440\u044f\u0434\u043a\u0430 \u0447\u0438 \u0448\u0430\u0431\u043b\u043e\u043d\u0443 \u0443 \u0444\u0430\u0439\u043b\u0456, \u0430\u043b\u0435 \u043d\u0435 \u0437\u043d\u0430\u0454\u0442\u0435, \u0437 \u0447\u043e\u0433\u043e \u0440\u043e\u0437\u043f\u043e\u0447\u0430\u0442\u0438 \u043f\u043e\u0448\u0443\u043a? \u0429\u043e \u0436, \u043e\u0441\u044c \u0432\u0430\u043c \u043d\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u0443 grep!<\/p>\n<p><strong>grep<\/strong> \u2013 \u0446\u0435 \u043f\u043e\u0442\u0443\u0436\u043d\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0430 \u0434\u043b\u044f \u043f\u043e\u0448\u0443\u043a\u0443 \u0448\u0430\u0431\u043b\u043e\u043d\u0456\u0432 \u0444\u0430\u0439\u043b\u0456\u0432, \u044f\u043a\u0430 \u0454 \u0443 \u043a\u043e\u0436\u043d\u043e\u043c\u0443 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0456 Linux. \u042f\u043a\u0449\u043e \u0437 \u0431\u0443\u0434\u044c-\u044f\u043a\u043e\u0457 \u043f\u0440\u0438\u0447\u0438\u043d\u0438 \u0432\u0456\u043d \u043d\u0435 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0439 \u0443 \u0432\u0430\u0448\u0456\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0456, \u0432\u0438 \u043c\u043e\u0436\u0435\u0442\u0435 \u043b\u0435\u0433\u043a\u043e \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0438 \u0439\u043e\u0433\u043e \u0447\u0435\u0440\u0435\u0437 \u0434\u0438\u0441\u043f\u0435\u0442\u0447\u0435\u0440 \u043f\u0430\u043a\u0435\u0442\u0456\u0432, \u044f\u043a \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u043e \u043d\u0438\u0436\u0447\u0435.<\/p>\n<pre>$ sudo apt install grep\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 [On <strong>Debian, Ubuntu and Mint<\/strong>]\r\n$ sudo yum install grep\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 [On <strong>RHEL\/CentOS\/Fedora<\/strong> and <strong>Rocky Linux\/AlmaLinux<\/strong>]\r\n$ sudo emerge -a sys-apps\/grep\u00a0 [On <strong>Gentoo Linux<\/strong>]\r\n$ sudo apk add grep\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 [On <strong>Alpine Linux<\/strong>]\r\n$ sudo pacman -S grep\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 [On <strong>Arch Linux<\/strong>]\r\n$ sudo zypper install grep\u00a0\u00a0\u00a0\u00a0\u00a0 [On <strong>OpenSUSE<\/strong>]<\/pre>\n<p>\u042f \u0432\u0438\u044f\u0432\u0438\u0432, \u0449\u043e \u043d\u0430\u0439\u043f\u0440\u043e\u0441\u0442\u0456\u0448\u0438\u0439 \u0441\u043f\u043e\u0441\u0456\u0431 \u043d\u0430\u043c\u043e\u0447\u0438\u0442\u0438 \u043d\u043e\u0433\u0438 \u0437\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u0438 grep \u2013 \u0446\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u0437\u0430\u043d\u0443\u0440\u0438\u0442\u0438\u0441\u044f \u0443 \u043d\u0435\u0457 \u0442\u0430 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u0442\u0438 \u043a\u0456\u043b\u044c\u043a\u0430 \u0440\u0435\u0430\u043b\u044c\u043d\u0438\u0445 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u0456\u0432.<\/p>\n<h2>1. \u041f\u043e\u0448\u0443\u043a \u0442\u0430 \u043f\u043e\u0448\u0443\u043a \u0444\u0430\u0439\u043b\u0456\u0432 \u0443 Linux<\/h2>\n<p>\u0414\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u043e, \u0432\u0438 \u0442\u0456\u043b\u044c\u043a\u0438 \u0449\u043e \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0438 \u043d\u043e\u0432\u0443 \u043a\u043e\u043f\u0456\u044e \u043d\u043e\u0432\u043e\u0457 Ubuntu \u043d\u0430 \u0441\u0432\u0456\u0439 \u043a\u043e\u043c\u043f&#8217;\u044e\u0442\u0435\u0440 \u0456 \u0437\u0431\u0438\u0440\u0430\u0454\u0442\u0435\u0441\u044f \u0441\u043f\u0440\u043e\u0431\u0443\u0432\u0430\u0442\u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u0438 \u0441\u043a\u0440\u0438\u043f\u0442 \u043d\u0430 Python.<\/p>\n<p>\u0412\u0438 \u043d\u0438\u0448\u043f\u043e\u0440\u0438\u043b\u0438 \u0432 \u0406\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0456 \u0432 \u043f\u043e\u0448\u0443\u043a\u0430\u0445 \u043f\u043e\u0441\u0456\u0431\u043d\u0438\u043a\u0456\u0432, \u0430\u043b\u0435 \u0431\u0430\u0447\u0438\u0442\u0435, \u0449\u043e \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u044e\u0442\u044c\u0441\u044f \u0434\u0432\u0456 \u0440\u0456\u0437\u043d\u0456 \u0432\u0435\u0440\u0441\u0456\u0457 Python, \u0456 \u0432\u0438 \u043d\u0435 \u0437\u043d\u0430\u0454\u0442\u0435, \u044f\u043a\u0430 \u0432\u0435\u0440\u0441\u0456\u044f Python \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0430 \u200b\u200b\u0432 Ubuntu \u0456\u043d\u0441\u0442\u0430\u043b\u044f\u0442\u043e\u0440\u043e\u043c \u0456 \u0447\u0438 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0456 \u0431\u0443\u0434\u044c-\u044f\u043a\u0456 \u043c\u043e\u0434\u0443\u043b\u0456.<\/p>\n<p>\u041f\u0440\u043e\u0441\u0442\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0456\u0442\u044c \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443 \u043a\u043e\u043c\u0430\u043d\u0434\u0443 dpkg \u0437 grep, \u044f\u043a \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u043e \u043d\u0438\u0436\u0447\u0435:<\/p>\n<pre># dpkg -l | grep -i python<\/pre>\n<div class=\"wp-block-image\"><img data-recalc-dims=\"1\" decoding=\"async\" data-attachment-id=\"25057\" data-permalink=\"https:\/\/linuxthebest.net\/uk\/12-praktychnyh-prykladiv-komandy-linux-grep\/chrome_ogo5mxzib9\/\" data-orig-file=\"https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2022\/11\/chrome_ogo5mxzib9.png?fit=839%2C374&amp;ssl=1\" data-orig-size=\"839,374\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"chrome_ogO5mXzIb9\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2022\/11\/chrome_ogo5mxzib9.png?fit=839%2C374&amp;ssl=1\" class=\"aligncenter size-full wp-image-25057 lazyload\" data-src=\"https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2022\/11\/chrome_ogo5mxzib9.png?resize=839%2C374&#038;ssl=1\" alt=\"\" width=\"839\" height=\"374\" data-srcset=\"https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2022\/11\/chrome_ogo5mxzib9.png?w=839&amp;ssl=1 839w, https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2022\/11\/chrome_ogo5mxzib9.png?resize=300%2C134&amp;ssl=1 300w, https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2022\/11\/chrome_ogo5mxzib9.png?resize=768%2C342&amp;ssl=1 768w\" data-sizes=\"(max-width: 839px) 100vw, 839px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 839px; --smush-placeholder-aspect-ratio: 839\/374;\" \/><\/div>\n<p>\u0421\u043f\u043e\u0447\u0430\u0442\u043a\u0443 \u043c\u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043b\u0438 dpkg \u2013l, \u0443 \u044f\u043a\u043e\u043c\u0443 \u043f\u0435\u0440\u0435\u043b\u0456\u0447\u0435\u043d\u0456 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0456 \u043f\u0430\u043a\u0435\u0442\u0438 *.deb \u0443 \u0432\u0430\u0448\u0456\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0456. \u041f\u043e-\u0434\u0440\u0443\u0433\u0435, \u043c\u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u043b\u0438 \u0446\u0435\u0439 \u0432\u0438\u0441\u043d\u043e\u0432\u043e\u043a \u0443 grep \u2013i python, \u044f\u043a\u0438\u0439 \u043f\u0440\u043e\u0441\u0442\u043e \u043a\u0430\u0436\u0435: \u00ab\u043f\u0435\u0440\u0435\u0439\u0434\u0456\u0442\u044c \u0443 grep, \u0432\u0456\u0434\u0444\u0456\u043b\u044c\u0442\u0440\u0443\u0439\u0442\u0435 \u0442\u0430 \u043f\u043e\u0432\u0435\u0440\u043d\u0456\u0442\u044c \u0443\u0441\u0435, \u0449\u043e \u043c\u0456\u0441\u0442\u0438\u0442\u044c \u00abpython\u00bb \u0443 \u043d\u044c\u043e\u043c\u0443\u00bb.<\/p>\n<p>\u041e\u043f\u0446\u0456\u044f \u2013i \u043f\u0440\u0438\u0437\u043d\u0430\u0447\u0435\u043d\u0430 \u0434\u043b\u044f \u0456\u0433\u043d\u043e\u0440\u0443\u0432\u0430\u043d\u043d\u044f \u0440\u0435\u0433\u0456\u0441\u0442\u0440\u0443, \u043e\u0441\u043a\u0456\u043b\u044c\u043a\u0438 grep \u0447\u0443\u0442\u043b\u0438\u0432\u0438\u0439 \u0434\u043e \u0440\u0435\u0433\u0456\u0441\u0442\u0440\u0443. \u0412\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044f \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 -i &#8211; \u0446\u0435 \u0433\u0430\u0440\u043d\u0430 \u0437\u0432\u0438\u0447\u043a\u0430, \u044f\u043a\u0449\u043e, \u0437\u0432\u0438\u0447\u0430\u0439\u043d\u043e, \u0432\u0438 \u043d\u0435 \u043d\u0430\u043c\u0430\u0433\u0430\u0454\u0442\u0435\u0441\u044f \u0437\u0430\u043a\u0440\u0456\u043f\u0438\u0442\u0438 \u0431\u0456\u043b\u044c\u0448 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u0438\u0439 \u043f\u043e\u0448\u0443\u043a.<\/p>\n<h2>2. \u041f\u043e\u0448\u0443\u043a \u0442\u0430 \u0444\u0456\u043b\u044c\u0442\u0440\u0430\u0446\u0456\u044f \u0444\u0430\u0439\u043b\u0456\u0432 \u0443 Linux<\/h2>\n<p>Grep \u0442\u0430\u043a\u043e\u0436 \u043c\u043e\u0436\u043d\u0430 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0434\u043b\u044f \u043f\u043e\u0448\u0443\u043a\u0443 \u0442\u0430 \u0444\u0456\u043b\u044c\u0442\u0440\u0430\u0446\u0456\u0457 \u0432 \u043e\u043a\u0440\u0435\u043c\u0438\u0445 \u0444\u0430\u0439\u043b\u0430\u0445 \u0430\u0431\u043e \u043a\u0456\u043b\u044c\u043a\u043e\u0445 \u0444\u0430\u0439\u043b\u0430\u0445. \u0412\u0456\u0437\u044c\u043c\u0435\u043c\u043e \u0446\u0435\u0439 \u0441\u0446\u0435\u043d\u0430\u0440\u0456\u0439:<\/p>\n<p>\u0423 \u0432\u0430\u0441 \u0432\u0438\u043d\u0438\u043a\u043b\u0438 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0438 \u0437 \u0432\u0430\u0448\u0438\u043c \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c Apache, \u0456 \u0432\u0438 \u0437\u0432\u0435\u0440\u043d\u0443\u043b\u0438\u0441\u044f \u043d\u0430 \u043e\u0434\u0438\u043d \u0456\u0437 \u0431\u0435\u0437\u043b\u0456\u0447\u0456 \u0447\u0443\u0434\u043e\u0432\u0438\u0445 \u0444\u043e\u0440\u0443\u043c\u0456\u0432 \u0443 \u043c\u0435\u0440\u0435\u0436\u0456 \u0437 \u043f\u0440\u043e\u0445\u0430\u043d\u043d\u044f\u043c \u043f\u0440\u043e \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u0443.<\/p>\n<p>\u0414\u043e\u0431\u0440\u0430 \u0434\u0443\u0448\u0430, \u044f\u043a\u0430 \u0432\u0456\u0434\u043f\u043e\u0432\u0456\u0434\u0430\u0454 \u0432\u0430\u043c, \u043f\u043e\u043f\u0440\u043e\u0441\u0438\u043b\u0430 \u0432\u0430\u0441 \u043e\u043f\u0443\u0431\u043b\u0456\u043a\u0443\u0432\u0430\u0442\u0438 \u0432\u043c\u0456\u0441\u0442 \u0444\u0430\u0439\u043b\u0443 \/etc\/apache2\/apache2.conf. \u0425\u0456\u0431\u0430 \u043d\u0435 \u0431\u0443\u043b\u043e \u0431 \u043b\u0435\u0433\u0448\u0435 \u0434\u043b\u044f \u0432\u0430\u0441, \u0434\u043b\u044f \u0445\u043b\u043e\u043f\u0446\u044f, \u044f\u043a\u0438\u0439 \u0432\u0430\u043c \u0434\u043e\u043f\u043e\u043c\u0430\u0433\u0430\u0454, \u0456 \u0434\u043b\u044f \u0432\u0441\u0456\u0445, \u0445\u0442\u043e \u0447\u0438\u0442\u0430\u0454 \u0446\u0435, \u044f\u043a\u0431\u0438 \u0432\u0438 \u043c\u043e\u0433\u043b\u0438 \u0432\u0438\u043b\u0443\u0447\u0438\u0442\u0438 \u0432\u0441\u0456 \u0437\u0430\u043a\u043e\u043c\u0435\u043d\u0442\u043e\u0432\u0430\u043d\u0456 \u0440\u044f\u0434\u043a\u0438? \u041d\u0443 \u0442\u0438 \u043c\u043e\u0436\u0435\u0448! \u041f\u0440\u043e\u0441\u0442\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0456\u0442\u044c \u0446\u0435:<\/p>\n<pre># grep -v ^\\# \/etc\/apache2\/apache2.conf | grep\u00a0 .<\/pre>\n<p>\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u2013v \u0432\u043a\u0430\u0437\u0443\u0454 grep \u0456\u043d\u0432\u0435\u0440\u0442\u0443\u0432\u0430\u0442\u0438 \u0432\u0438\u0441\u043d\u043e\u0432\u043e\u043a, \u0442\u043e\u0431\u0442\u043e \u0437\u0430\u043c\u0456\u0441\u0442\u044c \u0432\u0438\u0432\u0435\u0434\u0435\u043d\u043d\u044f \u0440\u044f\u0434\u043a\u0456\u0432, \u0449\u043e \u0437\u0431\u0456\u0433\u0430\u044e\u0442\u044c\u0441\u044f \u0437\u0440\u043e\u0431\u0438\u0442\u0438 \u043d\u0430\u0432\u043f\u0430\u043a\u0438 \u0456 \u0432\u0438\u0432\u0435\u0441\u0442\u0438 \u0432\u0441\u0456 \u0440\u044f\u0434\u043a\u0438, \u0449\u043e \u043d\u0435 \u0432\u0456\u0434\u043f\u043e\u0432\u0456\u0434\u0430\u044e\u0442\u044c \u0432\u0438\u0440\u0430\u0437\u0443, \u0432 \u0434\u0430\u043d\u043e\u043c\u0443 \u0432\u0438\u043f\u0430\u0434\u043a\u0443 \u0440\u044f\u0434\u043a\u0438 \u0437 \u043a\u043e\u043c\u0435\u043d\u0442\u0430\u0440\u044f\u043c\u0438 #.<\/p>\n<p>\u0417\u0432\u0435\u0440\u043d\u0456\u0442\u044c \u0443\u0432\u0430\u0433\u0443, \u0449\u043e \u043c\u0438 \u0442\u0430\u043a\u043e\u0436 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u043b\u0438 grep. \u043d\u0430\u043f\u0440\u0438\u043a\u0456\u043d\u0446\u0456, \u0449\u043e\u0431 \u043f\u0440\u0438\u0445\u043e\u0432\u0430\u0442\u0438 \u0432\u0438\u0432\u0435\u0434\u0435\u043d\u043d\u044f \u0432\u0441\u0456\u0445 \u043f\u043e\u0440\u043e\u0436\u043d\u0456\u0445 \u0440\u044f\u0434\u043a\u0456\u0432. \u0422\u0430\u043a\u0438\u043c \u0447\u0438\u043d\u043e\u043c, \u043c\u0438 \u0431\u0430\u0447\u0438\u043c\u043e \u043b\u0438\u0448\u0435 \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u043d\u043d\u044f \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u0457 \u0443 \u043d\u0430\u0448\u043e\u043c\u0443 \u0442\u0435\u0440\u043c\u0456\u043d\u0430\u043b\u0456.<\/p>\n<div class=\"wp-block-image\"><img data-recalc-dims=\"1\" decoding=\"async\" data-attachment-id=\"25058\" data-permalink=\"https:\/\/linuxthebest.net\/uk\/12-praktychnyh-prykladiv-komandy-linux-grep\/chrome_s2egxipoks\/\" data-orig-file=\"https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2022\/11\/chrome_s2egxipoks.png?fit=796%2C552&amp;ssl=1\" data-orig-size=\"796,552\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"chrome_s2egxIpOks\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2022\/11\/chrome_s2egxipoks.png?fit=796%2C552&amp;ssl=1\" class=\"aligncenter size-full wp-image-25058 lazyload\" data-src=\"https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2022\/11\/chrome_s2egxipoks.png?resize=796%2C552&#038;ssl=1\" alt=\"\" width=\"796\" height=\"552\" data-srcset=\"https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2022\/11\/chrome_s2egxipoks.png?w=796&amp;ssl=1 796w, https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2022\/11\/chrome_s2egxipoks.png?resize=300%2C208&amp;ssl=1 300w, https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2022\/11\/chrome_s2egxipoks.png?resize=768%2C533&amp;ssl=1 768w\" data-sizes=\"(max-width: 796px) 100vw, 796px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 796px; --smush-placeholder-aspect-ratio: 796\/552;\" \/><\/div>\n<h2>3. \u0417\u043d\u0430\u0439\u0442\u0438 \u0432\u0441\u0456 \u0444\u0430\u0439\u043b\u0438 .mp3 \u0432 Linux<\/h2>\n<p>grep \u043c\u043e\u0436\u0435 \u0431\u0443\u0442\u0438 \u0434\u0443\u0436\u0435 \u043a\u043e\u0440\u0438\u0441\u043d\u0438\u043c \u0434\u043b\u044f \u0444\u0456\u043b\u044c\u0442\u0440\u0430\u0446\u0456\u0457 \u0437 stdout. \u041d\u0430\u043f\u0440\u0438\u043a\u043b\u0430\u0434, \u043f\u0440\u0438\u043f\u0443\u0441\u0442\u0438\u043c\u043e, \u0449\u043e \u0432\u0438 \u043c\u0430\u0454\u0442\u0435 \u0446\u0456\u043b\u0443 \u043f\u0430\u043f\u043a\u0443 \u0437 \u043c\u0443\u0437\u0438\u0447\u043d\u0438\u043c\u0438 \u0444\u0430\u0439\u043b\u0430\u043c\u0438 \u0432 \u0440\u0456\u0437\u043d\u0438\u0445 \u0444\u043e\u0440\u043c\u0430\u0442\u0430\u0445.<\/p>\n<p>\u0412\u0438 \u0445\u043e\u0447\u0435\u0442\u0435 \u0437\u043d\u0430\u0439\u0442\u0438 \u0432\u0441\u0456 \u0444\u0430\u0439\u043b\u0438 *.mp3 \u0432\u0456\u0434 \u0432\u0438\u043a\u043e\u043d\u0430\u0432\u0446\u044f JayZ, \u0430\u043b\u0435 \u0432\u0430\u043c \u043d\u0435 \u043f\u043e\u0442\u0440\u0456\u0431\u043d\u0456 \u043d\u0456\u044f\u043a\u0456 \u0442\u0440\u0435\u043c\u0456\u043a\u0438. \u0412\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u0438 find \u0437 \u043f\u0430\u0440\u043e\u044e \u043a\u0430\u043d\u0430\u043b\u0456\u0432 grep \u0437\u0440\u043e\u0431\u0438\u0442\u044c \u0441\u0432\u043e\u044e \u0441\u043f\u0440\u0430\u0432\u0443:<\/p>\n<pre># find . \u2013name \u201c*.mp3\u201d | grep \u2013i JayZ | grep \u2013vi \u201cremix\u201d<\/pre>\n<p>\u0423 \u0446\u044c\u043e\u043c\u0443 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u0456 \u043c\u0438 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0454\u043c\u043e find \u0434\u043b\u044f \u0432\u0438\u0432\u0435\u0434\u0435\u043d\u043d\u044f \u0432\u0441\u0456\u0445 \u0444\u0430\u0439\u043b\u0456\u0432 \u0437 \u0440\u043e\u0437\u0448\u0438\u0440\u0435\u043d\u043d\u044f\u043c *.mp3, \u043f\u0435\u0440\u0435\u0434\u0430\u0454\u043c\u043e \u0439\u043e\u0433\u043e \u0432 grep \u2013i \u0434\u043b\u044f \u0444\u0456\u043b\u044c\u0442\u0440\u0430\u0446\u0456\u0457 \u0442\u0430 \u0434\u0440\u0443\u043a\u0443\u0432\u0430\u043d\u043d\u044f \u0432\u0441\u0456\u0445 \u0444\u0430\u0439\u043b\u0456\u0432 \u0437 \u0456\u043c&#8217;\u044f\u043c \u00abJayZ\u00bb, \u0430 \u043f\u043e\u0442\u0456\u043c \u0449\u0435 \u043e\u0434\u0438\u043d \u043a\u0430\u043d\u0430\u043b \u0443 grep \u2013vi, \u044f\u043a\u0438\u0439 \u0444\u0456\u043b\u044c\u0442\u0440\u0443\u0454 out \u0456 \u043d\u0435 \u0432\u0438\u0432\u043e\u0434\u0438\u0442\u044c \u0432\u0441\u0456 \u0456\u043c\u0435\u043d\u0430 \u0444\u0430\u0439\u043b\u0456\u0432 \u0437 \u0440\u044f\u0434\u043a\u043e\u043c (\u043f\u0440\u0438\u043d\u0430\u0439\u043c\u043d\u0456) &#8220;remix&#8221;.<\/p>\n<h2>4. \u0412\u0456\u0434\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u043d\u044f \u043a\u0456\u043b\u044c\u043a\u043e\u0441\u0442\u0456 \u0440\u044f\u0434\u043a\u0456\u0432 \u0434\u043e \u0430\u0431\u043e \u043f\u0456\u0441\u043b\u044f \u043f\u043e\u0448\u0443\u043a\u0443.<\/h2>\n<p>\u0429\u0435 \u043f\u0430\u0440\u0430 \u043e\u043f\u0446\u0456\u0439 \u2014 \u0446\u0435 \u043f\u0435\u0440\u0435\u043c\u0438\u043a\u0430\u0447\u0456 -A \u0456 -B, \u044f\u043a\u0456 \u0432\u0456\u0434\u043e\u0431\u0440\u0430\u0436\u0430\u044e\u0442\u044c \u0440\u044f\u0434\u043e\u043a, \u0449\u043e \u0437\u0431\u0456\u0433\u0430\u0454\u0442\u044c\u0441\u044f, \u0456 \u043a\u0456\u043b\u044c\u043a\u0456\u0441\u0442\u044c \u0440\u044f\u0434\u043a\u0456\u0432, \u044f\u043a\u0456 \u0439\u0434\u0443\u0442\u044c \u0434\u043e \u0430\u0431\u043e \u043f\u0456\u0441\u043b\u044f \u0440\u044f\u0434\u043a\u0430 \u043f\u043e\u0448\u0443\u043a\u0443.<\/p>\n<p>\u0423 \u0442\u043e\u0439 \u0447\u0430\u0441 \u044f\u043a \u0434\u043e\u0432\u0456\u0434\u043a\u043e\u0432\u0430 \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0430 \u0434\u0430\u0454 \u0434\u043e\u043a\u043b\u0430\u0434\u043d\u0456\u0448\u0435 \u043f\u043e\u044f\u0441\u043d\u0435\u043d\u043d\u044f, \u043c\u0435\u043d\u0456 \u0437\u0434\u0430\u0454\u0442\u044c\u0441\u044f, \u0449\u043e \u043d\u0430\u0439\u043f\u0440\u043e\u0441\u0442\u0456\u0448\u0435 \u0437\u0430\u043f\u0430\u043c&#8217;\u044f\u0442\u0430\u0442\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0438 \u044f\u043a \u2013A = \u043f\u0456\u0441\u043b\u044f \u0442\u0430 \u2013B = \u0434\u043e:<\/p>\n<pre># ifconfig | grep -A 4 inet\r\n# ifconfig | grep -B 2 UP<\/pre>\n<div class=\"wp-block-image\"><img data-recalc-dims=\"1\" decoding=\"async\" data-attachment-id=\"25059\" data-permalink=\"https:\/\/linuxthebest.net\/uk\/12-praktychnyh-prykladiv-komandy-linux-grep\/display-number-of-lines-before-after-string\/\" data-orig-file=\"https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2022\/11\/display-number-of-lines-before-after-string.png?fit=929%2C393&amp;ssl=1\" data-orig-size=\"929,393\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Display-Number-of-Lines-Before-After-String\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2022\/11\/display-number-of-lines-before-after-string.png?fit=929%2C393&amp;ssl=1\" class=\"aligncenter size-full wp-image-25059 lazyload\" data-src=\"https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2022\/11\/display-number-of-lines-before-after-string.png?resize=929%2C393&#038;ssl=1\" alt=\"\" width=\"929\" height=\"393\" data-srcset=\"https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2022\/11\/display-number-of-lines-before-after-string.png?w=929&amp;ssl=1 929w, https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2022\/11\/display-number-of-lines-before-after-string.png?resize=300%2C127&amp;ssl=1 300w, https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2022\/11\/display-number-of-lines-before-after-string.png?resize=768%2C325&amp;ssl=1 768w\" data-sizes=\"(max-width: 929px) 100vw, 929px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 929px; --smush-placeholder-aspect-ratio: 929\/393;\" \/><\/div>\n<h2>5. \u0414\u0440\u0443\u043a\u0443\u0454 \u043a\u0456\u043b\u044c\u043a\u0456\u0441\u0442\u044c \u0440\u044f\u0434\u043a\u0456\u0432 \u043d\u0430\u0432\u043a\u043e\u043b\u043e \u0437\u0431\u0456\u0433\u0443<\/h2>\n<p>\u041e\u043f\u0446\u0456\u044f \u2013C \u043a\u043e\u043c\u0430\u043d\u0434\u0438 grep \u0430\u043d\u0430\u043b\u043e\u0433\u0456\u0447\u043d\u0430, \u0430\u043b\u0435 \u0437\u0430\u043c\u0456\u0441\u0442\u044c \u0442\u043e\u0433\u043e, \u0449\u043e\u0431 \u0434\u0440\u0443\u043a\u0443\u0432\u0430\u0442\u0438 \u0440\u044f\u0434\u043a\u0438, \u0449\u043e \u0439\u0434\u0443\u0442\u044c \u0434\u043e \u0430\u0431\u043e \u043f\u0456\u0441\u043b\u044f \u0440\u044f\u0434\u043a\u0430, \u0434\u0440\u0443\u043a\u0443\u0454 \u0440\u044f\u0434\u043a\u0438 \u0432 \u0431\u0443\u0434\u044c-\u044f\u043a\u043e\u043c\u0443 \u043d\u0430\u043f\u0440\u044f\u043c\u043a\u0443:<\/p>\n<div class=\"wp-block-image\"><img data-recalc-dims=\"1\" decoding=\"async\" data-attachment-id=\"25060\" data-permalink=\"https:\/\/linuxthebest.net\/uk\/12-praktychnyh-prykladiv-komandy-linux-grep\/chrome_qpa57nrxdw\/\" data-orig-file=\"https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2022\/11\/chrome_qpa57nrxdw.png?fit=833%2C292&amp;ssl=1\" data-orig-size=\"833,292\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"chrome_qPa57nRXdw\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2022\/11\/chrome_qpa57nrxdw.png?fit=833%2C292&amp;ssl=1\" class=\"aligncenter size-full wp-image-25060 lazyload\" data-src=\"https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2022\/11\/chrome_qpa57nrxdw.png?resize=833%2C292&#038;ssl=1\" alt=\"\" width=\"833\" height=\"292\" data-srcset=\"https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2022\/11\/chrome_qpa57nrxdw.png?w=833&amp;ssl=1 833w, https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2022\/11\/chrome_qpa57nrxdw.png?resize=300%2C105&amp;ssl=1 300w, https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2022\/11\/chrome_qpa57nrxdw.png?resize=768%2C269&amp;ssl=1 768w\" data-sizes=\"(max-width: 833px) 100vw, 833px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 833px; --smush-placeholder-aspect-ratio: 833\/292;\" \/><\/div>\n<h2>6. \u041f\u0456\u0434\u0440\u0430\u0445\u0443\u0439\u0442\u0435 \u043a\u0456\u043b\u044c\u043a\u0456\u0441\u0442\u044c \u0437\u0431\u0456\u0433\u0456\u0432<\/h2>\n<p>\u041f\u043e\u0434\u0456\u0431\u043d\u043e \u0434\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0456 \u0440\u044f\u0434\u043a\u0430 grep \u0432 \u043b\u0456\u0447\u0438\u043b\u044c\u043d\u0438\u043a \u0441\u043b\u0456\u0432 (\u043a\u043e\u043c\u0430\u043d\u0434\u0430 wc), \u0432\u0431\u0443\u0434\u043e\u0432\u0430\u043d\u0430 \u043e\u043f\u0446\u0456\u044f grep \u043c\u043e\u0436\u0435 \u0437\u0440\u043e\u0431\u0438\u0442\u0438 \u0442\u0435 \u0441\u0430\u043c\u0435 \u0434\u043b\u044f \u0432\u0430\u0441:<\/p>\n<pre># ifconfig | grep -c inet6<\/pre>\n<h2>7. \u041f\u043e\u0448\u0443\u043a \u0444\u0430\u0439\u043b\u0456\u0432 \u043f\u043e \u0437\u0430\u0434\u0430\u043d\u043e\u043c\u0443 \u0440\u044f\u0434\u043a\u0443 \u0432 Linux<\/h2>\n<p>\u041e\u043f\u0446\u0456\u044f \u2013n \u0434\u043b\u044f grep \u0434\u0443\u0436\u0435 \u043a\u043e\u0440\u0438\u0441\u043d\u0430 \u043f\u0456\u0434 \u0447\u0430\u0441 \u043d\u0430\u043b\u0430\u0433\u043e\u0434\u0436\u0435\u043d\u043d\u044f \u0444\u0430\u0439\u043b\u0456\u0432 \u043f\u0456\u0434 \u0447\u0430\u0441 \u043f\u043e\u043c\u0438\u043b\u043e\u043a \u043a\u043e\u043c\u043f\u0456\u043b\u044f\u0446\u0456\u0457. \u0412\u0456\u043d \u0432\u0456\u0434\u043e\u0431\u0440\u0430\u0436\u0430\u0454 \u043d\u043e\u043c\u0435\u0440 \u0440\u044f\u0434\u043a\u0430 \u0443 \u0444\u0430\u0439\u043b\u0456 \u0437\u0430\u0434\u0430\u043d\u043e\u0433\u043e \u0440\u044f\u0434\u043a\u0430 \u043f\u043e\u0448\u0443\u043a\u0443:<\/p>\n<pre># grep -n \"main\" setup.py<\/pre>\n<h2>8. \u0420\u0435\u043a\u0443\u0440\u0441\u0438\u0432\u043d\u0438\u0439 \u043f\u043e\u0448\u0443\u043a \u0440\u044f\u0434\u043a\u0430 \u0443 \u0432\u0441\u0456\u0445 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0430\u0445<\/h2>\n<p>\u042f\u043a\u0449\u043e \u0432\u0438 \u0445\u043e\u0447\u0435\u0442\u0435 \u0448\u0443\u043a\u0430\u0442\u0438 \u0440\u044f\u0434\u043e\u043a \u0443 \u043f\u043e\u0442\u043e\u0447\u043d\u043e\u043c\u0443 \u043a\u0430\u0442\u0430\u043b\u043e\u0437\u0456 \u0440\u0430\u0437\u043e\u043c \u0456\u0437 \u0443\u0441\u0456\u043c\u0430 \u043f\u0456\u0434\u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0430\u043c\u0438, \u0432\u0438 \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u043a\u0430\u0437\u0430\u0442\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u2013r \u0434\u043b\u044f \u0440\u0435\u043a\u0443\u0440\u0441\u0438\u0432\u043d\u043e\u0433\u043e \u043f\u043e\u0448\u0443\u043a\u0443:<\/p>\n<pre># grep -r \u201cfunction\u201d *<\/pre>\n<h2>9. \u041f\u043e\u0448\u0443\u043a \u0432\u0441\u044c\u043e\u0433\u043e \u043f\u0430\u0442\u0435\u0440\u043d\u0443<\/h2>\n<p>\u041f\u0435\u0440\u0435\u0434\u0430\u0447\u0430 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 -w \u0443 \u043a\u043e\u043c\u0430\u043d\u0434\u0443 grep \u0448\u0443\u043a\u0430\u0454 \u0432\u0435\u0441\u044c \u0448\u0430\u0431\u043b\u043e\u043d, \u0449\u043e \u043c\u0456\u0441\u0442\u0438\u0442\u044c\u0441\u044f \u0443 \u0440\u044f\u0434\u043a\u0443. \u041d\u0430\u043f\u0440\u0438\u043a\u043b\u0430\u0434, \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u044e\u0447\u0438:<\/p>\n<pre># ifconfig | grep -w \"RUNNING\"<\/pre>\n<p>\u0412\u0438\u0432\u0435\u0434\u0435 \u0440\u044f\u0434\u043e\u043a, \u0449\u043e \u043c\u0456\u0441\u0442\u0438\u0442\u044c \u0448\u0430\u0431\u043b\u043e\u043d \u0443 \u043b\u0430\u043f\u043a\u0430\u0445. \u0417 \u0456\u043d\u0448\u043e\u0433\u043e \u0431\u043e\u043a\u0443, \u044f\u043a\u0449\u043e \u0432\u0438 \u0441\u043f\u0440\u043e\u0431\u0443\u0454\u0442\u0435:<\/p>\n<pre># ifconfig | grep -w \"RUN\"<\/pre>\n<div class=\"wp-block-image\"><img data-recalc-dims=\"1\" decoding=\"async\" data-attachment-id=\"25061\" data-permalink=\"https:\/\/linuxthebest.net\/uk\/12-praktychnyh-prykladiv-komandy-linux-grep\/find-entire-pattern\/\" data-orig-file=\"https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2022\/11\/find-entire-pattern.png?fit=686%2C139&amp;ssl=1\" data-orig-size=\"686,139\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Find-Entire-Pattern\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2022\/11\/find-entire-pattern.png?fit=686%2C139&amp;ssl=1\" class=\"aligncenter size-full wp-image-25061 lazyload\" data-src=\"https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2022\/11\/find-entire-pattern.png?resize=686%2C139&#038;ssl=1\" alt=\"\" width=\"686\" height=\"139\" data-srcset=\"https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2022\/11\/find-entire-pattern.png?w=686&amp;ssl=1 686w, https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2022\/11\/find-entire-pattern.png?resize=300%2C61&amp;ssl=1 300w\" data-sizes=\"(max-width: 686px) 100vw, 686px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 686px; --smush-placeholder-aspect-ratio: 686\/139;\" \/><\/div>\n<p>\u041d\u0456\u0447\u043e\u0433\u043e \u043d\u0435 \u0431\u0443\u0434\u0435 \u043f\u043e\u0432\u0435\u0440\u043d\u0443\u0442\u043e, \u0442\u043e\u043c\u0443 \u0449\u043e \u043c\u0438 \u0448\u0443\u043a\u0430\u0454\u043c\u043e \u043d\u0435 \u0448\u0430\u0431\u043b\u043e\u043d, \u0430 \u0441\u043b\u043e\u0432\u043e.<\/p>\n<h2>10. \u041f\u043e\u0448\u0443\u043a \u0440\u044f\u0434\u043a\u0430 \u0443 \u0441\u0442\u0438\u0441\u043b\u0438\u0445 \u0444\u0430\u0439\u043b\u0430\u0445<\/h2>\n<p>\u041d\u0430 \u043e\u043a\u0440\u0435\u043c\u0443 \u0437\u0433\u0430\u0434\u043a\u0443 \u0437\u0430\u0441\u043b\u0443\u0433\u043e\u0432\u0443\u044e\u0442\u044c \u043f\u043e\u0445\u0456\u0434\u043d\u0456 \u0432\u0456\u0434 grep. \u041f\u0435\u0440\u0448\u0438\u0439 \u0446\u0435 zgrep, \u044f\u043a\u0438\u0439, \u044f\u043a \u0456 zcat, \u043f\u0440\u0438\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0434\u043b\u044f \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044f \u0437 \u0444\u0430\u0439\u043b\u0430\u043c\u0438, \u0441\u0442\u0438\u0441\u043d\u0443\u0442\u0438\u043c\u0438 gzip. \u0412\u0456\u043d \u043f\u0440\u0438\u0439\u043c\u0430\u0454 \u0442\u0456 \u0436 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0438, \u0449\u043e \u0456 grep, \u0456 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0454\u0442\u044c\u0441\u044f \u0442\u0430\u043a:<\/p>\n<pre># zgrep -i error \/var\/log\/syslog.2.gz<\/pre>\n<div class=\"wp-block-image\"><img data-recalc-dims=\"1\" decoding=\"async\" data-attachment-id=\"25062\" data-permalink=\"https:\/\/linuxthebest.net\/uk\/12-praktychnyh-prykladiv-komandy-linux-grep\/search-string-in-gzipped-files\/\" data-orig-file=\"https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2022\/11\/search-string-in-gzipped-files.png?fit=877%2C252&amp;ssl=1\" data-orig-size=\"877,252\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Search-String-in-Gzipped-Files\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2022\/11\/search-string-in-gzipped-files.png?fit=877%2C252&amp;ssl=1\" class=\"aligncenter size-full wp-image-25062 lazyload\" data-src=\"https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2022\/11\/search-string-in-gzipped-files.png?resize=877%2C252&#038;ssl=1\" alt=\"\" width=\"877\" height=\"252\" data-srcset=\"https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2022\/11\/search-string-in-gzipped-files.png?w=877&amp;ssl=1 877w, https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2022\/11\/search-string-in-gzipped-files.png?resize=300%2C86&amp;ssl=1 300w, https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2022\/11\/search-string-in-gzipped-files.png?resize=768%2C221&amp;ssl=1 768w\" data-sizes=\"(max-width: 877px) 100vw, 877px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 877px; --smush-placeholder-aspect-ratio: 877\/252;\" \/><\/div>\n<h2>11. \u0412\u0456\u0434\u043f\u043e\u0432\u0456\u0434\u043d\u0456\u0441\u0442\u044c \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u0438\u043c \u0432\u0438\u0440\u0430\u0437\u0430\u043c \u0443 \u0444\u0430\u0439\u043b\u0430\u0445<\/h2>\n<p>\u041a\u043e\u043c\u0430\u043d\u0434\u0430 egrep &#8211; \u0449\u0435 \u043e\u0434\u043d\u0430 \u043f\u043e\u0445\u0456\u0434\u043d\u0430 \u0432\u0456\u0434 &#8220;\u0420\u043e\u0437\u0448\u0438\u0440\u0435\u043d\u0435 \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u0435 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u0435 \u0432\u0438\u0440\u0430\u0436\u0435\u043d\u043d\u044f&#8221;. \u0412\u0456\u043d \u0440\u043e\u0437\u043f\u0456\u0437\u043d\u0430\u0454 \u0434\u043e\u0434\u0430\u0442\u043a\u043e\u0432\u0456 \u043c\u0435\u0442\u0430\u0441\u0438\u043c\u0432\u043e\u043b\u0438 \u0432\u0438\u0440\u0430\u0437\u0456\u0432, \u0442\u0430\u043a\u0456 \u044f\u043a +? | \u0430 \u0442\u0430\u043a\u043e\u0436 ().<\/p>\n<p>egrep \u0434\u0443\u0436\u0435 \u043a\u043e\u0440\u0438\u0441\u043d\u0438\u0439 \u0434\u043b\u044f \u043f\u043e\u0448\u0443\u043a\u0443 \u0432\u0438\u0445\u0456\u0434\u043d\u0438\u0445 \u0444\u0430\u0439\u043b\u0456\u0432 \u0442\u0430 \u0456\u043d\u0448\u0438\u0445 \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u0456\u0432 \u043a\u043e\u0434\u0443, \u044f\u043a\u0449\u043e \u0432 \u0446\u044c\u043e\u043c\u0443 \u0432\u0438\u043d\u0438\u043a\u043d\u0435 \u043f\u043e\u0442\u0440\u0435\u0431\u0430. \u0419\u043e\u0433\u043e \u043c\u043e\u0436\u043d\u0430 \u0432\u0438\u043a\u043b\u0438\u043a\u0430\u0442\u0438 \u0437\u0456 \u0437\u0432\u0438\u0447\u0430\u0439\u043d\u043e\u0433\u043e grep, \u0432\u043a\u0430\u0437\u0430\u0432\u0448\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 E.<\/p>\n<pre># grep -E<\/pre>\n<h2>12. \u041f\u043e\u0448\u0443\u043a \u0444\u0456\u043a\u0441\u043e\u0432\u0430\u043d\u043e\u0433\u043e \u0440\u044f\u0434\u043a\u0430 \u0448\u0430\u0431\u043b\u043e\u043d\u0443<\/h2>\n<p>fgrep \u0448\u0443\u043a\u0430\u0454 \u0443 \u0444\u0430\u0439\u043b\u0456 \u0430\u0431\u043e \u0441\u043f\u0438\u0441\u043a\u0443 \u0444\u0430\u0439\u043b\u0456\u0432 \u0444\u0456\u043a\u0441\u043e\u0432\u0430\u043d\u0438\u0439 \u0440\u044f\u0434\u043e\u043a \u0448\u0430\u0431\u043b\u043e\u043d\u0443. \u0426\u0435 \u0442\u0435 \u0441\u0430\u043c\u0435, \u0449\u043e \u0456 grep -F. \u0417\u0432\u0438\u0447\u0430\u0439\u043d\u0438\u0439 \u0441\u043f\u043e\u0441\u0456\u0431 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044f fgrep \u2013 \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u0438 \u0439\u043e\u043c\u0443 \u0444\u0430\u0439\u043b \u0448\u0430\u0431\u043b\u043e\u043d\u0456\u0432:<\/p>\n<pre># fgrep \u2013f file_full_of_patterns.txt file_to_search.txt<\/pre>\n<p>\u0426\u0435 \u043b\u0438\u0448\u0435 \u0432\u0456\u0434\u043f\u0440\u0430\u0432\u043d\u0430 \u0442\u043e\u0447\u043a\u0430 \u0437 grep, \u0430\u043b\u0435, \u044f\u043a \u0432\u0438, \u043c\u0430\u0431\u0443\u0442\u044c, \u0431\u0430\u0447\u0438\u0442\u0435, \u0432\u043e\u043d\u0430 \u0431\u0435\u0437\u0446\u0456\u043d\u043d\u0430 \u0434\u043b\u044f \u0431\u0435\u0437\u043b\u0456\u0447\u0456 \u0446\u0456\u043b\u0435\u0439. \u041a\u0440\u0456\u043c \u0440\u0435\u0430\u043b\u0456\u0437\u043e\u0432\u0430\u043d\u0438\u0445 \u043d\u0430\u043c\u0438 \u043f\u0440\u043e\u0441\u0442\u0438\u0445 \u043e\u0434\u043d\u043e\u0440\u044f\u0434\u043a\u043e\u0432\u0438\u0445 \u043a\u043e\u043c\u0430\u043d\u0434, \u0441\u043f\u043e\u0447\u0430\u0442\u043a\u0443 \u043c\u043e\u0436\u043d\u0430 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 grep \u0434\u043b\u044f \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044f \u043f\u043e\u0442\u0443\u0436\u043d\u0438\u0445 \u0437\u0430\u0432\u0434\u0430\u043d\u044c cron \u0456 \u043d\u0430\u0434\u0456\u0439\u043d\u0438\u0445 \u0441\u0446\u0435\u043d\u0430\u0440\u0456\u0457\u0432 \u043e\u0431\u043e\u043b\u043e\u043d\u043a\u0438.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0412\u0438 \u043a\u043e\u043b\u0438-\u043d\u0435\u0431\u0443\u0434\u044c \u0441\u0442\u0438\u043a\u0430\u043b\u0438\u0441\u044f \u0456\u0437 \u0437\u0430\u0432\u0434\u0430\u043d\u043d\u044f\u043c \u043f\u043e\u0448\u0443\u043a\u0443 \u043f\u0435\u0432\u043d\u043e\u0433\u043e \u0440\u044f\u0434\u043a\u0430 \u0447\u0438 \u0448\u0430\u0431\u043b\u043e\u043d\u0443 \u0443 \u0444\u0430\u0439\u043b\u0456, \u0430\u043b\u0435 \u043d\u0435 \u0437\u043d\u0430\u0454\u0442\u0435, \u0437 \u0447\u043e\u0433\u043e \u0440\u043e\u0437\u043f\u043e\u0447\u0430\u0442\u0438 \u043f\u043e\u0448\u0443\u043a? \u0429\u043e \u0436, \u043e\u0441\u044c \u0432\u0430\u043c \u043d\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u0443 grep! grep \u2013 \u0446\u0435 \u043f\u043e\u0442\u0443\u0436\u043d\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0430 \u0434\u043b\u044f \u043f\u043e\u0448\u0443\u043a\u0443 \u0448\u0430\u0431\u043b\u043e\u043d\u0456\u0432 \u0444\u0430\u0439\u043b\u0456\u0432, \u044f\u043a\u0430 \u0454 \u0443 \u043a\u043e\u0436\u043d\u043e\u043c\u0443 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0456 Linux. \u042f\u043a\u0449\u043e \u0437 \u0431\u0443\u0434\u044c-\u044f\u043a\u043e\u0457 \u043f\u0440\u0438\u0447\u0438\u043d\u0438 \u0432\u0456\u043d \u043d\u0435 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0439 \u0443 \u0432\u0430\u0448\u0456\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0456, \u0432\u0438 \u043c\u043e\u0436\u0435\u0442\u0435 \u043b\u0435\u0433\u043a\u043e \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0438 [&hellip;]<\/p>\n","protected":false},"author":3227,"featured_media":25056,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[211,1,3,396],"tags":[3640,76],"class_list":["post-25055","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-terminal","category-categories","category-review","category-rabochee-okruzhenie","tag-grep","tag-linux"],"blocksy_meta":[],"translation":{"provider":"WPGlobus","version":"3.0.2","language":"uk","enabled_languages":["ru","uk"],"languages":{"ru":{"title":true,"content":true,"excerpt":false},"uk":{"title":true,"content":true,"excerpt":false}}},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>12 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u043d\u0438\u0445 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u0456\u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u0438 Linux Grep<\/title>\n<meta name=\"description\" content=\"grep \u2013 \u0446\u0435 \u043f\u043e\u0442\u0443\u0436\u043d\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0430 \u0434\u043b\u044f \u043f\u043e\u0448\u0443\u043a\u0443 \u0448\u0430\u0431\u043b\u043e\u043d\u0456\u0432 \u0444\u0430\u0439\u043b\u0456\u0432, \u044f\u043a\u0430 \u0454 \u0443 \u043a\u043e\u0436\u043d\u043e\u043c\u0443 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0456 Linux\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/linuxthebest.net\/12-praktychnyh-prykladiv-komandy-linux-grep\/\" \/>\n<meta property=\"og:locale\" content=\"uk_UA\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"12 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u043d\u0438\u0445 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u0456\u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u0438 Linux Grep\" \/>\n<meta property=\"og:description\" content=\"grep \u2013 \u0446\u0435 \u043f\u043e\u0442\u0443\u0436\u043d\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0430 \u0434\u043b\u044f \u043f\u043e\u0448\u0443\u043a\u0443 \u0448\u0430\u0431\u043b\u043e\u043d\u0456\u0432 \u0444\u0430\u0439\u043b\u0456\u0432, \u044f\u043a\u0430 \u0454 \u0443 \u043a\u043e\u0436\u043d\u043e\u043c\u0443 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0456 Linux\" \/>\n<meta property=\"og:url\" content=\"https:\/\/linuxthebest.net\/12-praktychnyh-prykladiv-komandy-linux-grep\/\" \/>\n<meta property=\"og:site_name\" content=\"LinuxTheBest\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/UserAndLINUX\" \/>\n<meta property=\"article:published_time\" content=\"2022-11-18T07:02:36+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-11-18T07:17:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/linuxthebest.net\/wp-content\/uploads\/2022\/11\/using-grep-regular-expressions-to-search-for-text-patterns-in-linux.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1000\" \/>\n\t<meta property=\"og:image:height\" content=\"525\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"walle9054\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@UserAndLINUX\" \/>\n<meta name=\"twitter:site\" content=\"@UserAndLINUX\" \/>\n<meta name=\"twitter:label1\" content=\"\u041d\u0430\u043f\u0438\u0441\u0430\u043d\u043e\" \/>\n\t<meta name=\"twitter:data1\" content=\"walle9054\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u041f\u0440\u0438\u0431\u043b. \u0447\u0430\u0441 \u0447\u0438\u0442\u0430\u043d\u043d\u044f\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u0445\u0432\u0438\u043b\u0438\u043d\u0438\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/linuxthebest.net\\\/12-praktychnyh-prykladiv-komandy-linux-grep\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/linuxthebest.net\\\/12-praktychnyh-prykladiv-komandy-linux-grep\\\/\"},\"author\":{\"name\":\"walle9054\",\"@id\":\"https:\\\/\\\/linuxthebest.net\\\/#\\\/schema\\\/person\\\/4ef8b04b8a00956d024e66df7f488c3b\"},\"headline\":\"12 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u043d\u0438\u0445 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u0456\u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u0438 Linux Grep\",\"datePublished\":\"2022-11-18T07:02:36+00:00\",\"dateModified\":\"2022-11-18T07:17:42+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/linuxthebest.net\\\/12-praktychnyh-prykladiv-komandy-linux-grep\\\/\"},\"wordCount\":1642,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/linuxthebest.net\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/linuxthebest.net\\\/12-praktychnyh-prykladiv-komandy-linux-grep\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/linuxthebest.net\\\/wp-content\\\/uploads\\\/2022\\\/11\\\/using-grep-regular-expressions-to-search-for-text-patterns-in-linux.jpg?fit=1000%2C525&ssl=1\",\"keywords\":[\"Grep\",\"linux\"],\"articleSection\":[\"\u0418\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438\",\"\u041a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438\",\"\u041e\u0431\u0437\u043e\u0440\u044b\",\"\u0420\u0430\u0431\u043e\u0447\u0435\u0435 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0435\"],\"inLanguage\":\"uk\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/linuxthebest.net\\\/12-praktychnyh-prykladiv-komandy-linux-grep\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/linuxthebest.net\\\/12-praktychnyh-prykladiv-komandy-linux-grep\\\/\",\"url\":\"https:\\\/\\\/linuxthebest.net\\\/12-praktychnyh-prykladiv-komandy-linux-grep\\\/\",\"name\":\"12 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u043d\u0438\u0445 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u0456\u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u0438 Linux Grep\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/linuxthebest.net\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/linuxthebest.net\\\/12-praktychnyh-prykladiv-komandy-linux-grep\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/linuxthebest.net\\\/12-praktychnyh-prykladiv-komandy-linux-grep\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/linuxthebest.net\\\/wp-content\\\/uploads\\\/2022\\\/11\\\/using-grep-regular-expressions-to-search-for-text-patterns-in-linux.jpg?fit=1000%2C525&ssl=1\",\"datePublished\":\"2022-11-18T07:02:36+00:00\",\"dateModified\":\"2022-11-18T07:17:42+00:00\",\"description\":\"grep \u2013 \u0446\u0435 \u043f\u043e\u0442\u0443\u0436\u043d\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0430 \u0434\u043b\u044f \u043f\u043e\u0448\u0443\u043a\u0443 \u0448\u0430\u0431\u043b\u043e\u043d\u0456\u0432 \u0444\u0430\u0439\u043b\u0456\u0432, \u044f\u043a\u0430 \u0454 \u0443 \u043a\u043e\u0436\u043d\u043e\u043c\u0443 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0456 Linux\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/linuxthebest.net\\\/12-praktychnyh-prykladiv-komandy-linux-grep\\\/#breadcrumb\"},\"inLanguage\":\"uk\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/linuxthebest.net\\\/12-praktychnyh-prykladiv-komandy-linux-grep\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"uk\",\"@id\":\"https:\\\/\\\/linuxthebest.net\\\/12-praktychnyh-prykladiv-komandy-linux-grep\\\/#primaryimage\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/linuxthebest.net\\\/wp-content\\\/uploads\\\/2022\\\/11\\\/using-grep-regular-expressions-to-search-for-text-patterns-in-linux.jpg?fit=1000%2C525&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/linuxthebest.net\\\/wp-content\\\/uploads\\\/2022\\\/11\\\/using-grep-regular-expressions-to-search-for-text-patterns-in-linux.jpg?fit=1000%2C525&ssl=1\",\"width\":1000,\"height\":525},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/linuxthebest.net\\\/12-praktychnyh-prykladiv-komandy-linux-grep\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u0413\u043b\u0430\u0432\u043d\u0430\u044f\",\"item\":\"https:\\\/\\\/linuxthebest.net\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u041a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438\",\"item\":\"https:\\\/\\\/linuxthebest.net\\\/categories\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"12 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u043d\u0438\u0445 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u0456\u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u0438 Linux Grep\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/linuxthebest.net\\\/#website\",\"url\":\"https:\\\/\\\/linuxthebest.net\\\/\",\"name\":\"LinuxTheBest\",\"description\":\"\u0412\u0430\u0448 \u043f\u0440\u043e\u0432\u0456\u0434\u043d\u0438\u043a \u0443 \u0434\u0438\u0432\u043e\u0432\u0438\u0436\u043d\u0438\u0439 \u0441\u0432\u0456\u0442 Linux\",\"publisher\":{\"@id\":\"https:\\\/\\\/linuxthebest.net\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/linuxthebest.net\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"uk\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/linuxthebest.net\\\/#organization\",\"name\":\"UALinux\",\"url\":\"https:\\\/\\\/linuxthebest.net\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"uk\",\"@id\":\"https:\\\/\\\/linuxthebest.net\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/linuxthebest.net\\\/wp-content\\\/uploads\\\/2010\\\/06\\\/UALinux.png\",\"contentUrl\":\"https:\\\/\\\/linuxthebest.net\\\/wp-content\\\/uploads\\\/2010\\\/06\\\/UALinux.png\",\"width\":270,\"height\":73,\"caption\":\"UALinux\"},\"image\":{\"@id\":\"https:\\\/\\\/linuxthebest.net\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/UserAndLINUX\",\"https:\\\/\\\/x.com\\\/UserAndLINUX\",\"https:\\\/\\\/www.linkedin.com\\\/groups\\\/7487863\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/linuxthebest.net\\\/#\\\/schema\\\/person\\\/4ef8b04b8a00956d024e66df7f488c3b\",\"name\":\"walle9054\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"uk\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ca1cd3a0da5794e9defce526252afa41fcd26be7662ae17e81bf6e994b1b2c1d?s=96&d=wavatar&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ca1cd3a0da5794e9defce526252afa41fcd26be7662ae17e81bf6e994b1b2c1d?s=96&d=wavatar&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ca1cd3a0da5794e9defce526252afa41fcd26be7662ae17e81bf6e994b1b2c1d?s=96&d=wavatar&r=g\",\"caption\":\"walle9054\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"12 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u043d\u0438\u0445 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u0456\u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u0438 Linux Grep","description":"grep \u2013 \u0446\u0435 \u043f\u043e\u0442\u0443\u0436\u043d\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0430 \u0434\u043b\u044f \u043f\u043e\u0448\u0443\u043a\u0443 \u0448\u0430\u0431\u043b\u043e\u043d\u0456\u0432 \u0444\u0430\u0439\u043b\u0456\u0432, \u044f\u043a\u0430 \u0454 \u0443 \u043a\u043e\u0436\u043d\u043e\u043c\u0443 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0456 Linux","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/linuxthebest.net\/12-praktychnyh-prykladiv-komandy-linux-grep\/","og_locale":"uk_UA","og_type":"article","og_title":"12 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u043d\u0438\u0445 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u0456\u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u0438 Linux Grep","og_description":"grep \u2013 \u0446\u0435 \u043f\u043e\u0442\u0443\u0436\u043d\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0430 \u0434\u043b\u044f \u043f\u043e\u0448\u0443\u043a\u0443 \u0448\u0430\u0431\u043b\u043e\u043d\u0456\u0432 \u0444\u0430\u0439\u043b\u0456\u0432, \u044f\u043a\u0430 \u0454 \u0443 \u043a\u043e\u0436\u043d\u043e\u043c\u0443 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0456 Linux","og_url":"https:\/\/linuxthebest.net\/12-praktychnyh-prykladiv-komandy-linux-grep\/","og_site_name":"LinuxTheBest","article_publisher":"https:\/\/www.facebook.com\/UserAndLINUX","article_published_time":"2022-11-18T07:02:36+00:00","article_modified_time":"2022-11-18T07:17:42+00:00","og_image":[{"width":1000,"height":525,"url":"https:\/\/linuxthebest.net\/wp-content\/uploads\/2022\/11\/using-grep-regular-expressions-to-search-for-text-patterns-in-linux.jpg","type":"image\/jpeg"}],"author":"walle9054","twitter_card":"summary_large_image","twitter_creator":"@UserAndLINUX","twitter_site":"@UserAndLINUX","twitter_misc":{"\u041d\u0430\u043f\u0438\u0441\u0430\u043d\u043e":"walle9054","\u041f\u0440\u0438\u0431\u043b. \u0447\u0430\u0441 \u0447\u0438\u0442\u0430\u043d\u043d\u044f":"2 \u0445\u0432\u0438\u043b\u0438\u043d\u0438"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/linuxthebest.net\/12-praktychnyh-prykladiv-komandy-linux-grep\/#article","isPartOf":{"@id":"https:\/\/linuxthebest.net\/12-praktychnyh-prykladiv-komandy-linux-grep\/"},"author":{"name":"walle9054","@id":"https:\/\/linuxthebest.net\/#\/schema\/person\/4ef8b04b8a00956d024e66df7f488c3b"},"headline":"12 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u043d\u0438\u0445 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u0456\u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u0438 Linux Grep","datePublished":"2022-11-18T07:02:36+00:00","dateModified":"2022-11-18T07:17:42+00:00","mainEntityOfPage":{"@id":"https:\/\/linuxthebest.net\/12-praktychnyh-prykladiv-komandy-linux-grep\/"},"wordCount":1642,"commentCount":0,"publisher":{"@id":"https:\/\/linuxthebest.net\/#organization"},"image":{"@id":"https:\/\/linuxthebest.net\/12-praktychnyh-prykladiv-komandy-linux-grep\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2022\/11\/using-grep-regular-expressions-to-search-for-text-patterns-in-linux.jpg?fit=1000%2C525&ssl=1","keywords":["Grep","linux"],"articleSection":["\u0418\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438","\u041a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","\u041e\u0431\u0437\u043e\u0440\u044b","\u0420\u0430\u0431\u043e\u0447\u0435\u0435 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0435"],"inLanguage":"uk","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/linuxthebest.net\/12-praktychnyh-prykladiv-komandy-linux-grep\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/linuxthebest.net\/12-praktychnyh-prykladiv-komandy-linux-grep\/","url":"https:\/\/linuxthebest.net\/12-praktychnyh-prykladiv-komandy-linux-grep\/","name":"12 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u043d\u0438\u0445 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u0456\u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u0438 Linux Grep","isPartOf":{"@id":"https:\/\/linuxthebest.net\/#website"},"primaryImageOfPage":{"@id":"https:\/\/linuxthebest.net\/12-praktychnyh-prykladiv-komandy-linux-grep\/#primaryimage"},"image":{"@id":"https:\/\/linuxthebest.net\/12-praktychnyh-prykladiv-komandy-linux-grep\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2022\/11\/using-grep-regular-expressions-to-search-for-text-patterns-in-linux.jpg?fit=1000%2C525&ssl=1","datePublished":"2022-11-18T07:02:36+00:00","dateModified":"2022-11-18T07:17:42+00:00","description":"grep \u2013 \u0446\u0435 \u043f\u043e\u0442\u0443\u0436\u043d\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0430 \u0434\u043b\u044f \u043f\u043e\u0448\u0443\u043a\u0443 \u0448\u0430\u0431\u043b\u043e\u043d\u0456\u0432 \u0444\u0430\u0439\u043b\u0456\u0432, \u044f\u043a\u0430 \u0454 \u0443 \u043a\u043e\u0436\u043d\u043e\u043c\u0443 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0456 Linux","breadcrumb":{"@id":"https:\/\/linuxthebest.net\/12-praktychnyh-prykladiv-komandy-linux-grep\/#breadcrumb"},"inLanguage":"uk","potentialAction":[{"@type":"ReadAction","target":["https:\/\/linuxthebest.net\/12-praktychnyh-prykladiv-komandy-linux-grep\/"]}]},{"@type":"ImageObject","inLanguage":"uk","@id":"https:\/\/linuxthebest.net\/12-praktychnyh-prykladiv-komandy-linux-grep\/#primaryimage","url":"https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2022\/11\/using-grep-regular-expressions-to-search-for-text-patterns-in-linux.jpg?fit=1000%2C525&ssl=1","contentUrl":"https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2022\/11\/using-grep-regular-expressions-to-search-for-text-patterns-in-linux.jpg?fit=1000%2C525&ssl=1","width":1000,"height":525},{"@type":"BreadcrumbList","@id":"https:\/\/linuxthebest.net\/12-praktychnyh-prykladiv-komandy-linux-grep\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u0413\u043b\u0430\u0432\u043d\u0430\u044f","item":"https:\/\/linuxthebest.net\/"},{"@type":"ListItem","position":2,"name":"\u041a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438","item":"https:\/\/linuxthebest.net\/categories\/"},{"@type":"ListItem","position":3,"name":"12 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u043d\u0438\u0445 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u0456\u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u0438 Linux Grep"}]},{"@type":"WebSite","@id":"https:\/\/linuxthebest.net\/#website","url":"https:\/\/linuxthebest.net\/","name":"LinuxTheBest","description":"\u0412\u0430\u0448 \u043f\u0440\u043e\u0432\u0456\u0434\u043d\u0438\u043a \u0443 \u0434\u0438\u0432\u043e\u0432\u0438\u0436\u043d\u0438\u0439 \u0441\u0432\u0456\u0442 Linux","publisher":{"@id":"https:\/\/linuxthebest.net\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/linuxthebest.net\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"uk"},{"@type":"Organization","@id":"https:\/\/linuxthebest.net\/#organization","name":"UALinux","url":"https:\/\/linuxthebest.net\/","logo":{"@type":"ImageObject","inLanguage":"uk","@id":"https:\/\/linuxthebest.net\/#\/schema\/logo\/image\/","url":"https:\/\/linuxthebest.net\/wp-content\/uploads\/2010\/06\/UALinux.png","contentUrl":"https:\/\/linuxthebest.net\/wp-content\/uploads\/2010\/06\/UALinux.png","width":270,"height":73,"caption":"UALinux"},"image":{"@id":"https:\/\/linuxthebest.net\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/UserAndLINUX","https:\/\/x.com\/UserAndLINUX","https:\/\/www.linkedin.com\/groups\/7487863\/"]},{"@type":"Person","@id":"https:\/\/linuxthebest.net\/#\/schema\/person\/4ef8b04b8a00956d024e66df7f488c3b","name":"walle9054","image":{"@type":"ImageObject","inLanguage":"uk","@id":"https:\/\/secure.gravatar.com\/avatar\/ca1cd3a0da5794e9defce526252afa41fcd26be7662ae17e81bf6e994b1b2c1d?s=96&d=wavatar&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ca1cd3a0da5794e9defce526252afa41fcd26be7662ae17e81bf6e994b1b2c1d?s=96&d=wavatar&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ca1cd3a0da5794e9defce526252afa41fcd26be7662ae17e81bf6e994b1b2c1d?s=96&d=wavatar&r=g","caption":"walle9054"}}]}},"jetpack_featured_media_url":"https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2022\/11\/using-grep-regular-expressions-to-search-for-text-patterns-in-linux.jpg?fit=1000%2C525&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p7Dc7N-6w7","jetpack-related-posts":[{"id":32943,"url":"https:\/\/linuxthebest.net\/uk\/5-komand-dlya-upravlinnya-tipami-fajliv-i-sistemnim-chasom-u-linux\/","url_meta":{"origin":25055,"position":0},"title":"5 \u043a\u043e\u043c\u0430\u043d\u0434 \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0456\u043d\u043d\u044f \u0442\u0438\u043f\u0430\u043c\u0438 \u0444\u0430\u0439\u043b\u0456\u0432 \u0456 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u0438\u043c \u0447\u0430\u0441\u043e\u043c \u0443 Linux","author":"walle9054","date":"2024-02-05","format":false,"excerpt":"{:ru}\u0410\u0434\u0430\u043f\u0442\u0430\u0446\u0438\u044f \u043a \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0435 \u0438\u043b\u0438 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0443 \u043c\u043e\u0436\u0435\u0442 \u043e\u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f \u043d\u0435\u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0435\u0439 \u0434\u043b\u044f \u043d\u043e\u0432\u0438\u0447\u043a\u043e\u0432, \u0438\u0437\u0443\u0447\u0430\u044e\u0449\u0438\u0445 Linux. \u041f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0432\u0430\u0435\u0442 \u0431\u043e\u043b\u044c\u0448\u0438\u0439 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c \u043d\u0430\u0434 \u0441\u0438\u0441\u0442\u0435\u043c\u043e\u0439 Linux \u043f\u043e \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044e \u0441 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430\u043c\u0438 \u0441 \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438\u043c \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u043c, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u0440\u0438\u0432\u044b\u043a\u043d\u0443\u0442\u044c \u043a \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044e \u043a\u043e\u043c\u0430\u043d\u0434 \u0432 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0435. \u041f\u043e\u044d\u0442\u043e\u043c\u0443, \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u043f\u043e\u043c\u043d\u0438\u0442\u044c \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0432 Linux, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u043e\u043c. \u0422\u0430\u043a\u0430\u044f \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0430 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442\u2026","rel":"","context":"\u0423 &quot;\u041e\u0431\u0437\u043e\u0440\u044b&quot;","block_context":{"text":"\u041e\u0431\u0437\u043e\u0440\u044b","link":"https:\/\/linuxthebest.net\/uk\/review\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2024\/02\/load-image-1.jpeg?fit=1080%2C796&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2024\/02\/load-image-1.jpeg?fit=1080%2C796&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2024\/02\/load-image-1.jpeg?fit=1080%2C796&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2024\/02\/load-image-1.jpeg?fit=1080%2C796&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2024\/02\/load-image-1.jpeg?fit=1080%2C796&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":25685,"url":"https:\/\/linuxthebest.net\/uk\/kak-prosmotret-sohranennye-paroli-wi-fi-v-linux\/","url_meta":{"origin":25055,"position":1},"title":"\u042f\u043a \u043f\u0435\u0440\u0435\u0433\u043b\u044f\u043d\u0443\u0442\u0438 \u0437\u0431\u0435\u0440\u0435\u0436\u0435\u043d\u0456 \u043f\u0430\u0440\u043e\u043b\u0456 Wi-Fi \u0443 Linux","author":"ViGo","date":"2023-01-26","format":false,"excerpt":"{:ru}\u0422\u043e\u0447\u043a\u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 Wi-Fi \u0435\u0441\u0442\u044c \u0432\u0435\u0437\u0434\u0435, \u0432 \u043d\u0430\u0448\u0438\u0445 \u0434\u043e\u043c\u0430\u0445, \u043e\u0431\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0445 \u0437\u0434\u0430\u043d\u0438\u044f\u0445 \u0438 \u043a\u0430\u0444\u0435. \u042d\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442 Wi-Fi \u043e\u0434\u043d\u0438\u043c \u0438\u0437 \u0441\u0430\u043c\u044b\u0445 \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u043d\u044b\u0445 \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u0432 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043a \u0418\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0443 \u0441 \u0432\u0430\u0448\u0435\u0433\u043e \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0430. \u0417\u043d\u0430\u0435\u0442\u0435 \u043b\u0438 \u0432\u044b, \u0447\u0442\u043e \u0432 Linux \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043b\u0435\u0433\u043a\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0432\u0441\u0435 \u0441\u0435\u0442\u0438 Wi-Fi, \u043a \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u0432\u044b \u0440\u0430\u043d\u0435\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u043b\u0438\u0441\u044c? \u0412\u044b \u0434\u0430\u0436\u0435 \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u043d\u044b\u0435 \u043f\u0430\u0440\u043e\u043b\u0438\u2026","rel":"","context":"\u0423 &quot;\u041e\u0431\u0437\u043e\u0440\u044b&quot;","block_context":{"text":"\u041e\u0431\u0437\u043e\u0440\u044b","link":"https:\/\/linuxthebest.net\/uk\/review\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2023\/01\/0000001.png?fit=1140%2C570&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2023\/01\/0000001.png?fit=1140%2C570&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2023\/01\/0000001.png?fit=1140%2C570&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2023\/01\/0000001.png?fit=1140%2C570&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2023\/01\/0000001.png?fit=1140%2C570&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":29589,"url":"https:\/\/linuxthebest.net\/uk\/najkrashhi-konsolni-fajlovi-menedzheri-linux\/","url_meta":{"origin":25055,"position":2},"title":"\u041d\u0430\u0439\u043a\u0440\u0430\u0449\u0456 \u043a\u043e\u043d\u0441\u043e\u043b\u044c\u043d\u0456 \u0444\u0430\u0439\u043b\u043e\u0432\u0456 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u0438 Linux","author":"walle9054","date":"2023-09-09","format":false,"excerpt":"{:ru}\u041a\u043e\u043d\u0441\u043e\u043b\u044c\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u043e\u0432\u044b\u0435 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u044b Linux \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u043e\u0447\u0435\u043d\u044c \u043f\u043e\u043b\u0435\u0437\u043d\u044b \u0432 \u043f\u043e\u0432\u0441\u0435\u0434\u043d\u0435\u0432\u043d\u044b\u0445 \u0437\u0430\u0434\u0430\u0447\u0430\u0445, \u043f\u0440\u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0438 \u0444\u0430\u0439\u043b\u0430\u043c\u0438 \u043d\u0430 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u0435 \u0438\u043b\u0438 \u043f\u0440\u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438 \u043a \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u0439. \u0412\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u043e\u0435 \u043a\u043e\u043d\u0441\u043e\u043b\u044c\u043d\u043e\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0430 \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442 \u043d\u0430\u043c \u0431\u044b\u0441\u0442\u0440\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 \u0441 \u0444\u0430\u0439\u043b\u0430\u043c\u0438\/\u043f\u0430\u043f\u043a\u0430\u043c\u0438 \u0438 \u044d\u043a\u043e\u043d\u043e\u043c\u0438\u0442 \u0432\u0440\u0435\u043c\u044f. \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043c\u044b \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u0437 \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u0447\u0430\u0441\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0445 \u043a\u043e\u043d\u0441\u043e\u043b\u044c\u043d\u044b\u0445 \u0444\u0430\u0439\u043b\u043e\u0432\u044b\u0445 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u043e\u0432 Linux,\u2026","rel":"","context":"\u0423 &quot;\u041e\u0431\u0437\u043e\u0440\u044b&quot;","block_context":{"text":"\u041e\u0431\u0437\u043e\u0440\u044b","link":"https:\/\/linuxthebest.net\/uk\/review\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2023\/09\/19197370.webp?fit=700%2C389&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2023\/09\/19197370.webp?fit=700%2C389&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2023\/09\/19197370.webp?fit=700%2C389&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2023\/09\/19197370.webp?fit=700%2C389&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":29268,"url":"https:\/\/linuxthebest.net\/uk\/kak-otslezhivat-ispolzovanie-seti-dlya-proczessov-v-linux\/","url_meta":{"origin":25055,"position":3},"title":"\u042f\u043a \u0432\u0456\u0434\u0441\u0442\u0435\u0436\u0443\u0432\u0430\u0442\u0438 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044f \u043c\u0435\u0440\u0435\u0436\u0456 \u0434\u043b\u044f \u043f\u0440\u043e\u0446\u0435\u0441\u0456\u0432 \u0443 Linux","author":"ViGo","date":"2023-08-24","format":false,"excerpt":"{:ru}\u0414\u043e\u0441\u0442\u0443\u043f \u0432 \u0418\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c, \u043d\u043e \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0437\u0430\u0434\u0430\u0442\u044c\u0441\u044f \u0432\u043e\u043f\u0440\u043e\u0441\u043e\u043c, \u043a\u0430\u043a\u0438\u0435 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u044b Linux \u0431\u043e\u043b\u044c\u0448\u0435 \u0432\u0441\u0435\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 \u0432\u0430\u0448\u0435 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u043d\u0430 \u0432\u0430\u0448\u0435\u043c \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0435. \u041a \u0441\u0447\u0430\u0441\u0442\u044c\u044e, \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u043d\u044b\u0445 \u0443\u0442\u0438\u043b\u0438\u0442 Linux \u043c\u043e\u0436\u043d\u043e \u043b\u0435\u0433\u043a\u043e \u043e\u0442\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u0442\u044c, \u043a\u0430\u043a\u0438\u0435 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 \u0432\u0430\u0448\u0443 \u043f\u0440\u043e\u043f\u0443\u0441\u043a\u043d\u0443\u044e \u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u044c. \u0412\u043e\u0442 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u0437 \u043d\u0438\u0445: 1. nethogs nethogs \u2014 \u044d\u0442\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0434\u0435\u043b\u0430\u0435\u0442 \u0434\u043b\u044f\u2026","rel":"","context":"\u0423 &quot;\u041e\u0431\u0437\u043e\u0440\u044b&quot;","block_context":{"text":"\u041e\u0431\u0437\u043e\u0440\u044b","link":"https:\/\/linuxthebest.net\/uk\/review\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2023\/08\/03-netstat.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2023\/08\/03-netstat.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2023\/08\/03-netstat.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2023\/08\/03-netstat.jpg?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2023\/08\/03-netstat.jpg?resize=1050%2C600&ssl=1 3x"},"classes":[]},{"id":9260,"url":"https:\/\/linuxthebest.net\/uk\/kak-posmotret-spisok-ustanovlennykh\/","url_meta":{"origin":25055,"position":4},"title":"\u042f\u043a \u043f\u0435\u0440\u0435\u0433\u043b\u044f\u043d\u0443\u0442\u0438 \u0441\u043f\u0438\u0441\u043e\u043a \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0445 \u043f\u0430\u043a\u0435\u0442\u0456\u0432","author":"FOX","date":"2020-03-01","format":false,"excerpt":"{:ru} \u0418\u043d\u043e\u0433\u0434\u0430, \u0431\u044b\u0432\u0430\u044e\u0442 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438 \u043a\u043e\u0433\u0434\u0430 \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0445 \u043f\u0430\u043a\u0435\u0442\u043e\u0432, \u0438\u043b\u0438 \u043d\u0430\u0439\u0442\u0438 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u0439 \u043f\u0430\u043a\u0435\u0442 \u0447\u0442\u043e\u0431\u044b \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0447\u0442\u043e-\u0442\u043e \u0441 \u043d\u0438\u043c \u0441\u0434\u0435\u043b\u0430\u0442\u044c. \u0418\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \"apt\" \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0432\u044b\u0441\u043e\u043a\u043e\u0443\u0440\u043e\u0432\u043d\u0435\u0432\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 \u0434\u043b\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u0430\u043a\u0435\u0442\u0430\u043c\u0438. \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0434\u0432\u0430 \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0445 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430 \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0441\u043f\u0438\u0441\u043a\u0430 \u0432\u0441\u0435\u0445 \u043f\u0430\u043a\u0435\u0442\u043e\u0432, \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0445 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 Ubuntu: 1. show (apt-cache)\u2026","rel":"","context":"\u0423 &quot;\u0418\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438&quot;","block_context":{"text":"\u0418\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438","link":"https:\/\/linuxthebest.net\/uk\/terminal\/"},"img":{"alt_text":"\u0441\u043f\u0438\u0441\u043e\u043a \u043f\u0430\u043a\u0435\u0442\u043e\u0432","src":"https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2020\/03\/Screenshot_20200301_160750-1024x641.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2020\/03\/Screenshot_20200301_160750-1024x641.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2020\/03\/Screenshot_20200301_160750-1024x641.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2020\/03\/Screenshot_20200301_160750-1024x641.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":920,"url":"https:\/\/linuxthebest.net\/uk\/udalit-yadra-ubuntu\/","url_meta":{"origin":25055,"position":5},"title":"\u041a\u0430\u043a \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0435 \u044f\u0434\u0440\u0430 Ubuntu\/Linux Mint","author":"UALinux","date":"2016-08-18","format":false,"excerpt":"\u041f\u043e\u0441\u043b\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u043d\u0430\u0448\u0435\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b, \u0438\u043b\u0438 \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e\u0439 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u044f\u0434\u0440\u0430 \u0432 Ubuntu\/Linux Mint, \u0441\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0435\u043c \u0443 \u043d\u0430\u0441 \u043d\u0430\u043a\u0430\u043f\u043b\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u0441\u0442\u0430\u0440\u044b\u0435 \u044f\u0434\u0440\u0430. \u0427\u0442\u043e \u0436\u0435 \u0434\u0435\u043b\u0430\u0442\u044c? - \u0441\u043f\u0440\u043e\u0441\u0438\u0442\u0435 \u0412\u044b, \u0430 \u0432\u0441\u0435 \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442\u043e. \u0423 \u043c\u0435\u043d\u044f \u0442\u043e\u0436\u0435 \u043f\u043e\u0441\u043b\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043d\u043e\u0432\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u044f\u0434\u0440\u0430, \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0441\u0442\u0430\u0440\u043e\u0435 \u044f\u0434\u0440\u043e, \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u0434\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0432\u0435\u0440\u0441\u0438\u044e, \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b(\u0431\u0435\u0437 \u043d\u0435\u0433\u043e \u043c\u044b \u043d\u0435 \u0441\u043f\u0440\u0430\u0432\u0438\u043c\u0441\u044f),\u2026","rel":"","context":"\u0423 &quot;\u0418\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438&quot;","block_context":{"text":"\u0418\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438","link":"https:\/\/linuxthebest.net\/uk\/terminal\/"},"img":{"alt_text":"\u044f\u0434\u0440\u043e","src":"https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2016\/08\/cc135d6f4bf77e5881c7c07b4d398c07_801x413.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2016\/08\/cc135d6f4bf77e5881c7c07b4d398c07_801x413.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2016\/08\/cc135d6f4bf77e5881c7c07b4d398c07_801x413.png?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/linuxthebest.net\/wp-content\/uploads\/2016\/08\/cc135d6f4bf77e5881c7c07b4d398c07_801x413.png?resize=700%2C400 2x"},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/linuxthebest.net\/uk\/wp-json\/wp\/v2\/posts\/25055","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxthebest.net\/uk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxthebest.net\/uk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxthebest.net\/uk\/wp-json\/wp\/v2\/users\/3227"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxthebest.net\/uk\/wp-json\/wp\/v2\/comments?post=25055"}],"version-history":[{"count":2,"href":"https:\/\/linuxthebest.net\/uk\/wp-json\/wp\/v2\/posts\/25055\/revisions"}],"predecessor-version":[{"id":25064,"href":"https:\/\/linuxthebest.net\/uk\/wp-json\/wp\/v2\/posts\/25055\/revisions\/25064"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxthebest.net\/uk\/wp-json\/wp\/v2\/media\/25056"}],"wp:attachment":[{"href":"https:\/\/linuxthebest.net\/uk\/wp-json\/wp\/v2\/media?parent=25055"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxthebest.net\/uk\/wp-json\/wp\/v2\/categories?post=25055"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxthebest.net\/uk\/wp-json\/wp\/v2\/tags?post=25055"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}