{"id":261008,"date":"2015-07-09T07:00:02","date_gmt":"2015-07-09T03:00:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=261008"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=261008","title":{"rendered":"\u0418\u0441\u043a\u0443\u0441\u0441\u0442\u0432\u043e \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438"},"content":{"rendered":"<p>     \t<img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/7d6\/ec6\/090\/7d6ec6090066518746d473fc99a80ba7.png\" width=\"370\"\/><\/p>\n<p>  \u0412\u043e\u0442 \u0443\u0436\u0435 \u043a\u0430\u043a \u043d\u0435\u0434\u0435\u043b\u044e \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f <b>the art of command line<\/b> \u0432\u0438\u0441\u0438\u0442 \u0432 \u0441\u0435\u043a\u0446\u0438\u0438 trending \u043d\u0430 Github. \u0414\u043b\u044f \u0441\u0435\u0431\u044f \u044f \u043d\u0430\u0448\u0435\u043b \u044d\u0442\u043e\u0442 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b \u043d\u0435\u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u043c \u0438 \u0440\u0435\u0448\u0438\u043b \u043f\u043e\u043c\u043e\u0447\u044c \u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u0443 \u0435\u0433\u043e \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u043e\u043c \u043d\u0430 \u0440\u0443\u0441\u0441\u043a\u0438\u0439 \u044f\u0437\u044b\u043a. \u0412 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0435 \u043d\u0430\u0432\u0435\u0440\u043d\u044f\u043a\u0430 \u0435\u0441\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043d\u0435\u0434\u043e\u0440\u0430\u0431\u043e\u0442\u043e\u043a, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043c\u0438\u043b\u043e\u0441\u0442\u0438 \u043f\u0440\u043e\u0448\u0443 \u0441\u043b\u0430\u0442\u044c \u043f\u0443\u043b\u043b-\u0440\u0435\u043a\u0432\u0435\u0441\u0442\u044b \u043c\u043d\u0435 <a href=\"https:\/\/github.com\/olegberman\/the-art-of-command-line\">\u0441\u044e\u0434\u0430<\/a> \u0438\u043b\u0438 \u0430\u0432\u0442\u043e\u0440\u0443 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b <a href=\"https:\/\/github.com\/jlevy\">Joshua Levy<\/a> <a href=\"https:\/\/github.com\/jlevy\/the-art-of-command-line\">\u0432\u043e\u0442 \u0441\u044e\u0434\u0430<\/a>. (\u0415\u0441\u043b\u0438 PR \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u0435 \u043c\u043d\u0435, \u0442\u043e \u044f \u043f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u043f\u0435\u0440\u0435\u0441\u043c\u043e\u0442\u0440\u044e \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044e \u0438\u0445 \u0432 \u043c\u0430\u0441\u0442\u0435\u0440-\u0431\u0440\u0430\u043d\u0447 \u0414\u0436\u043e\u0448\u0430). \u041e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0435 \u0441\u043f\u0430\u0441\u0438\u0431\u043e  <a href=\"http:\/\/habrahabr.ru\/users\/jtraub\/\" class=\"user_link\">jtraub<\/a> \u0437\u0430 \u043f\u043e\u043c\u043e\u0449\u044c \u0438 \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043e\u043f\u0435\u0447\u0430\u0442\u043e\u043a.<\/p>\n<p>  <a name=\"habracut\"><\/a><\/p>\n<p>  (<i><a href=\"https:\/\/github.com\/jlevy\/the-art-of-command-line\/blob\/master\/README-ru.md\">\u0442\u0441\u0441, \u0432 \u043c\u0430\u0440\u043a\u0434\u0430\u0443\u043d\u0435 \u0447\u0438\u0442\u0430\u0431\u0435\u043b\u044c\u043d\u0435\u0435<\/a><\/i>)  <\/p>\n<ul>\n<li><a href=\"#\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435\">\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/a><\/li>\n<li><a href=\"#\u041e\u0441\u043d\u043e\u0432\u044b\">\u041e\u0441\u043d\u043e\u0432\u044b<\/a><\/li>\n<li><a href=\"#\u0415\u0436\u0435\u0434\u043d\u0435\u0432\u043d\u043e\u0435-\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\">\u0415\u0436\u0435\u0434\u043d\u0435\u0432\u043d\u043e\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435<\/a><\/li>\n<li><a href=\"#\u041f\u0440\u043e\u0446\u0435\u0441\u0441\u0438\u043d\u0433-\u0444\u0430\u0439\u043b\u043e\u0432-\u0438-\u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438\">\u041f\u0440\u043e\u0446\u0435\u0441\u0441\u0438\u043d\u0433 \u0444\u0430\u0439\u043b\u043e\u0432 \u0438 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438<\/a><\/li>\n<li><a href=\"#\u0421\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0439-\u0434\u0435\u0431\u0430\u0433\u0433\u0438\u043d\u0433\">\u0421\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0439 \u0434\u0435\u0431\u0430\u0433\u0433\u0438\u043d\u0433<\/a><\/li>\n<li><a href=\"#\u0412-\u043e\u0434\u043d\u0443-\u0441\u0442\u0440\u043e\u0447\u043a\u0443\">\u0412 \u043e\u0434\u043d\u0443 \u0441\u0442\u0440\u043e\u0447\u043a\u0443<\/a><\/li>\n<li><a href=\"#\u0421\u043b\u043e\u0436\u043d\u043e-\u043d\u043e-\u043f\u043e\u043b\u0435\u0437\u043d\u043e\">\u0421\u043b\u043e\u0436\u043d\u043e, \u043d\u043e \u043f\u043e\u043b\u0435\u0437\u043d\u043e<\/a><\/li>\n<li><a href=\"#Macos-only\">MacOS only<\/a><\/li>\n<li><a href=\"#\u0411\u043e\u043b\u044c\u0448\u0435-\u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438-\u043f\u043e-\u0442\u0435\u043c\u0435\">\u0411\u043e\u043b\u044c\u0448\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043f\u043e \u0442\u0435\u043c\u0435<\/a><\/li>\n<li><a href=\"#\u0414\u0438\u0441\u043a\u043b\u0435\u0439\u043c\u0435\u0440\">\u0414\u0438\u0441\u043a\u043b\u0435\u0439\u043c\u0435\u0440<\/a><\/li>\n<\/ul>\n<p>  <anchor>\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/anchor>  <\/p>\n<h2>\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/h2>\n<p>  \u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0435:  <\/p>\n<ul>\n<li>\u0414\u0430\u043d\u043d\u0430\u044f \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u044f \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0430 \u043a\u0430\u043a \u0434\u043b\u044f \u043d\u043e\u0432\u0438\u0447\u043a\u043e\u0432, \u0442\u0430\u043a \u0438 \u0434\u043b\u044f \u043e\u043f\u044b\u0442\u043d\u044b\u0445 \u043b\u044e\u0434\u0435\u0439. \u0426\u0435\u043b\u0438: <em>\u043e\u0431\u044a\u0435\u043c\u043d\u043e\u0441\u0442\u044c<\/em> (\u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0432\u0441\u0435 \u0432\u0430\u0436\u043d\u044b\u0435 \u0430\u0441\u043f\u0435\u043a\u0442\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438), <em>\u043f\u0440\u0430\u043a\u0442\u0438\u0447\u043d\u043e\u0441\u0442\u044c<\/em> (\u0434\u0430\u0432\u0430\u0442\u044c \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u0434\u043b\u044f \u0441\u0430\u043c\u044b\u0445 \u0447\u0430\u0441\u0442\u044b\u0445 \u044e\u0437\u043a\u0435\u0439\u0441\u043e\u0432) \u0438 <em>\u043a\u0440\u0430\u0442\u043a\u043e\u0441\u0442\u044c<\/em> (\u043d\u0435 \u0441\u0442\u043e\u0438\u0442 \u0443\u0433\u043b\u0443\u0431\u043b\u044f\u0442\u044c\u0441\u044f \u0432 \u043d\u0435\u043e\u0447\u0435\u0432\u0438\u0434\u043d\u044b\u0435 \u0432\u0435\u0449\u0438, \u043e \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u0432 \u0434\u0440\u0443\u0433\u043e\u043c \u043c\u0435\u0441\u0442\u0435).<\/li>\n<li>\u042d\u0442\u043e\u0442 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442 \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u0434\u043b\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 Linux, \u0441 \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u043c \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u043c \u2013 \u0441\u0435\u043a\u0446\u0438\u0435\u0439 \u201c<a href=\"#macos-only\">MacOS only<\/a>\u201c. \u0412\u0441\u0435 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u0438 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e \u043f\u043e\u0434 \u0432\u0441\u0435 UNIX\/MacOS \u0441\u0438\u0441\u0442\u0435\u043c\u044b (\u0438 \u0434\u0430\u0436\u0435 Cygwin).<\/li>\n<li>\u0424\u043e\u043a\u0443\u0441\u0438\u0440\u0443\u0435\u043c\u0441\u044f \u043d\u0430 \u0438\u043d\u0442\u0435\u0440\u0430\u043a\u0442\u0438\u0432\u043d\u043e\u043c \u0411\u0430\u0448\u0435, \u043d\u043e \u043c\u043d\u043e\u0433\u0438\u0435 \u0432\u0435\u0449\u0438 \u0442\u0430\u043a \u0436\u0435 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u044b \u0441 \u0434\u0440\u0443\u0433\u0438\u043c\u0438 \u0448\u0435\u043b\u043b\u0430\u043c\u0438; \u0438 \u0432 \u043e\u0431\u0449\u0435\u043c \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u043c\u044b \u043a \u0411\u0430\u0448-\u0441\u043a\u0440\u0438\u043f\u0442\u0438\u043d\u0433\u0443<\/li>\n<li>\u042d\u0442\u0430 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u0432 \u0441\u0435\u0431\u044f \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0435 Unix \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0438 \u0442\u0435, \u0434\u043b\u044f \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043d\u0443\u0436\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0435 \u043f\u0430\u043a\u0435\u0442\u044b \u2013 \u043e\u043d\u0438 \u043d\u0430\u0441\u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u043b\u0435\u0437\u043d\u044b, \u0447\u0442\u043e \u0441\u0442\u043e\u044f\u0442 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0438\u0445 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0438<\/li>\n<\/ul>\n<p>  \u0417\u0430\u043c\u0435\u0442\u043a\u0438:  <\/p>\n<ul>\n<li>\u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u043e \u043e\u0441\u0442\u0430\u0432\u0430\u043b\u043e\u0441\u044c \u043e\u0434\u043d\u043e\u0441\u0442\u0440\u0430\u043d\u0438\u0447\u043d\u044b\u043c, \u0432\u0441\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u0432\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0430 \u043f\u0440\u044f\u043c\u043e \u0441\u044e\u0434\u0430. \u0412\u044b \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0443\u043c\u043d\u044b\u0435 \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e \u0438\u0437\u0443\u0447\u0438\u0442\u044c \u0432\u043e\u043f\u0440\u043e\u0441 \u0431\u043e\u043b\u0435\u0435 \u0434\u0435\u0442\u0430\u043b\u044c\u043d\u043e \u0432 \u0434\u0440\u0443\u0433\u043e\u043c \u043c\u0435\u0441\u0442\u0435. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 <i>apt-get<\/i>\/<i>yum<\/i>\/<i>dnf<\/i>\/<i>pacman<\/i>\/<i>pip<\/i>\/<i>brew<\/i> (\u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0432\u0430\u0448\u0435\u0439 \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) \u0434\u043b\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043d\u043e\u0432\u044b\u0445 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c.<\/li>\n<li>\u041d\u0430 <a href=\"http:\/\/explainshell.com\/\">Explainshell<\/a> \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u043f\u0440\u043e\u0441\u0442\u043e\u0435 \u0438 \u0434\u0435\u0442\u0430\u043b\u044c\u043d\u043e\u0435 \u043e\u0431\u044a\u044f\u0441\u0435\u043d\u0438\u0435 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0442\u0430\u043a\u043e\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b, \u0444\u043b\u0430\u0433\u0438, \u043f\u0430\u0439\u043f\u044b \u0438 \u0442.\u0434.<\/li>\n<\/ul>\n<p>  <anchor>\u041e\u0441\u043d\u043e\u0432\u044b<\/anchor>  <\/p>\n<h2>\u041e\u0441\u043d\u043e\u0432\u044b<\/h2>\n<p>  <\/p>\n<ul>\n<li>\u0412\u044b\u0443\u0447\u0438\u0442\u0435 \u043e\u0441\u043d\u043e\u0432\u044b \u0411\u0430\u0448\u0430. \u041f\u0440\u043e\u0441\u0442\u043e \u0432\u043e\u0437\u044c\u043c\u0438\u0442\u0435 \u0438 \u043d\u0430\u043f\u0435\u0447\u0430\u0442\u0430\u0439\u0442\u0435 <i>man bash<\/i> \u0432 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0435 \u0438 \u0445\u043e\u0442\u044f \u0431\u044b \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 \u0435\u0433\u043e; \u043e\u043d \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f \u0438 \u043e\u043d \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u0431\u043e\u043b\u044c\u0448\u043e\u0439. \u0414\u0440\u0443\u0433\u0438\u0435 \u0448\u0435\u043b\u043b\u044b \u0442\u043e\u0436\u0435 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0445\u043e\u0440\u043e\u0448\u0438, \u043d\u043e \u0411\u0430\u0448 \u2013 \u043c\u043e\u0449\u043d\u0430\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0438 \u0411\u0430\u0448 \u0432\u0441\u0435\u0433\u0434\u0430 \u043f\u043e\u0434 \u0440\u0443\u043a\u043e\u0439 (\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 <em>\u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e<\/em> zsh, fish \u0438 \u0442.\u0434., \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0430\u0432\u0435\u0440\u043d\u044f\u043a\u0430 \u043a\u0440\u0443\u0442\u043e \u0432\u044b\u0433\u043b\u044f\u0434\u044f\u0442 \u043d\u0430 \u0412\u0430\u0448\u0435\u043c \u043d\u043e\u0443\u0442\u0435 \u0432\u043e \u043c\u043d\u043e\u0433\u043e\u043c \u0412\u0430\u0441 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0432\u0430\u0435\u0442, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0412\u044b \u043d\u0435 \u0441\u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u044d\u0442\u0438\u0445 \u0448\u0435\u043b\u043b\u043e\u0432 \u043d\u0430 \u0443\u0436\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0435).<\/li>\n<li>\u0412\u044b\u0443\u0447\u0438\u0442\u0435 \u0445\u043e\u0442\u044f \u0431\u044b \u043e\u0434\u0438\u043d \u043a\u043e\u043d\u0441\u043e\u043b\u044c\u043d\u044b\u0439 \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440 \u0442\u0435\u043a\u0441\u0442\u0430. \u0418\u0434\u0435\u0430\u043b\u044c\u043d\u043e Vim (<i>vi<\/i>), \u0432\u0435\u0434\u044c \u0443 \u043d\u0435\u0433\u043e \u043d\u0435\u0442 \u043a\u043e\u043d\u043a\u0443\u0440\u0435\u043d\u0442\u043e\u0432, \u043a\u043e\u0433\u0434\u0430 \u0432\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0431\u044b\u0441\u0442\u0440\u0435\u043d\u044c\u043a\u043e \u0447\u0442\u043e-\u0442\u043e \u043f\u043e\u0434\u043f\u0440\u0430\u0432\u0438\u0442\u044c (\u0434\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u0412\u044b \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e \u0441\u0438\u0434\u0438\u0442\u0435 \u043d\u0430 Emacs\/\u043a\u0430\u043a\u043e\u0439-\u043d\u0438\u0431\u0443\u0434\u044c \u0442\u044f\u0436\u0435\u043b\u043e\u0439 IDE \u0438\u043b\u0438 \u043d\u0430 \u043a\u0430\u043a\u043e\u043c-\u043d\u0438\u0431\u0443\u0434\u044c \u043c\u043e\u0434\u043d\u043e\u043c \u0445\u0438\u043f\u0441\u0442\u0435\u0440\u0441\u043a\u043e\u043c \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u0435)<\/li>\n<li>\u0417\u043d\u0430\u0439\u0442\u0435 \u043a\u0430\u043a \u0447\u0438\u0442\u0430\u0442\u044c \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e \u0447\u0435\u0440\u0435\u0437 <i>man<\/i> (\u0434\u043b\u044f \u043b\u044e\u0431\u043e\u0437\u043d\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u2013 <i>man man<\/i>; <i>man<\/i> \u043f\u043e \u0443\u0433\u043b\u0430\u043c \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430 \u0432 \u0441\u043a\u043e\u0431\u043a\u0430\u0445 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u043d\u043e\u043c\u0435\u0440, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 1 \u2013 \u0434\u043b\u044f \u043e\u0431\u044b\u0447\u043d\u044b\u0445 \u043a\u043e\u043c\u0430\u043d\u0434, 5 \u2013 \u0434\u043b\u044f \u0444\u0430\u0439\u043b\u043e\u0432, \u043a\u043e\u043d\u0432\u0435\u043d\u0446\u0438\u0439, 8 \u2013 \u0434\u043b\u044f \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u0438\u0432\u043d\u044b\u0445 \u043a\u043e\u043c\u0430\u043d\u0434). \u0418\u0449\u0438\u0442\u0435 \u043c\u0430\u043d\u0443\u0430\u043b\u044b \u0447\u0435\u0440\u0435\u0437 <i>apropos<\/i>, \u0438 \u043f\u043e\u043c\u043d\u0438\u0442\u0435, \u0447\u0442\u043e \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u2013 \u043d\u0435 \u0431\u0438\u043d\u0430\u0440\u043d\u0438\u043a\u0438, \u0430 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0411\u0430\u0448\u0430, \u0438 \u043f\u043e\u043c\u043e\u0449\u044c \u043f\u043e \u043d\u0438\u043c \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0447\u0435\u0440\u0435\u0437 <i>help<\/i> \u0438 <i>help -d<\/i>.<\/li>\n<li>\u0423\u0437\u043d\u0430\u0439\u0442\u0435 \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u043f\u0435\u0440\u0435\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0432\u0432\u043e\u0434 \u0438 \u0432\u044b\u0432\u043e\u0434 \u0447\u0435\u0440\u0435\u0437 <i>&gt;<\/i> \u0438 <i>&lt;<\/i> \u0438 \u043f\u0430\u0439\u043f\u044b <i>|<\/i>. \u041f\u043e\u043c\u043d\u0438\u0442\u0435, \u0447\u0442\u043e <i>&gt;<\/i> \u2013 \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442 \u0432\u044b\u0445\u043e\u0434\u043d\u043e\u0439 \u0444\u0430\u0439\u043b, \u0430 <i>&gt;&gt;<\/i> \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u043a \u043d\u0435\u043c\u0443. \u0423\u0437\u043d\u0430\u0439\u0442\u0435 \u043f\u043e\u0431\u043e\u043b\u044c\u0448\u0435 \u043f\u0440\u043e stdout and stderr.<\/li>\n<li>\u0423\u0437\u043d\u0430\u0439\u0442\u0435 \u043f\u043e\u0431\u043e\u043b\u044c\u0448\u0435 \u043f\u0440\u043e file glob expansion with <i>*<\/i> (and perhaps <i>?<\/i> and <i>{<\/i>\u2026<i>}<\/i>), \u043a\u0430\u0432\u044b\u0447\u043a\u0438 \u0430 \u0442\u0430\u043a \u0436\u0435 \u0440\u0430\u0437\u043d\u0438\u0446\u0443 \u043c\u0435\u0436\u0434\u0443 \u0434\u0432\u043e\u0439\u043d\u044b\u043c\u0438 <i>&quot;<\/i> \u0438 \u043e\u0434\u0438\u043d\u0430\u0440\u043d\u044b\u043c\u0438 <i>&#8216;<\/i> \u043a\u0430\u0432\u044b\u0447\u043a\u0430\u043c\u0438. (\u0411\u043e\u043b\u044c\u0448\u0435 \u043e \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0438 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0447\u0438\u0442\u0430\u0439\u0442\u0435 \u043d\u0438\u0436\u0435)<\/li>\n<li>\u0411\u0443\u0434\u044c\u0442\u0435 \u0437\u043d\u0430\u043a\u043e\u043c\u044b \u0441 \u0440\u0430\u0431\u043e\u0442\u043e\u0439 \u0441 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430\u043c\u0438 \u0432 Bash: <i>&amp;<\/i>, <strong>ctrl-z<\/strong>, <strong>ctrl-c<\/strong>, <i>jobs<\/i>, <i>fg<\/i>, <i>bg<\/i>, <i>kill<\/i>, \u0438 \u0442.\u0434.<\/li>\n<li>\u0417\u043d\u0430\u0439\u0442\u0435 <i>ssh<\/i>, \u0438 \u043e\u0441\u043d\u043e\u0432\u044b \u0431\u0435\u0437\u043f\u0430\u0440\u043e\u043b\u044c\u043d\u043e\u0439 \u0430\u0443\u043d\u0442\u0435\u0444\u0438\u043a\u0430\u0446\u0438\u0438 \u0447\u0435\u0440\u0435\u0437 <i>ssh-agent<\/i>, <i>ssh-add<\/i>, \u0438 \u0442.\u0434.<\/li>\n<li>\u041e\u0441\u043d\u043e\u0432\u044b \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0444\u0430\u0439\u043b\u0430\u043c\u0438: <i>ls<\/i> \u0438 <i>ls -l<\/i> (\u0432 \u0447\u0430\u0441\u0442\u043d\u043e\u0441\u0442\u0438 \u0443\u0437\u043d\u0430\u0439\u0442\u0435, \u0447\u0442\u043e \u0437\u043d\u0430\u0447\u0438\u0442 \u043a\u0430\u0436\u0434\u044b\u0439 \u0441\u0442\u043e\u043b\u0431\u0435\u0446 \u0432 <i>ls -l<\/i>), <i>less<\/i>, <i>head<\/i>, <i>tail<\/i> \u0438 <i>tail -f<\/i> (\u0438\u043b\u0438 \u0434\u0430\u0436\u0435 \u043b\u0443\u0447\u0448\u0435, <i>less +F<\/i>), <i>ln<\/i> \u0438 <i>ln -s<\/i> (\u0443\u0437\u043d\u0430\u0439\u0442\u0435 \u0440\u0430\u0437\u043d\u0438\u0446\u0443 \u043c\u0435\u0436\u0434\u0443 \u0441\u0438\u043c\u0432\u043e\u043b\u044c\u043d\u044b\u043c\u0438 \u0441\u0441\u044b\u043b\u043a\u0430\u043c\u0438 \u0438 \u0436\u0435\u0441\u0442\u043a\u0438\u043c\u0438 \u0441\u0441\u044b\u043b\u043a\u0430\u043c\u0438 \u0438 \u043f\u043e\u0447\u0435\u043c\u0443 \u0436\u0435\u0441\u0442\u043a\u0438\u0435 \u0441\u0441\u044b\u043b\u043a\u0438 \u043b\u0443\u0447\u0448\u0435), <i>chown<\/i>, <i>chmod<\/i>, <i>du<\/i> (\u0434\u043b\u044f \u0431\u044b\u0441\u0442\u0440\u043e\u0439 \u0441\u0432\u043e\u0434\u043a\u0438 \u043f\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044e \u0434\u0438\u0441\u043a\u0430: <i>du -hk *<\/i>). \u0414\u043b\u044f \u043c\u0435\u043d\u0435\u0434\u0436\u043c\u0435\u043d\u0442\u0430 \u0444\u0430\u0439\u043b\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b, <i>df<\/i>, <i>mount<\/i>, <i>fdisk<\/i>, <i>mkfs<\/i>, <i>lsblk<\/i>.<\/li>\n<li>\u041e\u0441\u043d\u043e\u0432\u044b \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0441\u0435\u0442\u044c\u044e: <i>ip<\/i> \u0438\u043b\u0438 <i>ifconfig<\/i>, <i>dig<\/i>.<\/li>\n<li>\u0425\u043e\u0440\u043e\u0448\u043e \u0437\u043d\u0430\u0439\u0442\u0435 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u044b\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0438 \u0440\u0430\u0437\u043d\u044b\u0435 \u0444\u043b\u0430\u0433\u0438 \u043a <i>grep<\/i>\/<i>egrep<\/i>. \u0422\u0430\u043a\u0438\u0435 \u0444\u043b\u0430\u0433\u0438 \u043a\u0430\u043a <i>-i<\/i>, <i>-o<\/i>, <i>-A<\/i>, \u0438 <i>-B<\/i> \u0441\u0442\u043e\u0438\u0442 \u0437\u043d\u0430\u0442\u044c.<\/li>\n<li>\u041e\u0431\u0443\u0447\u0438\u0442\u0435\u0441\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044e \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u043c\u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u0430\u043a\u0435\u0442\u0430\u043c\u0438 <i>apt-get<\/i>, <i>yum<\/i>, <i>dnf<\/i> \u0438\u043b\u0438 <i>pacman<\/i> (\u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0430). \u0417\u043d\u0430\u0439\u0442\u0435 \u043a\u0430\u043a \u0438\u0441\u043a\u0430\u0442\u044c \u0438 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c \u043f\u0430\u043a\u0435\u0442\u044b \u0438 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0438\u043c\u0435\u0439\u0442\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u044b\u043c <i>pip<\/i> \u0434\u043b\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u044b\u0445 \u0443\u0442\u0438\u043b\u0438\u0442, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u044b\u0445 \u043d\u0430 Python (\u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u0437 \u0442\u0435\u0445, \u0447\u0442\u043e \u0432\u044b \u043d\u0430\u0439\u0434\u0435\u0442\u0435 \u043d\u0438\u0436\u0435 \u043b\u0435\u0433\u0447\u0435 \u0432\u0441\u0435\u0433\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0447\u0435\u0440\u0435\u0437 <i>pip<\/i>)<\/li>\n<\/ul>\n<p>  <anchor>\u0415\u0436\u0435\u0434\u043d\u0435\u0432\u043d\u043e\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435<\/anchor>  <\/p>\n<h2>\u0415\u0436\u0435\u0434\u043d\u0435\u0432\u043d\u043e\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435<\/h2>\n<p>  <\/p>\n<ul>\n<li>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u0442\u0430\u0431 \u0432 \u0411\u0430\u0448\u0435 \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u043a\u043e\u043c\u043f\u043b\u0438\u0442\u0430 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u043a \u043a\u043e\u043c\u0430\u043d\u0434\u0430\u043c \u0438 <strong>ctrl-r<\/strong> \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430 \u043f\u043e \u0438\u0441\u0442\u043e\u0440\u0438\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438<\/li>\n<li>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 <strong>ctrl-w<\/strong> \u0432 \u0411\u0430\u0448\u0435 \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0435 \u0441\u043b\u043e\u0432\u043e \u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u0435; <strong>ctrl-u<\/strong> \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0431\u044b \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 <strong>alt-b<\/strong> \u0438 <strong>alt-f<\/strong> \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0431\u0435\u0433\u0430\u0442\u044c \u043c\u0435\u0436\u0434\u0443 \u0441\u043b\u043e\u0432\u0430\u043c\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u044b, <strong>ctrl-k<\/strong> \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u044b\u0433\u043d\u0443\u0442\u044c \u043a \u043a\u043e\u043d\u0446\u0443 \u0441\u0442\u0440\u043e\u043a\u0438, <strong>ctrl-l<\/strong> \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043e\u0447\u0438\u0441\u0442\u0438\u0442\u044c \u044d\u043a\u0440\u0430\u043d. \u0413\u043b\u044f\u043d\u044c\u0442\u0435 \u043d\u0430 <i>man readline<\/i> \u0447\u0442\u043e\u0431\u044b \u0443\u0437\u043d\u0430\u0442\u044c \u043e \u0432\u0441\u0435\u0445 \u0448\u043e\u0440\u0442\u043a\u0430\u0442\u0430\u0445 \u0411\u0430\u0448\u0430. \u0418\u0445 \u043c\u043d\u043e\u0433\u043e! \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, <strong>alt-.<\/strong> \u0431\u0435\u0436\u0438\u0442 \u043f\u043e \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u043c \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0430\u043c \u043a\u043e\u043c\u0430\u043d\u0434\u044b, \u0430 <strong>alt-*<\/strong> \u0440\u0430\u0441\u0448\u0438\u0440\u044f\u0435\u0442 \u0433\u043b\u043e\u0431.??<\/li>\n<li>\u0415\u0441\u043b\u0438 \u0412\u0430\u043c \u043d\u0440\u0430\u0432\u044f\u0442\u0441\u044f \u0448\u043e\u0440\u0442\u043a\u0430\u0442\u044b \u0412\u0438\u043c\u0430 \u0441\u0434\u0435\u043b\u0430\u0439\u0442\u0435 <i>set -o vi<\/i>.<\/li>\n<li>\u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0438\u0441\u0442\u043e\u0440\u0438\u044e \u0432\u0432\u0435\u0434\u0438\u0442\u0435 <i>history<\/i>. \u0422\u0430\u043a \u0436\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u0430\u0431\u0431\u0440\u0438\u0432\u0438\u0430\u0442\u0443\u0440, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 <i>!$<\/i> \u2013 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442, <i>!!<\/i> \u2013 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044f\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u0430, \u0445\u043e\u0442\u044f \u044d\u0442\u0438 \u0430\u0431\u0431\u0440\u0435\u0432\u0438\u0430\u0442\u0443\u0440\u044b \u0447\u0430\u0441\u0442\u043e \u0437\u0430\u043c\u0435\u043d\u044f\u044e\u0442\u0441\u044f \u0448\u043e\u0440\u0442\u043a\u0430\u0442\u0430\u043c\u0438 <strong>ctrl-r<\/strong> \u0438 <strong>alt-.<\/strong>.<\/li>\n<li>\u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u044b\u0433\u043d\u0443\u0442\u044c \u043a \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0439 \u0440\u0430\u0431\u043e\u0447\u0435\u0439 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \u2013 <i>cd &#8212;<\/i><\/li>\n<li>\u0415\u0441\u043b\u0438 \u0412\u044b \u043d\u0430\u043f\u0438\u0441\u0430\u043b\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u043d\u0430\u043f\u043e\u043b\u043e\u0432\u0438\u043d\u0443 \u0438 \u0432\u0434\u0440\u0443\u0433 \u043f\u0435\u0440\u0435\u0434\u0443\u043c\u0430\u043b\u0438 \u043d\u0430\u0436\u043c\u0438\u0442\u0435 <strong>alt-#<\/strong> \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c <i>#<\/i> \u043a \u043d\u0430\u0447\u0430\u043b\u0443 \u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u044c\u0442\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u043a\u0430\u043a \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439. \u041f\u043e\u0442\u043e\u043c \u0432\u044b \u0441\u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u0435\u0440\u043d\u0443\u0442\u044c\u0441\u044f \u043a \u043d\u0435\u0439 \u0447\u0435\u0440\u0435\u0437 \u0438\u0441\u0442\u043e\u0440\u0438\u044e.<\/li>\n<li>\u041d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0439\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <i>xargs<\/i> (\u0438\u043b\u0438 <i>parallel<\/i>). \u042d\u0442\u043e \u043e\u0447\u0435\u043d\u044c \u043c\u043e\u0449\u043d\u0430\u044f \u0448\u0442\u0443\u043a\u0430. \u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0447\u0442\u043e \u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u043e\u043c\u0430\u043d\u0434 \u043d\u0430 \u043a\u0430\u0436\u0434\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443, \u0430 \u0442\u0430\u043a \u0436\u0435 \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c. \u0415\u0441\u043b\u0438 \u0412\u044b \u043d\u0435 \u0443\u0432\u0435\u0440\u0435\u043d\u044b, \u0447\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442\u0435 \u0447\u0442\u043e-\u0442\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e, \u043d\u0430\u0447\u043d\u0438\u0442\u0435 \u0441 <i>xargs echo<\/i>. \u0415\u0449\u0435 <i>-I{}<\/i> \u2013 \u043f\u043e\u043b\u0435\u0437\u043d\u0430\u044f \u0448\u0442\u0443\u043a\u0430. \u041f\u0440\u0438\u043c\u0435\u0440\u044b:<\/li>\n<\/ul>\n<p>  <\/p>\n<pre><code class=\"bash\">      find . -name &lt;span class=&quot;hljs-string&quot;&gt;'*.py'&lt;\/span&gt; | xargs grep some_function       cat hosts | xargs -I{} ssh root@{} hostname <\/code><\/pre>\n<p>  <\/p>\n<ul>\n<li><i>pstree -p<\/i> \u2013 \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0439 \u0442\u0438\u043f \u0432\u044b\u0432\u043e\u0434\u0430 \u0434\u0435\u0440\u0435\u0432\u0430 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0432.<\/li>\n<li>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 <i>pgrep<\/i> \u0438\u043b\u0438 <i>pkill<\/i> \u0434\u043b\u044f \u0442\u043e\u0433\u043e \u0447\u0442\u043e\u0431\u044b \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u044c\/\u0441\u043b\u0430\u0442\u044c \u0441\u0438\u0433\u043d\u0430\u043b\u044b \u043a \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430\u043c \u043f\u043e \u0438\u043c\u0435\u043d\u0438 (<i>-f<\/i> \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442).<\/li>\n<li>\u0417\u043d\u0430\u0439\u0442\u0435 \u0440\u0430\u0437\u043d\u044b\u0435 \u0441\u0438\u0433\u043d\u0430\u043b\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0436\u043d\u043e \u0441\u043b\u0430\u0442\u044c \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430\u043c. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u0438\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 <i>kill -STOP [pid]<\/i>. \u0414\u043b\u044f \u043f\u043e\u043b\u043d\u043e\u0433\u043e \u0441\u043f\u0438\u0441\u043a\u0430 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 <i>man 7 signal<\/i>.<\/li>\n<li>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 <i>nohup<\/i> \u0438\u043b\u0438 <i>disown<\/i> \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0432 \u0444\u043e\u043d\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u043b\u0441\u044f \u0431\u0435\u0441\u043a\u043e\u043d\u0435\u0447\u043d\u043e.<\/li>\n<li>\u0423\u0437\u043d\u0430\u0439\u0442\u0435 \u043a\u0430\u043a\u0438\u0435 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u044b \u0441\u043b\u0443\u0448\u0430\u044e\u0442 \u043f\u043e\u0440\u0442\u044b \u0447\u0435\u0440\u0435\u0437 <i>netstat -lntp<\/i> \u0438\u043b\u0438 <i>ss -plat<\/i> (\u0434\u043b\u044f TCP; \u0434\u043e\u0431\u0430\u0432\u044c\u0442\u0435 <i>-u<\/i> \u0434\u043b\u044f UDP).<\/li>\n<li>\u0422\u0430\u043a \u0436\u0435 <i>lsof<\/i> \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u0435 \u0441\u043e\u043a\u0435\u0442\u044b \u0438 \u0444\u0430\u0439\u043b\u044b.<\/li>\n<li>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 <i>alias<\/i> \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0430\u043b\u0438\u0430\u0441\u0438\u0442\u044c \u0447\u0430\u0441\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, <i>alias ll=&#8217;ls -latr&#8217;<\/i> \u0441\u043e\u0437\u0434\u0430\u0441\u0442 \u043d\u043e\u0432\u044b\u0439 \u0430\u043b\u0438\u0430\u0441 <i>ll<\/i>.<\/li>\n<li>\u0412 \u0411\u0430\u0448 \u0441\u043a\u0440\u0438\u0442\u0430\u0445 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 <i>set -x<\/i> \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0434\u0435\u0431\u0430\u0436\u0438\u0442\u044c \u0430\u0443\u0442\u043f\u0443\u0442. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u0441\u0442\u0440\u043e\u0433\u0438\u0435 \u0440\u0435\u0436\u0438\u043c\u044b \u0432\u0435\u0437\u0434\u0435, \u0433\u0434\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 <i>set -e<\/i> \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u0435\u043a\u0440\u0430\u0449\u0430\u0442\u044c \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u043f\u0440\u0438 \u043e\u0448\u0438\u0431\u043a\u0430\u0445. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 <i>set -o pipefail<\/i> \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0441\u0442\u0440\u043e\u0433\u043e \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0441\u044f \u043a \u043e\u0448\u0438\u0431\u043a\u0430\u043c (\u044d\u0442\u043e \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0433\u043b\u0443\u0431\u043e\u043a\u0430\u044f \u0442\u0435\u043c\u0430). \u0414\u043b\u044f \u0431\u043e\u043b\u0435\u0435 \u0441\u043b\u043e\u0436\u043d\u044b\u0445 \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432 \u0442\u0430\u043a \u0436\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 <i>trap<\/i>.<\/li>\n<li>\u0412 \u0411\u0430\u0448 \u0441\u043a\u0440\u0438\u043f\u0442\u0430\u0445, \u043f\u043e\u0434\u043e\u0431\u043e\u043b\u043e\u0447\u043a\u0438 (subshells) \u2013 \u0443\u0434\u043e\u0431\u043d\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u0433\u0440\u0443\u043f\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u044b. \u041e\u0434\u0438\u043d \u0438\u0437 \u0441\u0430\u043c\u044b\u0445 \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u043d\u044b\u0445 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432 \u2013 \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u043f\u0435\u0440\u0435\u0434\u0432\u0438\u043d\u0443\u0442\u044c\u0441\u044f \u0432 \u0434\u0440\u0443\u0433\u0443\u044e \u0440\u0430\u0431\u043e\u0447\u0443\u044e \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e, \u0432\u043e\u0442 \u0442\u0430\u043a:<\/li>\n<\/ul>\n<p>  <\/p>\n<pre><code class=\"bash\">  # do something in current dir   (cd \/some\/other\/dir && other-command)   # continue in original dir <\/code><\/pre>\n<p>  <\/p>\n<ul>\n<li>\u0412 \u0411\u0430\u0448\u0435 \u043c\u043d\u043e\u0433\u043e \u0442\u0438\u043f\u043e\u0432 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0430 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445. \u041f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c, \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u043b\u0438 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f \u2013 <i>${name:?error message}<\/i>. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0435\u0441\u043b\u0438 \u0411\u0430\u0448-\u0441\u043a\u0440\u0438\u043f\u0442\u0443 \u043d\u0443\u0436\u0435\u043d \u0432\u0441\u0435\u0433\u043e \u043e\u0434\u0438\u043d \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442 \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0430\u043f\u0438\u0448\u0438\u0442\u0435 <i>input_file=${1:?usage: $0 input_file}<\/i>. \u0410\u0440\u0438\u0444\u043c\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c \u0432\u0438\u0434\u0438\u043c\u043e\u0441\u0442\u0438: <i>i=$(( (i + 1) % 5 ))<\/i>. \u041f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438: <i>{1..10}<\/i>. \u041e\u0431\u0440\u0435\u0437\u043a\u0430 \u0441\u0442\u0440\u043e\u043a: <i>${var%suffix}<\/i> \u0438 <i>${var#prefix}<\/i>. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0435\u0441\u043b\u0438 <i>var=foo.pdf<\/i> \u0442\u043e\u0433\u0434\u0430 <i>echo ${var%.pdf}.txt<\/i> \u0432\u044b\u0432\u0435\u0434\u0435\u0442 <i>foo.txt<\/i>.<\/li>\n<li>\u0412\u044b\u0432\u043e\u0434 \u043b\u044e\u0431\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u043c\u043e\u0436\u043d\u043e \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c \u0432 \u0444\u0430\u0439\u043b \u0447\u0435\u0440\u0435\u0437 <i>&lt;(some command)<\/i>. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 `\/etc\/hosts \u0441 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u044b\u043c:<\/li>\n<\/ul>\n<p>  <\/p>\n<pre><code class=\"bash\">diff \/etc\/hosts &lt;(ssh somehost cat \/etc\/hosts) <\/code><\/pre>\n<p>  <\/p>\n<ul>\n<li>\u0417\u043d\u0430\u0439\u0442\u0435 \u043f\u0440\u043e heredoc-\u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441 \u0432 \u0411\u0430\u0448\u0435, \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043e\u043d \u0432\u043e\u0442 \u0442\u0430\u043a <i>cat &lt;&lt;EOF &#8230;<\/i>.<\/li>\n<li>\u0412 \u0411\u0430\u0448\u0435 \u043f\u0435\u0440\u0435\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u044f\u0439\u0442\u0435 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 \u0432\u044b\u0432\u043e\u0434, \u0430 \u0442\u0430\u043a \u0436\u0435 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0435 \u043e\u0448\u0438\u0431\u043a\u0438 \u0432\u043e\u0442 \u0442\u0430\u043a: <i>some-command &gt;logfile 2&gt;&amp;1<\/i>. \u0417\u0430\u0447\u0430\u0441\u0442\u0443\u044e \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0443\u0431\u0435\u0434\u0438\u0442\u0441\u044f, \u0447\u0442\u043e \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u043d\u0435 \u043e\u0441\u0442\u0430\u0432\u0438\u0442 \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u043c \u0444\u0430\u0439\u043b, \u043f\u0440\u0438\u0432\u044f\u0437\u0430\u0432 \u0435\u0433\u043e \u043a \u043e\u0442\u043a\u0440\u044b\u0442\u043e\u043c\u0443 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0443 \u0441\u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f \u0445\u043e\u0440\u043e\u0448\u0435\u0439 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u043e\u0439 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c <i>&lt;\/dev\/null<\/i>.<\/li>\n<li>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 <i>man ascii<\/i> \u0434\u043b\u044f \u0445\u043e\u0440\u043e\u0448\u0435\u0439 ASCII \u0442\u0430\u0431\u043b\u0438\u0446\u044b, \u0441 hex \u0438 \u0434\u0435\u0441\u044f\u0442\u0438\u0447\u043d\u044b\u043c\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f\u043c\u0438. \u0414\u043b\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043f\u043e \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u043c \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u0430\u043c \u043f\u043e\u043b\u0435\u0437\u043d\u044b: <i>man unicode<\/i>, <i>man utf-8<\/i>, \u0438 <i>man latin1<\/i>.<\/li>\n<li>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 <i>screen<\/i> \u0438\u043b\u0438 <a href=\"https:\/\/tmux.github.io\/\"><i>tmux<\/i><\/a> \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0438\u043c\u0435\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u044d\u043a\u0440\u0430\u043d\u043e\u0432 \u0432 \u043e\u0434\u043d\u043e\u043c \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0435, \u044d\u0442\u043e \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u043f\u043e\u043b\u0435\u0437\u043d\u043e, \u043a\u043e\u0433\u0434\u0430 \u0432\u044b \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442\u0435 \u0441 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u044b\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c, \u0442\u043e\u0433\u0434\u0430 \u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0442\u044c\u0441\u044f\/\u043e\u0442\u043a\u043b\u044e\u0447\u0430\u0442\u044c\u0441\u044f \u043e\u0442 \u0441\u0435\u0441\u0441\u0438\u0439. \u0411\u043e\u043b\u0435\u0435 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u0438\u0441\u0442\u0438\u0447\u043d\u044b\u0439 \u043f\u043e\u0434\u0445\u043e\u0434 \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u2013 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 <i>dtach<\/i>.<\/li>\n<li>\u0412 SSH \u043f\u043e\u043b\u0435\u0437\u043d\u043e \u0437\u043d\u0430\u0442\u044c \u043a\u0430\u043a port tunnel \u0441 \u0444\u043b\u0430\u0433\u0430\u043c\u0438 <i>-L<\/i> \u0438 <i>-D<\/i> (\u0438 \u0438\u043d\u043e\u0433\u0434\u0430 <i>-R<\/i>), \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u0439\u0442\u0438 \u043d\u0430 \u0441\u0430\u0439\u0442 \u0441 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430.<\/li>\n<li>\u0415\u0449\u0435 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043f\u043e\u043b\u0435\u0437\u043d\u043e \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0430\u0448\u0443 SSH \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044e, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u044d\u0442\u043e\u0442 \u0444\u0430\u0439\u043b <i>~\/.ssh\/config<\/i> \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u043c\u043e\u0433\u0430\u044e\u0442 \u0438\u0437\u0431\u0435\u0433\u0430\u0442\u044c \u043f\u043e\u0442\u0435\u0440\u044f\u043d\u043d\u044b\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0432 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0441\u0435\u0442\u0435\u0432\u044b\u0445 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f\u0445, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u0441\u0436\u0430\u0442\u0438\u0435 (\u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043f\u043e\u043b\u0435\u0437\u043d\u043e \u0441 scp \u0447\u0435\u0440\u0435\u0437 \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u044b\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f) \u0438 \u0443\u0432\u0435\u043b\u0438\u0447\u044c\u0442\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u0430\u043d\u0430\u043b\u043e\u0432 \u043a \u043e\u0434\u043d\u043e\u043c\u0443 \u0441\u0435\u0440\u0432\u0435\u0440\u0443 \u0447\u0435\u0440\u0435\u0437 \u044d\u0442\u043e\u0442 \u043a\u043e\u043d\u0444\u0438\u0433 \u0432\u043e\u0442 \u0442\u0430\u043a:<\/li>\n<\/ul>\n<p>  <\/p>\n<pre><code>TCPKeepAlive=yes ServerAliveInterval=15 ServerAliveCountMax=6 Compression=yes ControlMaster auto ControlPath \/tmp\/%r@%h:%p ControlPersist yes <\/code><\/pre>\n<p>  <\/p>\n<ul>\n<li>\u041d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0434\u0440\u0443\u0433\u0438\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 SSH \u043c\u043e\u0433\u0443\u0442 \u0441\u0438\u043b\u044c\u043d\u043e \u043f\u043e\u0432\u043b\u0438\u044f\u0442\u044c \u043d\u0430 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u044c \u0438 \u0434\u043e\u043b\u0436\u043d\u044b \u043c\u0435\u043d\u044f\u0442\u044c\u0441\u044f \u043e\u0441\u0442\u043e\u0440\u043e\u0436\u043d\u043e, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0434\u043b\u044f \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0439 \u043f\u043e\u0434\u0441\u0435\u0442\u0438 \u0438\u043b\u0438 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u044b \u0438\u043b\u0438 \u0432 \u0434\u043e\u043c\u0430\u0448\u043d\u0438\u0445 \u0441\u0435\u0442\u044f\u0445: <i>StrictHostKeyChecking=no<\/i>, <i>ForwardAgent=yes<\/i><\/li>\n<li>\u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0444\u0430\u0439\u043b\u0430 \u0432 \u0432\u043e\u0441\u044c\u043c\u0435\u0440\u0438\u0447\u043d\u043e\u043c \u0432\u0438\u0434\u0435, \u0447\u0442\u043e \u043f\u043e\u043b\u0435\u0437\u043d\u043e \u0434\u043b\u044f \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0441\u0438\u0441\u0442\u0435\u043c, \u043d\u043e \u043d\u0435\u043b\u044c\u0437\u044f \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0438\u0437 <i>ls<\/i>, \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0447\u0442\u043e-\u0442\u043e \u0442\u0438\u043f\u0430:<\/li>\n<\/ul>\n<p>  <\/p>\n<pre><code class=\"bash\">  stat -c '%A %a %n' \/etc\/timezone <\/code><\/pre>\n<p>  <\/p>\n<ul>\n<li>\u0414\u043b\u044f \u0438\u043d\u0442\u0435\u0440\u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432 \u0434\u0440\u0443\u0433\u0438\u0445 \u043a\u043e\u043c\u0430\u043d\u0434 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 <a href=\"https:\/\/github.com\/mooz\/percol\"><i>percol<\/i><\/a> or <a href=\"https:\/\/github.com\/junegunn\/fzf\"><i>fzf<\/i><\/a>.<\/li>\n<li>\u0414\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0444\u0430\u0439\u043b\u0430\u043c\u0438, \u0441\u043f\u0438\u0441\u043e\u043a \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0434\u0430\u043b\u0430 \u0434\u0440\u0443\u0433\u0430\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u0430 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 Git) \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 <i>fpp<\/i> (<a href=\"https:\/\/github.com\/facebook\/PathPicker\">PathPicker<\/a>).<\/li>\n<li>\u0414\u043b\u044f \u0442\u043e\u0433\u043e \u0447\u0442\u043e\u0431\u044b \u0431\u044b\u0441\u0442\u0440\u043e \u043f\u043e\u0434\u043d\u044f\u0442\u044c \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440 \u0432 \u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 (\u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0438\u043a\u0442\u043e\u0440\u0438\u044f\u0445), \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u0432 \u0432\u0430\u0448\u0435\u0439 \u0441\u0435\u0442\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435: <br \/>  <i>python -m SimpleHTTPServer 7777<\/i> (for port 7777 and Python 2) and <i>python -m http.server 7777<\/i> (for port 7777 and Python 3).<\/li>\n<li>\u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u0443\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u0441 \u043f\u0440\u0438\u0432\u0438\u043b\u0435\u0433\u0438\u044f\u043c\u0438, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 <i>sudo<\/i> (\u0434\u043b\u044f \u0440\u0443\u0442\u0430) \u0438 <i>sudo -u<\/i> (\u0434\u043b\u044f \u0434\u0440\u0443\u0433\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f). \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 <i>su<\/i> \u0438\u043b\u0438 <i>sudo bash<\/i> \u0434\u043b\u044f \u0442\u043e\u0433\u043e \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0448\u0435\u043b\u043b \u043e\u0442 \u0438\u043c\u0435\u043d\u0438 \u044d\u0442\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 <i>su &#8212;<\/i> \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0441\u0438\u043c\u0443\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0432\u0435\u0436\u0438\u0439 \u043b\u043e\u0433\u0438\u043d \u043e\u0442 \u0440\u0443\u0442\u0430 \u0438\u043b\u0438 \u0434\u0440\u0443\u0433\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f.<\/li>\n<\/ul>\n<p>  <anchor>\u041f\u0440\u043e\u0446\u0435\u0441\u0441\u0438\u043d\u0433 \u0444\u0430\u0439\u043b\u043e\u0432 \u0438 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438<\/anchor>  <\/p>\n<h2>\u041f\u0440\u043e\u0446\u0435\u0441\u0441\u0438\u043d\u0433 \u0444\u0430\u0439\u043b\u043e\u0432 \u0438 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438<\/h2>\n<p>  <\/p>\n<ul>\n<li>\u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043d\u0430\u0439\u0442\u0438 \u0444\u0430\u0439\u043b \u0432 \u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \u0441\u0434\u0435\u043b\u0430\u0439\u0442\u0435 <i>find. -iname &#8216;*something*&#8217;<\/i>. \u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0438\u0441\u043a\u0430\u0442\u044c \u0444\u0430\u0439\u043b \u043f\u043e \u0432\u0441\u0435\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 <i>locate something<\/i> (\u043d\u043e \u043d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0439\u0442\u0435, \u0447\u0442\u043e <i>updatedb<\/i> \u043c\u043e\u0433 \u0435\u0449\u0435 \u043d\u0435 \u043f\u0440\u043e\u0438\u043d\u0434\u0435\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0435\u0434\u0430\u0432\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b).<\/li>\n<li>\u0414\u043b\u044f \u043e\u0441\u043d\u043e\u0432\u043e\u0433\u043e \u043f\u043e\u0438\u0441\u043a\u0430 \u043f\u043e \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u043c\u0443 \u0444\u0430\u0439\u043b\u043e\u0432 (\u0431\u043e\u043b\u0435\u0435 \u0441\u043b\u043e\u0436\u043d\u043e\u043c\u0443, \u0447\u0435\u043c <i>grep -r<\/i>) \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 <a href=\"https:\/\/github.com\/ggreer\/the_silver_searcher\"><i>ag<\/i><\/a>.<\/li>\n<li>\u0414\u043b\u044f \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0430\u0446\u0438\u0438 HTML \u0432 \u0442\u0435\u043a\u0441\u0442: <i>lynx -dump -stdin<\/i><\/li>\n<li>\u0414\u043b\u044f \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0430\u0446\u0438\u0438 \u0440\u0430\u0437\u043d\u044b\u0445 \u0442\u0438\u043f\u043e\u0432 \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0438 (HTML, \u043c\u0430\u0440\u043a\u0434\u0430\u0443\u043d \u0438 \u0442.\u0434.) \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 <a href=\"http:\/\/pandoc.org\/\"><i>pandoc<\/i><\/a>.<\/li>\n<li>\u0415\u0441\u043b\u0438 \u043d\u0443\u0436\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 XML, \u0435\u0441\u0442\u044c \u0441\u0442\u0430\u0440\u0430\u044f \u043d\u043e \u0445\u043e\u0440\u043e\u0448\u0430\u044f \u0443\u0442\u0438\u043b\u0438\u0442\u0430 \u2013 <i>xmlstarlet<\/i>.<\/li>\n<li>\u0414\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 JSON \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 <i>jq<\/i>.<\/li>\n<li>\u0414\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 Excel \u0438 CSV-\u0444\u0430\u0439\u043b\u0430\u043c\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 <a href=\"https:\/\/github.com\/onyxfish\/csvkit\">csvkit<\/a> (\u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u043a\u043e\u043c\u0430\u043d\u0434\u044b <i>in2csv<\/i>, <i>csvcut<\/i>, <i>csvjoin<\/i>, <i>csvgrep<\/i> \u0438 \u0442.\u0434.)<\/li>\n<li>\u0414\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 Amazon S3 \u0443\u0434\u043e\u0431\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 <a href=\"https:\/\/github.com\/s3tools\/s3cmd\"><i>s3cmd<\/i><\/a> \u0438 <a href=\"https:\/\/github.com\/bloomreach\/s4cmd\"><i>s4cmd<\/i><\/a> (\u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0431\u044b\u0441\u0442\u0440\u0435\u0435). \u0414\u043b\u044f \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0445 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432 \u0410\u043c\u0430\u0437\u043e\u043d\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 <a href=\"https:\/\/github.com\/aws\/aws-cli\"><i>aws<\/i><\/a>.<\/li>\n<li>\u0417\u043d\u0430\u0439\u0442\u0435 \u043f\u0440\u043e <i>sort<\/i> \u0438 <i>uniq<\/i>, \u0432\u043a\u043b\u044e\u0447\u0430\u044f \u0444\u043b\u0430\u0433\u0438 <i>-u<\/i> \u0438 <i>-d<\/i>, \u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u043d\u0438\u0436\u0435. \u0415\u0449\u0435 \u0433\u043b\u044f\u043d\u044c\u0442\u0435 \u043d\u0430 <i>comm<\/i>.<\/li>\n<li>\u0417\u043d\u0430\u0439\u0442\u0435 \u043f\u0440\u043e <i>cut<\/i>, <i>paste<\/i>, \u0438 <i>join<\/i> \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u043c\u0438 \u0444\u0430\u0439\u043b\u0430\u043c\u0438. \u041c\u043d\u043e\u0433\u0438\u0435 \u043b\u044e\u0434\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 <i>cut<\/i> \u0437\u0430\u0431\u044b\u0432 \u043f\u0440\u043e <i>join<\/i>.<\/li>\n<li>\u0417\u043d\u0430\u0439\u0442\u0435 \u043e <i>wc<\/i>: \u0434\u043b\u044f \u043f\u043e\u0434\u0441\u0447\u0435\u0442\u0430 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u043e\u0432 \u0441\u0442\u0440\u043e\u043a (<i>-l<\/i>), \u0434\u043b\u044f \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u2013 (<i>-m<\/i>), \u0434\u043b\u044f \u0441\u043b\u043e\u0432 \u2013 words (<i>-w<\/i>), \u0434\u043b\u044f \u0431\u0430\u0439\u0442\u043e\u0432\u043e\u0433\u043e \u043f\u043e\u0434\u0441\u0447\u0435\u0442\u0430 \u2013 (<i>-c<\/i>).<\/li>\n<li>\u0417\u043d\u0430\u0439\u0442\u0435 \u043f\u0440\u043e <i>tee<\/i>, \u0434\u043b\u044f \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0432 \u0444\u0430\u0439\u043b \u0438\u0437 stdin \u0438 stdout, \u0447\u0442\u043e-\u0442\u043e \u0442\u0438\u043f\u0430 <i>ls -al | tee file.txt<\/i>.<\/li>\n<li>\u041d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0439\u0442\u0435, \u0447\u0442\u043e \u0412\u0430\u0448\u0430 \u043b\u043e\u043a\u0430\u043b\u044c \u0432\u043b\u0438\u044f\u0435\u0442 \u043d\u0430 \u043c\u043d\u043e\u0433\u0438\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b, \u0432\u043a\u043b\u044e\u0447\u0430\u044f \u043f\u043e\u0440\u044f\u0434\u043a\u0438 \u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u0438, \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 \u0438 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c. \u041c\u043d\u043e\u0433\u0438\u0435 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u044b Linux \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0432\u044b\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 <i>LANG<\/i> \u0438\u043b\u0438 \u043b\u044e\u0431\u0443\u044e \u0434\u0440\u0443\u0433\u0443\u044e \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e \u0432 \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0449\u0443\u044e \u0434\u043b\u044f \u0412\u0430\u0448\u0435\u0433\u043e \u0440\u0435\u0433\u0438\u043e\u043d\u0430. \u0418\u0437-\u0437\u0430 \u044d\u0442\u043e\u0433\u043e \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u0438 \u043c\u043e\u0433\u0443\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043d\u0435\u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0443\u0435\u043c\u043e. \u0420\u0443\u0442\u0438\u043d\u044b <i>i18n<\/i> \u043c\u043e\u0433\u0443\u0442 \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0441\u043d\u0438\u0437\u0438\u0442\u044c \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043e\u043a. \u0412 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0441\u043b\u0443\u0447\u0430\u044f\u0445 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u044d\u0442\u043e\u0433\u043e \u0438\u0437\u0431\u0435\u0433\u0430\u0442\u044c (\u0437\u0430 \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c \u0440\u0435\u0434\u043a\u0438\u0445 \u0441\u043b\u0443\u0447\u0430\u0435\u0432), \u0441\u043e\u0440\u0442\u0438\u0440\u0443\u044f \u0442\u0440\u0430\u0434\u0438\u0446\u0438\u043e\u043d\u043d\u043e \u043f\u043e\u0431\u0430\u0439\u0442\u043e\u0432\u043e, \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e <i>export LC_ALL=C<\/i><\/li>\n<li>\u0417\u043d\u0430\u0439\u0442\u0435 \u043e\u0441\u043d\u043e\u0432\u044b <i>awk<\/i> \u0438 <i>sed<\/i> \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u0442\u044b\u0445 \u043c\u0430\u043d\u0438\u043f\u0443\u043b\u044f\u0446\u0438\u0439 \u0441 \u0434\u0430\u043d\u043d\u044b\u043c\u0438. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u0443\u043c\u043c\u0443 \u0432\u0441\u0435\u0445 \u0447\u0438\u0441\u0435\u043b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0430\u0445\u043e\u0434\u044f\u0442\u0441\u044f \u0432 \u0442\u0440\u0435\u0442\u044c\u0435\u0439 \u043a\u043e\u043b\u043e\u043d\u043a\u0438 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <i>awk &#8216;{ x += $3 } END { print x }&#8217;<\/i>. \u0421\u043a\u043e\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043e, \u044d\u0442\u043e \u0440\u0430\u0437\u0430 \u0432 3 \u0431\u044b\u0441\u0442\u0440\u0435\u0435 \u0438 \u0440\u0430\u0437\u0430 \u0432 3 \u043f\u0440\u043e\u0449\u0435 \u0447\u0435\u043c \u0434\u0435\u043b\u0430\u0442\u044c \u044d\u0442\u043e \u0432 \u041f\u0438\u0442\u043e\u043d\u0435.<\/li>\n<li>\u0427\u0442\u043e\u0431\u044b \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u0432\u0441\u0435 \u043d\u0430\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u044f \u043f\u043e\u0434\u0441\u0442\u0440\u043e\u043a\u0438 \u0432 \u043e\u0434\u043d\u043e\u043c \u0438\u043b\u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0444\u0430\u0439\u043b\u0430\u0445:<\/li>\n<\/ul>\n<p>  <\/p>\n<pre><code class=\"bash\">  perl -pi.bak -e 's\/old-string\/new-string\/g' my-files-*.txt <\/code><\/pre>\n<p>  \u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u0442\u044c \u0441\u0440\u0430\u0437\u0443 \u043c\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u043e\u0432 \u043f\u043e \u0448\u0430\u0431\u043b\u043e\u043d\u0443, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 <i>rename<\/i>. \u0414\u043b\u044f \u0441\u043b\u043e\u0436\u043d\u044b\u0445 \u043f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u0439 \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043c\u043e\u0447\u044c <a href=\"https:\/\/github.com\/jlevy\/repren\"><i>repren<\/i><\/a>:  <\/p>\n<pre><code class=\"bash\"># \u0412\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0431\u0435\u043a\u0430\u043f\u044b \u0438\u0437 foo.bak \u0432 foo: rename 's\/\\.bak$\/\/' *.bak # \u041f\u043e\u043b\u043d\u043e\u0435 \u043f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u0435 \u0438\u043c\u0435\u043d \u0444\u0430\u0439\u043b\u043e\u0432, \u043f\u0430\u043f\u043e\u043a \u0438 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u043e\u0432 \u0438\u0437 foo \u0432 bar. repren --full --preserve-case --from foo --to bar . <\/code><\/pre>\n<p>  <\/p>\n<ul>\n<li>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 <i>shuf<\/i> \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u0435\u0440\u0435\u043c\u0435\u0448\u0430\u0442\u044c \u0441\u0442\u0440\u043e\u043a\u0438 \u0438\u043b\u0438 \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u0443\u044e \u0441\u0442\u0440\u043e\u0447\u043a\u0443 \u0438\u0437 \u0444\u0430\u0439\u043b\u0430.<\/li>\n<li>\u0417\u043d\u0430\u0439\u0442\u0435 \u0444\u043b\u0430\u0433\u0438 <i>sort<\/i>\u0430. \u0414\u043b\u044f \u0447\u0438\u0441\u0435\u043b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 <i>-n<\/i>, \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u043e\u0447\u0438\u0442\u0430\u0435\u043c\u044b\u043c\u0438 \u0447\u0438\u0441\u043b\u0430\u043c\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 <i>-h<\/i> (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 <i>du -h<\/i>). \u0417\u043d\u0430\u0439\u0442\u0435 \u043a\u0430\u043a \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442 \u043a\u043b\u044e\u0447\u0438 (<i>-t<\/i> \u0438 <i>-k<\/i>). \u0412 \u0447\u0430\u0441\u0442\u043d\u043e\u0441\u0442\u0438, \u043d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0439\u0442\u0435 \u0447\u0442\u043e \u0432\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u043f\u0438\u0441\u0430\u0442\u044c <i>-k1,1<\/i> \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043e\u0442\u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0435\u0440\u0432\u043e\u0435 \u043f\u043e\u043b\u0435; <i>-k1<\/i> \u0437\u043d\u0430\u0447\u0438\u0442 \u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u0430 \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u044f \u0432\u0441\u044e \u0441\u0442\u0440\u043e\u0447\u043a\u0443. \u0422\u0430\u043a \u0436\u0435 \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u0430\u044f \u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u0430 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043f\u043e\u043b\u0435\u0437\u043d\u043e\u0439 (<i>sort -s<\/i>). \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043e\u0442\u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0430\u043c\u043e\u0435 \u0432\u0430\u0436\u043d\u043e\u0435 \u043f\u043e \u0432\u0442\u043e\u0440\u043e\u043c\u0443 \u043f\u043e\u043b\u044e, \u0430 \u0432\u0442\u043e\u0440\u043e\u0441\u0442\u0435\u043f\u0435\u043d\u043d\u043e\u0435 \u043f\u043e \u043f\u0435\u0440\u0432\u043e\u043c\u0443 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c sort -k1,1 | sort -s -k2,2`.<\/li>\n<li>\u0415\u0441\u043b\u0438 \u0432\u0430\u043c \u043a\u043e\u0433\u0434\u0430-\u043d\u0438\u0431\u0443\u0434\u044c \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043a\u043e\u0434 \u0442\u0430\u0431\u0430 \u0432 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0435, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0434\u043b\u044f \u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u0438 \u043f\u043e \u0442\u0430\u0431\u0443 \u0441 \u0444\u043b\u0430\u0433\u043e\u043c -t, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u0448\u043e\u0440\u0442\u043a\u0430\u0442 <strong>ctrl-v<\/strong> <strong>[Tab]<\/strong> \u0438\u043b\u0438 \u043d\u0430\u043f\u0438\u0448\u0438\u0442\u0435 <i>$&#8217;\\t&#8217;<\/i>. \u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0435 \u043b\u0443\u0447\u0448\u0435, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0435\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c.<\/li>\n<li>\u0421\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b \u0434\u043b\u044f \u043f\u0430\u0442\u0447\u0438\u043d\u0433\u0430 \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u043e\u0432 \u044d\u0442\u043e <i>diff<\/i> \u0438 <i>patch<\/i>. \u0422\u0430\u043a \u0436\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 \u043d\u0430 <i>diffstat<\/i> \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0438 \u0434\u0438\u0444\u0444\u0430. <i>diff -r<\/i> \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0434\u043b\u044f \u043f\u043e \u0432\u0441\u0435\u0439 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 <i>diff -r tree1 tree2 | diffstat<\/i> \u0434\u043b\u044f \u043f\u043e\u043b\u043d\u043e\u0439 \u0441\u0432\u043e\u0434\u043a\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439.<\/li>\n<li>\u0414\u043b\u044f \u0431\u0438\u043d\u0430\u0440\u043d\u0438\u043a\u043e\u0432 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 <i>hd<\/i> \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u0442\u044b\u0445 hex-\u0434\u0430\u043c\u043f\u043e\u043c \u0438 <i>bvi<\/i> \u0434\u043b\u044f \u0434\u0432\u043e\u0438\u0447\u043d\u043e\u0433\u043e \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0431\u0438\u043d\u0430\u0440\u043d\u0438\u043a\u043e\u0432.<\/li>\n<li><i>strings<\/i> (\u0432 \u0441\u0432\u044f\u0437\u043a\u0435 <i>grep<\/i> \u0438\u043b\u0438 \u0447\u0435\u043c-\u0442\u043e \u043f\u043e\u0445\u043e\u0436\u0435\u043c) \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442 \u043d\u0430\u0439\u0442\u0438 \u0441\u0442\u0440\u043e\u043a\u0438 \u0432 \u0431\u0438\u043d\u0430\u0440\u043d\u0438\u043a\u0430\u0445.<\/li>\n<li>\u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0440\u0430\u0437\u043d\u0438\u0446\u0443 \u0432 \u0431\u0438\u043d\u0430\u0440\u043d\u0438\u043a\u0430\u0445 (\u0434\u0435\u043b\u044c\u0442\u0430 \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435) \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 <i>xdelta3<\/i>.<\/li>\n<li>\u0414\u043b\u044f \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043e\u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 <i>iconv<\/i>. \u0414\u043b\u044f \u0431\u043e\u043b\u0435\u0435 \u0441\u043b\u043e\u0436\u043d\u044b\u0445 \u0437\u0430\u0434\u0430\u0447 \u2013 <i>uconv<\/i>, \u043e\u043d \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u043b\u043e\u0436\u043d\u044b\u0435 \u0444\u0438\u0447\u0438 \u042e\u043d\u0438\u043a\u043e\u0434\u0430. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u044d\u0442\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0438\u0442 \u0441\u0442\u0440\u043e\u043a\u0438 \u0438\u0437 \u0444\u0430\u0439\u043b\u0430 \u0432 \u043d\u0438\u0436\u043d\u0438\u0439 \u0440\u0435\u0433\u0438\u0441\u0442\u0440 \u0438 \u0443\u0431\u0438\u0440\u0430\u0435\u0442 \u0443\u0434\u0430\u0440\u0435\u043d\u0438\u044f (\u043a\u043e\u0438 \u0431\u044b\u0432\u0430\u044e\u0442, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432 \u0418\u0441\u043f\u0430\u043d\u0441\u043a\u043e\u043c)<\/li>\n<\/ul>\n<p>  <\/p>\n<pre><code>  uconv -f utf-8 -t utf-8 -x '::Any-Lower; ::Any-NFD; [:Nonspacing Mark:] &gt;; ::Any-NFC; ' &lt; input.txt &gt; output.txt <\/code><\/pre>\n<p>  <\/p>\n<ul>\n<li>\u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0440\u0430\u0437\u0431\u0438\u0442\u044c \u0444\u0430\u0439\u043b \u043d\u0430 \u043a\u0443\u0441\u043a\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 <i>split<\/i> (\u0440\u0430\u0437\u0431\u0438\u0432\u0430\u0435\u0442 \u043d\u0430 \u043a\u0443\u0441\u043a\u0438 \u043f\u043e \u0440\u0430\u0437\u043c\u0435\u0440\u0443), \u0438\u043b\u0438 <i>csplit<\/i> (\u043f\u043e \u0448\u0430\u0431\u043b\u043e\u043d\u0443 \u0438\u043b\u0438 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e\u043c\u0443 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044e)<\/li>\n<li>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 <i>zless<\/i>, <i>zmore<\/i>, <i>zcat<\/i>, \u0438 <i>zgrep<\/i> \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0441\u0436\u0430\u0442\u044b\u043c\u0438 \u0444\u0430\u0439\u043b\u0430\u043c\u0438.<\/li>\n<\/ul>\n<p>  <anchor>\u0421\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0439 \u0434\u0435\u0431\u0430\u0433\u0433\u0438\u043d\u0433<\/anchor>  <\/p>\n<h2>\u0421\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0439 \u0434\u0435\u0431\u0430\u0433\u0433\u0438\u043d\u0433<\/h2>\n<p>  <\/p>\n<ul>\n<li>\u0414\u043b\u0435 \u0432\u0435\u0431-\u0434\u0435\u0431\u0430\u0433\u0433\u0438\u043d\u0433\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 <i>curl<\/i> \u0438 <i>curl -I<\/i>, \u0438\u043b\u0438 \u0438\u0445 \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u0443 <i>wget<\/i>. \u0422\u0430\u043a \u0436\u0435 \u0435\u0441\u0442\u044c \u0431\u043e\u043b\u0435\u0435 \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u044b, \u0442\u0438\u043f\u0430 <a href=\"https:\/\/github.com\/jakubroztocil\/httpie\"><i>httpie<\/i><\/a>.<\/li>\n<li>\u0427\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u0434\u0438\u0441\u043a\u0435\/CPU\/\u0441\u0435\u0442\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 <i>iostat<\/i>, <i>netstat<\/i>, <i>top<\/i> (\u0438\u043b\u0438 \u043b\u0443\u0447\u0448\u0443\u044e \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u0443 <i>htop<\/i>) \u0438 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e <i>dstat<\/i>. \u0425\u043e\u0440\u043e\u0448\u0438\u0439 \u0441\u0442\u0430\u0440\u0442 \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043d\u0438\u043c\u0430\u0442\u044c \u0447\u0442\u043e \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435.<\/li>\n<li>\u0414\u043b\u044f \u0431\u043e\u043b\u0435\u0435 \u0434\u0435\u0442\u0430\u043b\u044c\u043d\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 <a href=\"https:\/\/github.com\/nicolargo\/glances\"><i>glances<\/i><\/a>. \u042d\u0442\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0441\u0440\u0430\u0437\u0443 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0437\u043d\u044b\u0445 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a \u0432 \u043e\u0434\u043d\u043e\u043c \u043e\u043a\u043d\u0435 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0435. \u041f\u043e\u043b\u0435\u0437\u043d\u043e, \u043a\u043e\u0433\u0434\u0430 \u0441\u043b\u0435\u0434\u0438\u0442\u0435 \u0437\u0430 \u0441\u0440\u0430\u0437\u0443 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u043c\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u043c\u0438.<\/li>\n<li>\u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0441\u043b\u0435\u0434\u0438\u0442\u044c \u0437\u0430 \u043f\u0430\u043c\u044f\u0442\u044c\u044e \u043d\u0430\u0443\u0447\u0438\u0442\u0435\u0441\u044c \u043f\u043e\u043d\u0438\u043c\u0430\u0442\u044c <i>free<\/i> \u0438 <i>vmstat<\/i>. \u0412 \u0447\u0430\u0441\u0442\u043d\u043e\u0441\u0442\u0438 \u043d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0439\u0442\u0435, \u0447\u0442\u043e \u043a\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f (\u201ccached\u201d value) \u2013 \u044d\u0442\u043e \u043f\u0430\u043c\u044f\u0442\u044c, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u0434\u0435\u0440\u0436\u0438\u0442 \u044f\u0434\u0440\u043e \u0438 \u044d\u0442\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0447\u0430\u0441\u0442\u044c\u044e <i>free<\/i>.<\/li>\n<li>\u0414\u0435\u0431\u0430\u0433\u0433\u0438\u043d\u0433 \u0414\u0436\u0430\u0432\u044b \u2013 \u0441\u043e\u0432\u0441\u0435\u043c \u0434\u0440\u0443\u0433\u0430\u044f \u0440\u044b\u0431\u043a\u0430, \u043d\u043e \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u0430\u043d\u0438\u043f\u0443\u043b\u044f\u0446\u0438\u0438 \u043d\u0430\u0434 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u043e\u0439 \u041e\u0440\u0430\u043a\u043b\u0430 \u0438\u043b\u0438 \u043b\u044e\u0431\u043e\u0439 \u0434\u0440\u0443\u0433\u043e\u0439 \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442 \u0432\u0430\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u0435\u043b\u0430\u0442\u044c <i>kill -3 &lt;pid&gt;<\/i> \u0438 \u0442\u0440\u0430\u0441\u0441\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u0434\u043a\u0438 \u0441\u0442\u0435\u043a\u0430 \u0438 \u0445\u0438\u043f\u0430 (\u0432\u043a\u043b\u044e\u0447\u0430\u044f \u0434\u0435\u0442\u0430\u043b\u0438 \u0440\u0430\u0431\u043e\u0442\u044b \u0441\u0431\u043e\u0440\u0449\u0438\u043a\u0430 \u043c\u0443\u0441\u043e\u0440\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0431\u044b\u0432\u0430\u044e\u0442 \u043e\u0447\u0435\u043d\u044c \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u043c\u0438), \u0438 \u0438\u0445 \u043c\u043e\u0436\u043d\u043e \u0434\u0430\u043c\u043f\u043d\u0443\u0442\u044c \u0432 stderr \u0438\u043b\u0438 \u043b\u043e\u0433\u0438.<\/li>\n<li>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 <i>mtr<\/i> \u0434\u043b\u044f \u043b\u0443\u0447\u0448\u0435\u0439 \u0442\u0440\u0430\u0441\u0441\u0438\u0440\u043e\u0432\u043a\u0438, \u0447\u0442\u043e\u0431\u044b \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0441\u0435\u0442\u0438.<\/li>\n<li>\u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0443\u0437\u043d\u0430\u0442\u044c \u043f\u043e\u0447\u0435\u043c\u0443 \u0434\u0438\u0441\u043a \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0437\u0430\u0431\u0438\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 <i>ncdu<\/i>, \u044d\u0442\u043e \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u0442 \u0432\u0440\u0435\u043c\u044f \u043f\u043e \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044e \u0441 \u0442\u0435\u043c \u0436\u0435 <i>du -sh *<\/i>.<\/li>\n<li>\u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0443\u0437\u043d\u0430\u0442\u044c \u043a\u0430\u043a\u043e\u0439 \u0441\u043e\u043a\u0435\u0442 \u0438\u043b\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 <i>iftop<\/i> \u0438\u043b\u0438 <i>nethogs<\/i>.<\/li>\n<li><i>ab<\/i>, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0432\u043c\u0435\u0441\u0442\u0435 \u0432 \u0410\u043f\u0430\u0447\u0435\u043c \u043f\u043e\u043b\u0435\u0437\u043d\u0430 \u0434\u043b\u044f \u0431\u044b\u0441\u0442\u0440\u043e\u0439 \u043d\u0435\u0442\u0449\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0439 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440\u0430. \u0414\u043b\u044f \u0431\u043e\u043b\u0435\u0435 \u0441\u0435\u0440\u044c\u0435\u0437\u043d\u043e\u0433\u043e \u043b\u043e\u0430\u0434-\u0442\u0435\u0441\u0442\u0438\u043d\u0433\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 <i>siege<\/i>.<\/li>\n<li>\u0414\u043b\u044f \u0431\u043e\u043b\u0435\u0435 \u0441\u0435\u0440\u044c\u0435\u0437\u043d\u043e\u0433\u043e \u0434\u0435\u0431\u0430\u0433\u0433\u0438\u043d\u0433\u0430 \u0441\u0435\u0442\u0435\u0439 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 <i>wireshark<\/i>, <i>tshark<\/i>, \u0438 <i>ngrep<\/i>.<\/li>\n<li>\u0417\u043d\u0430\u0439\u0442\u0435 \u043f\u0440\u043e <i>strace<\/i> \u0438 <i>ltrace<\/i>. \u042d\u0442\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u043f\u043e\u043b\u0435\u0437\u043d\u044b, \u0435\u0441\u043b\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u043f\u0430\u0434\u0430\u0435\u0442 \u0438\u043b\u0438 \u0432\u0438\u0441\u0438\u0442 \u0438 \u0432\u044b \u043d\u0435 \u0437\u043d\u0430\u0435\u0442\u0435 \u043f\u043e\u0447\u0435\u043c\u0443, \u0438\u043b\u0438 \u0435\u0441\u043b\u0438 \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u043f\u0440\u043e\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b. \u041d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0439\u0442\u0435 \u043f\u0440\u043e \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0434\u0435\u0431\u0430\u0433\u0433\u0438\u043d\u0433\u0430 (<i>-c<\/i>) \u0438 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c\u044e \u043f\u0440\u0438\u0446\u0435\u043f\u0438\u0442\u044c\u0441\u044f \u043a \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0443 (<i>-p<\/i>).<\/li>\n<li>\u041d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0439\u0442\u0435 \u043f\u0440\u043e <i>ldd<\/i> \u0434\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0445 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a.<\/li>\n<li>\u0417\u043d\u0430\u0439\u0442\u0435 \u043a\u0430\u043a \u043f\u0440\u0438\u0446\u0435\u043f\u0438\u0442\u044c\u0441\u044f \u043a \u0431\u0435\u0433\u0443\u0449\u0435\u043c\u0443 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0443 \u0447\u0435\u0440\u0435\u0437 <i>gdb<\/i> \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0442\u0440\u0430\u0441\u0441\u0438\u0440\u043e\u0432\u043a\u0443 \u0441\u0442\u0435\u043a\u0430.<\/li>\n<li>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 <i>\/proc<\/i>. \u0418\u043d\u043e\u0433\u0434\u0430 \u043e\u043d \u043d\u0435\u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e \u043f\u043e\u043b\u0435\u0437\u0435\u043d \u0434\u043b\u044f \u0434\u0435\u0431\u0430\u0433\u0430 \u0437\u0430\u043f\u0443\u0449\u0435\u043d\u043d\u044b\u0445 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c. \u041f\u0440\u0438\u043c\u0435\u0440\u044b: <i>\/proc\/cpuinfo<\/i>, <i>\/proc\/xxx\/cwd<\/i>, <i>\/proc\/xxx\/exe<\/i>, <i>\/proc\/xxx\/fd\/<\/i>, <i>\/proc\/xxx\/smaps<\/i>.<\/li>\n<li>\u041a\u043e\u0433\u0434\u0430 \u0434\u0435\u0431\u0430\u0436\u0435\u0442\u0435 \u0447\u0442\u043e-\u0442\u043e, \u0447\u0442\u043e \u0441\u043b\u043e\u043c\u0430\u043b\u043e\u0441\u044c \u0432 \u043f\u0440\u043e\u0448\u043b\u043e\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 <i>sar<\/i> \u2013 \u0431\u044b\u0432\u0430\u0435\u0442 \u043e\u0447\u0435\u043d\u044c \u043f\u043e\u043b\u0435\u0437\u043d\u043e. \u041f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0438\u0441\u0442\u043e\u0440\u0438\u044e CPU, \u043f\u0430\u043c\u044f\u0442\u0438, \u0441\u0435\u0442\u0438 \u0438 \u0442.\u0434.<\/li>\n<li>\u0414\u043b\u044f \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u0431\u043e\u043b\u0435\u0435 \u0433\u043b\u0443\u0431\u043e\u043a\u0438\u0445 \u0441\u0438\u0441\u0442\u0435\u043c \u0438 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 \u043d\u0430 <i>stap<\/i> (<a href=\"https:\/\/sourceware.org\/systemtap\/wiki\">SystemTap<\/a>), <a href=\"http:\/\/en.wikipedia.org\/wiki\/Perf_%28Linux%29\"><i>perf<\/i><\/a>, \u0438 <a href=\"https:\/\/github.com\/draios\/sysdig\"><i>sysdig<\/i><\/a>.<\/li>\n<li>\u0423\u0437\u043d\u0430\u0439\u0442\u0435 \u043a\u0430\u043a\u0430\u044f \u0443 \u0432\u0430\u0441 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043a\u0430 \u0447\u0435\u0440\u0435\u0437 <i>uname<\/i> or <i>uname -a<\/i> (\u043e\u0441\u043d\u043e\u0432\u043d\u0430\u044f Unix-\u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f\/\u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u044f\u0434\u0440\u0435) \u0438\u043b\u0438 <i>lsb_release -a<\/i> (\u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0435).<\/li>\n<li>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 <i>dmesg<\/i> \u043a\u043e\u0433\u0434\u0430 \u0447\u0442\u043e-\u0442\u043e \u0432\u0435\u0434\u0435\u0442 \u0441\u0435\u0431\u044f \u0441\u043e\u0432\u0441\u0435\u043c \u0441\u0442\u0440\u0430\u043d\u043d\u043e (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0436\u0435\u043b\u0435\u0437\u043e \u0438\u043b\u0438 \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u0430).<\/li>\n<\/ul>\n<p>  <anchor>\u0412 \u043e\u0434\u043d\u0443 \u0441\u0442\u0440\u043e\u0447\u043a\u0443<\/anchor>  <\/p>\n<h2>\u0412 \u043e\u0434\u043d\u0443 \u0441\u0442\u0440\u043e\u0447\u043a\u0443<\/h2>\n<p>  \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0441\u043e\u0431\u0435\u0440\u0435\u043c \u0432\u0441\u0435 \u0432\u043c\u0435\u0441\u0442\u0435 \u0438 \u043d\u0430\u043f\u0438\u0448\u0435\u043c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043a\u043e\u043c\u0430\u043d\u0434:  <\/p>\n<ul>\n<li>\u042d\u0442\u043e \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043a\u0440\u0443\u0442\u043e, \u0447\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u043f\u0435\u0440\u0435\u0441\u0435\u0447\u0435\u043d\u0438\u044f \u0444\u0430\u0439\u043b\u043e\u0432, \u0441\u043e\u0435\u0434\u0438\u043d\u0438\u0442\u044c \u043e\u0442\u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b \u0438 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0440\u0430\u0437\u043d\u0438\u0446\u0443 \u0432 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0444\u0430\u0439\u043b\u043e\u0432 \u0447\u0435\u0440\u0435\u0437 <i>sort<\/i>\/<i>uniq<\/i>. \u042d\u0442\u043e \u0431\u044b\u0441\u0442\u0440\u044b\u0439 \u043f\u043e\u0434\u0445\u043e\u0434 \u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0430 \u0444\u0430\u0439\u043b\u0430\u0445 \u043b\u044e\u0431\u043e\u0433\u043e \u0440\u0430\u0437\u043c\u0435\u0440\u0430 (\u0432\u043a\u043b\u044e\u0447\u0430\u044f \u043c\u043d\u043e\u0433\u043e\u0433\u0438\u0433\u0430\u0431\u0430\u0439\u0442\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b). (\u0421\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u0430 \u043d\u0435 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0430 \u043f\u0430\u043c\u044f\u0442\u044c\u044e, \u043d\u043e \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0432\u0430\u043c \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c <i>-T<\/i> \u0435\u0441\u043b\u0438 <i>\/tmp<\/i> \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043d\u0430 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u043c \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u043e\u043c \u0434\u0438\u0441\u043a\u0435). \u0415\u0449\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 \u0442\u043e \u0447\u0442\u043e \u0431\u044b\u043b\u043e \u0441\u043a\u0430\u0437\u0430\u043d\u043e \u0432\u044b\u0448\u0435 \u043e <i>LC_ALL<\/i>. \u0424\u043b\u0430\u0433 \u0441\u043e\u0440\u0442\u0430 <i>-u<\/i> option \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043d\u0438\u0436\u0435 \u0447\u0442\u043e\u0431\u044b \u0431\u044b\u043b\u043e \u043f\u043e\u043d\u044f\u0442\u043d\u0435\u0435:<\/li>\n<\/ul>\n<p>  <\/p>\n<pre><code class=\"bash\">cat a b | sort | uniq &gt; c        # c is a union b cat a b | sort | uniq -d &gt; c     # c is a intersect b cat a b b | sort | uniq -u &gt; c   # c is set difference a - b <\/code><\/pre>\n<p>  <\/p>\n<ul>\n<li>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 <i>grep. *<\/i> \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u0432\u0441\u0435\u0445 \u0444\u0430\u0439\u043b\u043e\u0432 \u0432 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438, \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u043f\u043e\u0441\u043b\u0435\u043d\u043e \u043a\u043e\u0433\u0434\u0430 \u0443 \u0432\u0430\u0441 \u043c\u043d\u043e\u0433\u043e \u043a\u043e\u043d\u0444\u0438\u0433\u043e\u0432 \u0442\u0438\u043f\u0430 <i>\/sys<\/i>, <i>\/proc<\/i>, <i>\/etc<\/i>.<\/li>\n<li>\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u0443\u043c\u043c\u0443 \u0432\u0441\u0435\u0445 \u0447\u0438\u0441\u0435\u043b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0430\u0445\u043e\u0434\u044f\u0442\u0441\u044f \u0432 \u0442\u0440\u0435\u0442\u044c\u0435\u0439 \u043a\u043e\u043b\u043e\u043d\u043a\u0438 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430. (\u0421\u043a\u043e\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043e, \u044d\u0442\u043e \u0440\u0430\u0437\u0430 \u0432 3 \u0431\u044b\u0441\u0442\u0440\u0435\u0435 \u0438 \u0440\u0430\u0437\u0430 \u0432 3 \u043f\u0440\u043e\u0449\u0435 \u0447\u0435\u043c \u0434\u0435\u043b\u0430\u0442\u044c \u044d\u0442\u043e \u0432 \u041f\u0438\u0442\u043e\u043d\u0435):<\/li>\n<\/ul>\n<p>  <\/p>\n<pre><code class=\"bash\">  awk '{ x += $3 } END { print x }' myfile <\/code><\/pre>\n<p>  <\/p>\n<ul>\n<li>\u0415\u0441\u043b\u0438 \u0432\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0440\u0430\u0437\u043c\u0435\u0440\u044b \u0438 \u0434\u0430\u0442\u044b \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0434\u0440\u0435\u0432\u0430 \u0444\u0430\u0439\u043b\u043e\u0432 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435:<\/li>\n<\/ul>\n<p>  <\/p>\n<pre><code class=\"bash\">find . -type f -ls<\/code><\/pre>\n<p>  \u042d\u0442\u043e \u043f\u043e\u0447\u0442\u0438 \u043a\u0430\u043a \u0440\u0435\u043a\u0443\u0440\u0441\u0438\u0432\u043d\u0430\u044f <i>ls -l<\/i>, \u043d\u043e \u0431\u043e\u043b\u0435\u0435 \u0447\u0438\u0442\u0430\u0431\u0435\u043b\u044c\u043d\u043e \u0447\u0435\u043c <i>ls -lR<\/i>:  <\/p>\n<ul>\n<li>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 <i>xargs<\/i> (\u0438\u043b\u0438 <i>parallel<\/i>). \u042d\u0442\u043e \u043e\u0447\u0435\u043d\u044c \u043c\u043e\u0449\u043d\u0430\u044f \u0448\u0442\u0443\u043a\u0430. \u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0447\u0442\u043e \u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u043e\u043c\u0430\u043d\u0434 \u043d\u0430 \u043a\u0430\u0436\u0434\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443, \u0430 \u0442\u0430\u043a \u0436\u0435 \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c. \u0415\u0441\u043b\u0438 \u0412\u044b \u043d\u0435 \u0443\u0432\u0435\u0440\u0435\u043d\u044b, \u0447\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442\u0435 \u0447\u0442\u043e-\u0442\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e, \u043d\u0430\u0447\u043d\u0438\u0442\u0435 \u0441 <i>xargs echo<\/i>. \u0415\u0449\u0435 <i>-I{}<\/i> \u2013 \u043f\u043e\u043b\u0435\u0437\u043d\u0430\u044f \u0448\u0442\u0443\u043a\u0430. \u041f\u0440\u0438\u043c\u0435\u0440\u044b:<\/li>\n<\/ul>\n<p>  <\/p>\n<pre><code class=\"bash\">find . -name '*.py' | xargs grep some_function cat hosts | xargs -I{} ssh root@{} hostname <\/code><\/pre>\n<p>  <\/p>\n<ul>\n<li>\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043c, \u0447\u0442\u043e \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u043a\u0430\u043a\u043e\u0439-\u0442\u043e \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0439 \u0444\u0430\u0439\u043b, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u043b\u043e\u0433 \u043a\u0430\u043a\u043e\u0433\u043e-\u0442\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0438 \u043d\u0430 \u043a\u0430\u043a\u0438\u0445-\u0442\u043e \u0441\u0442\u0440\u043e\u043a\u0430\u0445 \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435, \u0441\u0442\u0440\u043e\u043a\u0438 \u0441 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043d\u0430\u043c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 <i>acct_id<\/i>. \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u043e\u0434\u0441\u0447\u0438\u0442\u0430\u0435\u043c \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0442\u0430\u043a\u0438\u0445 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u0432 \u043d\u0430\u0448\u0435\u043c \u043b\u043e\u0433\u0435:<\/li>\n<\/ul>\n<p>  <\/p>\n<pre><code class=\"bash\">  cat access.log | egrep -o 'acct_id=[0-9]+' | cut -d= -f2 | sort | uniq -c | sort -rn <\/code><\/pre>\n<p>  <\/p>\n<ul>\n<li>\u0417\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435 \u044d\u0442\u043e\u0442 \u0441\u043a\u0440\u0438\u043f\u0442 \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u0439 \u0441\u043e\u0432\u0435\u0442 \u0438\u0437 \u044d\u0442\u043e\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438:<\/li>\n<\/ul>\n<p>  <\/p>\n<pre><code class=\"bash\">  function taocl() {   curl -s https:\/\/raw.githubusercontent.com\/jlevy\/the-art-of-command-line\/master\/README-ru.md |     pandoc -f markdown -t html |     xmlstarlet fo --html --dropdtd |     xmlstarlet sel -t -v &quot;(html\/body\/ul\/li[count(p)&gt;0])[$RANDOM mod last()+1]&quot; |     xmlstarlet unesc | fmt -80 } <\/code><\/pre>\n<p>  <anchor>\u0421\u043b\u043e\u0436\u043d\u043e, \u043d\u043e \u043f\u043e\u043b\u0435\u0437\u043d\u043e<\/anchor>  <\/p>\n<h2>\u0421\u043b\u043e\u0436\u043d\u043e, \u043d\u043e \u043f\u043e\u043b\u0435\u0437\u043d\u043e<\/h2>\n<p>  <\/p>\n<ul>\n<li><b>expr<\/b>: \u0434\u043b\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0430\u0440\u0438\u0444\u043c\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0438 \u0431\u0443\u043b\u0435\u0432\u044b\u0445 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439, \u0430 \u0442\u0430\u043a \u0436\u0435 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u044b\u0445 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0439<\/li>\n<li><b>m4<\/b>: \u043f\u0440\u043e\u0441\u0442\u0435\u043d\u044c\u043a\u0438\u0439 \u043c\u0430\u043a\u0440\u043e-\u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440<\/li>\n<li><b>yes<\/b>: \u0432\u044b\u0432\u043e\u0434 \u0441\u0442\u0440\u043e\u043a\u0438 \u0432 \u0431\u0435\u0441\u043a\u043e\u043d\u0435\u0447\u043d\u043e\u043c \u0446\u0438\u043a\u043b\u0435<\/li>\n<li><b>cal<\/b>: \u043a\u043b\u0430\u0441\u0441\u043d\u044b\u0439 \u043a\u0430\u043b\u0435\u043d\u0434\u0430\u0440\u044c<\/li>\n<li><b>env<\/b>: \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u0443 (\u043f\u043e\u043b\u0435\u0437\u043d\u043e \u0432 Bash-\u0441\u043a\u0440\u0438\u043f\u0442\u0430\u0445)<\/li>\n<li><b>printenv<\/b>: print out environment variables (useful in debugging and scripts)<\/li>\n<li><b>look<\/b>: \u043d\u0430\u0439\u0442\u0438 \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u0438\u0435 \u0441\u043b\u043e\u0432\u0430 (\u0438\u043b\u0438 \u0441\u0442\u0440\u043e\u043a\u0438) \u0432 \u0444\u0430\u0439\u043b\u0435<\/li>\n<li><b>cut<\/b>:, <i>paste<\/i> \u0438 <i>join<\/i>: \u043c\u0430\u043d\u0438\u043f\u0443\u043b\u044f\u0446\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u043c\u0438<\/li>\n<li><b>fmt<\/b>: \u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u043a\u0430 \u043f\u0430\u0440\u0430\u0433\u0440\u0430\u0444\u043e\u0432 \u0432 \u0442\u0435\u043a\u0441\u0442\u0435<\/li>\n<li><b>pr<\/b>: \u043e\u0442\u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0442\u0435\u043a\u0441\u0442 \u0432 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b\/\u043a\u043e\u043b\u043e\u043d\u043a\u0438<\/li>\n<li><b>fold<\/b>: (\u043e\u0431\u0435\u0440\u043d\u0443\u0442\u044c) \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0442\u044c \u0434\u043b\u0438\u043d\u0443 \u0441\u0442\u0440\u043e\u043a \u0432 \u0444\u0430\u0439\u043b\u0435<\/li>\n<li><b>column<\/b>: \u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0442\u0435\u043a\u0441\u0442 \u0432 \u043a\u043e\u043b\u043e\u043d\u043a\u0438 \u0438\u043b\u0438 \u0442\u0430\u0431\u043b\u0438\u0446\u044b<\/li>\n<li><b>expand<\/b>: \u0438 <i>unexpand<\/i>: \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0430\u0446\u0438\u044f \u043c\u0435\u0436\u0434\u0443 \u0442\u0430\u0431\u0430\u043c\u0438 \u0438 \u043f\u0440\u043e\u0431\u0435\u043b\u0430\u043c\u0438<\/li>\n<li><b>nl<\/b>: \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043d\u043e\u043c\u0435\u0440\u0430 \u0441\u0442\u0440\u043e\u043a<\/li>\n<li><b>seq<\/b>: \u0432\u044b\u0432\u0435\u0441\u0442\u0438 \u0447\u0438\u0441\u043b\u0430<\/li>\n<li><b>bc<\/b>: \u043a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440<\/li>\n<li><b>factor<\/b>: \u0432\u043e\u0437\u0432\u0435\u0441\u0442\u0438 \u0447\u0438\u0441\u043b\u0430 \u0432 \u0441\u0442\u0435\u043f\u0435\u043d\u044c<\/li>\n<li><b>gpg<\/b>: \u0437\u0430\u0448\u0438\u0444\u0440\u043e\u0432\u0430\u0442\u044c \u0438 \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u0442\u044c \u0444\u0430\u0439\u043b\u044b<\/li>\n<li><b>toe<\/b>: \u0442\u0430\u0431\u043b\u0438\u0446\u0430 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u043e\u0432 terminfo \u0441 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435\u043c<\/li>\n<li><b>nc<\/b>: \u0434\u0435\u0431\u0430\u0433\u0433\u0438\u043d\u0433 \u0441\u0435\u0442\u0438 \u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0434\u0430\u043d\u043d\u044b\u0445<\/li>\n<li><b>socat<\/b>: \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0442\u0435\u043b\u044c \u0441\u043e\u043a\u0435\u0442\u043e\u0432 \u0438 \u043f\u0435\u0440\u0435\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 tcp-\u043f\u043e\u0440\u0442\u043e\u0432 (\u043f\u043e\u0445\u043e\u0436\u0435 \u043d\u0430 <i>netcat<\/i>)<\/li>\n<li><b>slurm<\/b>: \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0442\u0440\u0430\u0444\u0438\u043a\u0430 \u0441\u0435\u0442\u0438<\/li>\n<li><b>dd<\/b>: \u043f\u0435\u0440\u0435\u043d\u043e\u0441 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043c\u0435\u0436\u0434\u0443 \u0444\u0430\u0439\u043b\u0430\u043c\u0438 \u0438 \u0434\u0435\u0432\u0430\u0439\u0441\u0430\u043c\u0438<\/li>\n<li><b>file<\/b>: \u0443\u0437\u043d\u0430\u0442\u044c \u0442\u0438\u043f \u0444\u0430\u0439\u043b\u0430<\/li>\n<li><b>tree<\/b>: \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \u0438 \u0441\u0430\u0431\u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \u0432 \u0432\u0438\u0434\u0435 \u0434\u0435\u0440\u0435\u0432\u0430; \u043a\u0430\u043a <i>ls<\/i>, \u043d\u043e \u0440\u0435\u043a\u0443\u0440\u0441\u0438\u0432\u043d\u043e<\/li>\n<li><b>stat<\/b>: \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u0444\u0430\u0439\u043b\u0435<\/li>\n<li><b>tac<\/b>: \u0432\u044b\u0432\u0435\u0441\u0442\u0438 \u0444\u0430\u0439\u043b \u043d\u0430\u043e\u0431\u043e\u0440\u043e\u0442 (\u043b\u0430\u0441\u0438\u043f\u0430\u043d)<\/li>\n<li><b>shuf<\/b>: \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u0430\u044f \u0432\u044b\u0431\u043e\u0440\u043a\u0430 \u0441\u0442\u0440\u043e\u043a \u0438\u0437 \u0444\u0430\u0439\u043b\u0430<\/li>\n<li><b>comm<\/b>: \u043f\u043e\u0441\u0442\u0440\u043e\u0447\u043d\u043e \u0441\u0440\u0430\u0432\u043d\u0438\u0442\u044c \u043e\u0442\u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b<\/li>\n<li><b>pv<\/b>: \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433 \u043f\u0440\u043e\u0433\u0440\u0435\u0441\u0441\u0430 \u043f\u0440\u043e\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u0447\u0435\u0440\u0435\u0437 \u043f\u0430\u0439\u043f<\/li>\n<li><b>hd<\/b>: \u0438 <i>bvi<\/i>: \u0434\u0430\u043c\u043f \u0438 \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0431\u0438\u043d\u0430\u0440\u043d\u0438\u043a\u043e\u0432<\/li>\n<li><b>strings<\/b>: \u043d\u0430\u0439\u0442\u0438 \u0442\u0435\u043a\u0441\u0442 \u0432 \u0431\u0438\u043d\u0430\u0440\u043d\u0438\u043a\u0445<\/li>\n<li><b>tr<\/b>: \u043c\u0430\u043d\u0438\u043f\u0443\u043b\u044f\u0446\u0438\u044f \u0441 char (\u0441\u0438\u043c\u0432\u043e\u043b\u044c\u043d\u044b\u043c \u0442\u0438\u043f\u043e\u043c)<\/li>\n<li><b>iconv<\/b>: \u0438 <i>uconv<\/i>: \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0430\u0446\u0438\u044f \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043e\u043a<\/li>\n<li><b>split<\/b>: \u0438 <i>csplit<\/i>: \u0440\u0430\u0437\u0431\u0438\u0442\u044c \u0444\u0430\u0439\u043b\u044b<\/li>\n<li><b>sponge<\/b>: \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u0432\u0435\u0441\u044c \u0438\u043d\u043f\u0443\u0442 \u043f\u0435\u0440\u0435\u0434 \u0442\u0435\u043c, \u043a\u0430\u043a \u0435\u0433\u043e \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c, \u043f\u043e\u043b\u0435\u0437\u043d\u043e \u043a\u043e\u0433\u0434\u0430 \u0447\u0438\u0442\u0430\u0435\u0448\u044c \u0438\u0437 \u0442\u043e\u0433\u043e \u0436\u0435 \u0444\u0430\u0439\u043b\u0430, \u043a\u0443\u0434\u0430 \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0448\u044c, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0432\u043e\u0442 \u0442\u0430\u043a: <i>grep -v something some-file | sponge some-file<\/i><\/li>\n<li><b>units<\/b>: \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0435\u0440, \u043c\u0435\u0442\u0440\u044b \u0432 \u043a\u0435\u043b\u043e\u043c\u0435\u0442\u0440\u044b, \u0432\u0435\u0440\u0441\u0442\u044b \u0432 \u043f\u044f\u0434\u0438 (\u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 <i>\/usr\/share\/units\/definitions.units<\/i>)<\/li>\n<li><b>7z<\/b>: \u0430\u0440\u0445\u0438\u0432\u0430\u0442\u043e\u0440 \u0441 \u0432\u044b\u0441\u043e\u043a\u043e\u0439 \u0441\u0442\u0435\u043f\u0435\u043d\u044c\u044e \u0441\u0436\u0430\u0442\u0438\u044f<\/li>\n<li><b>ldd<\/b>: \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u043e\u0442 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0445 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a<\/li>\n<li><b>nm<\/b>: \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f \u0432\u0441\u0435\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u044b \u0432 .o \u0438\u043b\u0438 .a<\/li>\n<li><b>ab<\/b>: \u0431\u0435\u043d\u0447\u043c\u0430\u0440\u043a\u0438\u043d\u0433 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432<\/li>\n<li><b>strace<\/b>: \u0434\u0435\u0431\u0430\u0433 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0445 \u0432\u044b\u0437\u043e\u0432\u043e\u0432<\/li>\n<li><b>mtr<\/b>: \u043b\u0443\u0447\u0448\u0435\u0439 \u0442\u0440\u0430\u0441\u0441\u0438\u0440\u043e\u0432\u043a\u0430 \u0434\u043b\u044f \u0434\u0435\u0431\u0430\u0433\u0433\u0438\u043d\u0433\u0430 \u0441\u0435\u0442\u0438<\/li>\n<li><b>cssh<\/b>: \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u043e\u0432 \u0432 \u043e\u0434\u043d\u043e\u043c UI<\/li>\n<li><b>rsync<\/b>: \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0430\u0446\u0438\u044f \u0444\u0430\u0439\u043b\u043e\u0432 \u0438 \u043f\u0430\u043f\u043e\u043a \u0447\u0435\u0440\u0435\u0437 SSH<\/li>\n<li><b>wireshark<\/b>: \u0438 <i>tshark<\/i>: \u043f\u0435\u0440\u0435\u0445\u0432\u0430\u0442 \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u0438 \u0434\u0435\u0431\u0430\u0433 \u0441\u0435\u0442\u0438<\/li>\n<li><b>ngrep<\/b>: grep \u0434\u043b\u044f \u0441\u043b\u043e\u044f \u0441\u0435\u0442\u0438 (network layer)<\/li>\n<li><b>host<\/b>: \u0438 <i>dig<\/i>: \u0443\u0437\u043d\u0430\u0442\u044c DNS<\/li>\n<li><b>lsof<\/b>: \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0438\u043d\u0433 \u0434\u0438\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0440\u043e\u0432 \u0438 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u0441\u043e\u043a\u0435\u0442\u0430\u0445<\/li>\n<li><b>dstat<\/b>: \u043f\u043e\u043b\u0435\u0437\u043d\u0430\u044f \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u044b<\/li>\n<li><a href=\"https:\/\/github.com\/nicolargo\/glances\"><b>glances<\/b><\/a>: \u0432\u044b\u0441\u043e\u043a\u043e\u0443\u0440\u043e\u0432\u043d\u0435\u0432\u0430\u044f, \u043c\u043d\u043e\u0433\u043e\u0441\u0438\u0441\u0442\u0435\u043c\u043d\u0430\u044f \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430<\/li>\n<li><b>iostat<\/b>: \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 CPU \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0436\u0435\u0441\u0442\u043a\u043e\u0433\u043e \u0434\u0438\u0441\u043a\u0430<\/li>\n<li><b>htop<\/b>: \u0443\u043b\u0443\u0447\u0448\u0435\u043d\u043d\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f top<\/li>\n<li><b>last<\/b>: \u0438\u0441\u0442\u043e\u0440\u0438\u044f \u043b\u043e\u0433\u0438\u043d\u043e\u0432 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0443<\/li>\n<li><b>w<\/b>: \u043f\u043e\u0434 \u043a\u0430\u043a\u0438\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u043c \u0432\u044b \u0441\u0438\u0434\u0438\u0442\u0435<\/li>\n<li><b>id<\/b>: \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\/\u0433\u0440\u0443\u043f\u043f\u0435<\/li>\n<li><b>sar<\/b>: \u0438\u0441\u0442\u043e\u0440\u0438\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0438<\/li>\n<li><b>iftop<\/b>: \u0438\u043b\u0438 <i>nethogs<\/i>: \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0441\u0435\u0442\u0438 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u043c \u0441\u043e\u043a\u0435\u0442\u043e\u043c \u0438\u043b\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u043c<\/li>\n<li><b>ss<\/b>: \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 \u0441\u043e\u043a\u0435\u0442\u043e\u0432<\/li>\n<li><b>dmesg<\/b>: \u043e\u0448\u0438\u0431\u043a\u0438 \u0431\u0443\u0442\u0430 \u0438 \u043e\u0448\u0438\u0431\u043a\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u044b<\/li>\n<li><b>hdparm<\/b>: \u043c\u0430\u043d\u0438\u043f\u0443\u043b\u044f\u0446\u0438\u044f \u0441 SATA\/ATA<\/li>\n<li><b>lsb_release<\/b>: \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0435 Linux<\/li>\n<li><b>lsblk<\/b>: c\u043f\u0438\u0441\u043e\u043a \u0431\u043b\u043e\u0447\u043d\u044b\u0445 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0430: \u0434\u0440\u0435\u0432\u043e \u0432\u0430\u0448\u0438\u0445 \u0434\u0438\u0441\u043a\u043e\u0432 \u0438 \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0434\u0438\u0441\u043a\u043e\u0432<\/li>\n<li><b>lshw<\/b>:, <i>lscpu<\/i>, <i>lspci<\/i>, <i>lsusb<\/i>, <i>dmidecode<\/i>: \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u0436\u0435\u043b\u0435\u0437\u0435 \u0432\u043a\u043b\u044e\u0447\u0430\u044f, CPU, BIOS, RAID, \u0433\u0440\u0430\u0444\u0438\u043a\u0443, \u0434\u0435\u0432\u0430\u0439\u0441\u044b, \u0438 \u0442.\u0434.<\/li>\n<li><b>fortune<\/b>:, <i>ddate<\/i>, \u0438 <i>sl<\/i>: \u0445\u043c, \u043d\u0435 \u0437\u043d\u0430\u044e \u0431\u0443\u0434\u0443\u0442 \u043b\u0438 \u0432\u0430\u043c \u201c\u043f\u043e\u043b\u0435\u0437\u043d\u044b\u201d \u0432\u0435\u0441\u0435\u043b\u044b\u0435 \u0446\u0438\u0442\u0430\u0442\u043a\u0438 \u0438 \u043f\u043e\u0435\u0437\u0434\u0430, \u043f\u0435\u0440\u0435\u0441\u0435\u043a\u0430\u044e\u0449\u0438\u0435 \u0432\u0430\u0448 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b \ud83d\ude42<\/li>\n<\/ul>\n<p>  <anchor>MacOS only<\/anchor>  <\/p>\n<h2>MacOS only<\/h2>\n<p>  \u041d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u0435\u0449\u0438 \u0440\u0435\u043b\u0435\u0432\u0430\u043d\u0442\u043d\u044b <em>\u0442\u043e\u043b\u044c\u043a\u043e<\/em> \u0434\u043b\u044f \u041c\u0430\u043a\u0430.  <\/p>\n<ul>\n<li>\u0421\u0438\u0441\u0442\u0435\u043c\u044b \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u043f\u0430\u043a\u0435\u0442\u0430\u043c\u0438 \u2013 <i>brew<\/i> (Homebrew) \u0438 <i>port<\/i> (MacPorts). \u041e\u043d\u0438 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u044b \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c, \u0443\u043f\u043e\u043c\u044f\u043d\u0443\u0442\u044b\u0445 \u0432 \u044d\u0442\u043e\u043c \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0435.<\/li>\n<li>\u041a\u043e\u043f\u0438\u0440\u0443\u0439\u0442\u0435 \u0430\u0443\u0442\u043f\u0443\u0442 \u043a\u043e\u043d\u0441\u043e\u043b\u044c\u043d\u044b\u0445 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c \u0432 \u0434\u0435\u0441\u043a\u0442\u043e\u043f\u043d\u044b\u0435 \u0447\u0435\u0440\u0435\u0437 <i>pbcopy<\/i>, \u0438 \u0432\u0441\u0442\u0430\u0432\u043b\u044f\u0439\u0442\u0435 \u0438\u043d\u043f\u0443\u0442 \u0447\u0435\u0440\u0435\u0437 <i>pbpaste<\/i>.<\/li>\n<li>\u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u0444\u0430\u0439\u043b \u0438\u043b\u0438 \u0434\u0435\u0441\u043a\u0442\u043e\u043f\u043d\u0443\u044e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443 \u0442\u0438\u043f\u0430 Finder \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 <i>open<\/i>, \u0432\u043e\u0442 \u0442\u0430\u043a <i>open -a \/Applications\/Whatever.app<\/i>.<\/li>\n<li>Spotlight: \u0418\u0449\u0438\u0442\u0435 \u0444\u0430\u0439\u043b\u044b \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u0435 \u0447\u0435\u0440\u0435\u0437 <i>mdfind<\/i> \u0438 \u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 \u043c\u0435\u0442\u0430\u0434\u0430\u0442\u0443 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 EXIF \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0444\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0439) \u0447\u0435\u0440\u0435\u0437 <i>mdls<\/i>.<\/li>\n<li>\u041d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0439\u0442\u0435, \u0447\u0442\u043e MacOS \u043e\u0441\u043d\u043e\u0432\u0430\u043d \u043d\u0430 BSD Uni \u0438 \u043c\u043d\u043e\u0433\u0438\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 <i>ps<\/i>, <i>ls<\/i>, <i>tail<\/i>, <i>awk<\/i>, <i>sed<\/i>) \u0438\u043c\u0435\u044e\u0442 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u0435 \u0440\u0430\u0437\u043b\u0438\u0447\u0438\u044f \u0441 \u043b\u0438\u043d\u0443\u043a\u0441\u043e\u0432\u044b\u043c\u0438. \u042d\u0442\u043e \u043e\u0431\u0443\u0441\u043b\u043e\u0432\u043b\u0435\u043d\u043e \u0432\u043b\u044f\u043d\u0438\u0435\u043c <i>UNIX System V<\/i> \u0438 <i>GNU Tools<\/i>. \u0420\u0430\u0437\u043d\u0438\u0446\u0443 \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c \u0443\u0432\u0438\u0434\u0438\u0432 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a \u201cBSD General Commands Manual.\u201d \u043a \u043c\u0430\u043d\u0430\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c. \u0412 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0441\u043b\u0443\u0447\u0430\u044f\u0445, \u043d\u0430 \u041c\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c GNU-\u0432\u0435\u0440\u0441\u0438\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 <i>gawk<\/i> \u0438 <i>gsed<\/i>. \u041a\u043e\u0433\u0434\u0430 \u043f\u0438\u0448\u0438\u0442\u0435 \u043a\u0440\u043e\u0441\u0441\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435\u043d\u043d\u044b\u0435 Bash-\u0441\u043a\u0440\u0438\u043f\u0442\u044b, \u0441\u0442\u0430\u0440\u0430\u0439\u0442\u0435\u0441\u044c \u0438\u0437\u0431\u0435\u0433\u0430\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0433\u0443\u0442 \u0440\u0430\u0437\u043b\u0438\u0447\u0430\u0442\u044c\u0441\u044f (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043b\u0443\u0447\u0448\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 Python \u0438\u043b\u0438 <i>perl<\/i>), \u0438\u043b\u0438 \u0442\u0449\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0432\u0441\u0435 \u0442\u0435\u0441\u0442\u0438\u0440\u0443\u0439\u0442\u0435.<\/li>\n<\/ul>\n<p>  <anchor>\u0411\u043e\u043b\u044c\u0448\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043f\u043e \u0442\u0435\u043c\u0435<\/anchor>  <\/p>\n<h2>\u0411\u043e\u043b\u044c\u0448\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043f\u043e \u0442\u0435\u043c\u0435<\/h2>\n<p>  <\/p>\n<ul>\n<li><a href=\"https:\/\/github.com\/alebcay\/awesome-shell\">awesome-shell<\/a>: \u0414\u043e\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u044b\u0439 \u0441\u043f\u0438\u0441\u043e\u043a \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u0438 \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432 \u0434\u043b\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438.<\/li>\n<li><a href=\"http:\/\/redsymbol.net\/articles\/unofficial-bash-strict-mode\/\">Strict mode<\/a> \u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u0438\u0441\u0430\u0442\u044c \u0448\u0435\u043b\u043b-\u0441\u043a\u0440\u0438\u043f\u0442\u044b \u043b\u0443\u0447\u0448\u0435.<\/li>\n<\/ul>\n<p>  <anchor>\u0414\u0438\u0441\u043a\u043b\u0435\u0439\u043c\u0435\u0440<\/anchor>  <\/p>\n<h2>\u0414\u0438\u0441\u043a\u043b\u0435\u0439\u043c\u0435\u0440<\/h2>\n<p>  \u0417\u0430 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u043c \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c, \u0432\u0435\u0441\u044c \u043a\u043e\u0434 \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u0442\u0430\u043a, \u0447\u0442\u043e \u0434\u0440\u0443\u0433\u0438\u0435 \u0435\u0433\u043e \u0441\u043c\u043e\u0433\u0443\u0442 \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c.<br \/>  \u041a\u043e\u043c\u0443 \u043c\u043d\u043e\u0433\u043e \u0434\u0430\u043d\u043e, \u0441 \u0442\u043e\u0433\u043e \u043c\u043d\u043e\u0433\u043e \u0438 \u0441\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0435\u0442\u0441\u044f. \u0422\u043e\u0442 \u0444\u0430\u043a\u0442, \u0447\u0442\u043e \u0447\u0442\u043e-\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u0432 \u0411\u0430\u0448\u0435, \u0432\u043e\u0432\u0441\u0435 \u043d\u0435 \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442 \u0447\u0442\u043e \u043e\u043d\u043e \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u0442\u0430\u043c \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043e. \ud83d\ude09<\/p>\n<h2>\u041b\u0438\u0446\u0435\u043d\u0437\u0438\u044f<\/h2>\n<p>  <a href=\"http:\/\/creativecommons.org\/licenses\/by-sa\/4.0\/\"><img decoding=\"async\" src=\"https:\/\/i.creativecommons.org\/l\/by-sa\/4.0\/88x31.png\" alt=\"Creative Commons License\"\/><\/a><br \/>  \u041e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u0430\u044f \u0440\u0430\u0431\u043e\u0442\u0430 \u0438 \u043f\u0435\u0440\u0435\u0432\u043e\u0434 \u043d\u0430 \u0440\u0443\u0441\u0441\u043a\u0438\u0439 \u044f\u0437\u044b\u043a \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u044f\u0435\u0442\u0441\u044f \u043f\u043e\u0434 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0435\u0439 <a href=\"http:\/\/creativecommons.org\/licenses\/by-sa\/4.0\/\">Creative Commons Attribution-ShareAlike 4.0 International License<\/a>.     \t<\/p>\n<div class=\"clear\"><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/262127\/\"> http:\/\/habrahabr.ru\/post\/262127\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>     \t<img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/7d6\/ec6\/090\/7d6ec6090066518746d473fc99a80ba7.png\" width=\"370\"\/><\/p>\n<p>  \u0412\u043e\u0442 \u0443\u0436\u0435 \u043a\u0430\u043a \u043d\u0435\u0434\u0435\u043b\u044e \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f <b>the art of command line<\/b> \u0432\u0438\u0441\u0438\u0442 \u0432 \u0441\u0435\u043a\u0446\u0438\u0438 trending \u043d\u0430 Github. \u0414\u043b\u044f \u0441\u0435\u0431\u044f \u044f \u043d\u0430\u0448\u0435\u043b \u044d\u0442\u043e\u0442 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b \u043d\u0435\u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u043c \u0438 \u0440\u0435\u0448\u0438\u043b \u043f\u043e\u043c\u043e\u0447\u044c \u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u0443 \u0435\u0433\u043e \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u043e\u043c \u043d\u0430 \u0440\u0443\u0441\u0441\u043a\u0438\u0439 \u044f\u0437\u044b\u043a. \u0412 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0435 \u043d\u0430\u0432\u0435\u0440\u043d\u044f\u043a\u0430 \u0435\u0441\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043d\u0435\u0434\u043e\u0440\u0430\u0431\u043e\u0442\u043e\u043a, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043c\u0438\u043b\u043e\u0441\u0442\u0438 \u043f\u0440\u043e\u0448\u0443 \u0441\u043b\u0430\u0442\u044c \u043f\u0443\u043b\u043b-\u0440\u0435\u043a\u0432\u0435\u0441\u0442\u044b \u043c\u043d\u0435 <a href=\"https:\/\/github.com\/olegberman\/the-art-of-command-line\">\u0441\u044e\u0434\u0430<\/a> \u0438\u043b\u0438 \u0430\u0432\u0442\u043e\u0440\u0443 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b <a href=\"https:\/\/github.com\/jlevy\">Joshua Levy<\/a> <a href=\"https:\/\/github.com\/jlevy\/the-art-of-command-line\">\u0432\u043e\u0442 \u0441\u044e\u0434\u0430<\/a>. (\u0415\u0441\u043b\u0438 PR \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u0435 \u043c\u043d\u0435, \u0442\u043e \u044f \u043f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u043f\u0435\u0440\u0435\u0441\u043c\u043e\u0442\u0440\u044e \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044e \u0438\u0445 \u0432 \u043c\u0430\u0441\u0442\u0435\u0440-\u0431\u0440\u0430\u043d\u0447 \u0414\u0436\u043e\u0448\u0430). \u041e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0435 \u0441\u043f\u0430\u0441\u0438\u0431\u043e  <a href=\"http:\/\/habrahabr.ru\/users\/jtraub\/\" class=\"user_link\">jtraub<\/a> \u0437\u0430 \u043f\u043e\u043c\u043e\u0449\u044c \u0438 \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043e\u043f\u0435\u0447\u0430\u0442\u043e\u043a.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-261008","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/261008","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=261008"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/261008\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=261008"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=261008"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=261008"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}