{"id":363,"date":"2012-05-03T08:19:20","date_gmt":"2012-05-03T06:19:20","guid":{"rendered":"http:\/\/bos-info.com\/?p=363"},"modified":"2015-04-17T08:02:02","modified_gmt":"2015-04-17T06:02:02","slug":"freebsd-commands","status":"publish","type":"post","link":"https:\/\/bos-info.com\/?p=363","title":{"rendered":"FreeBSD commands"},"content":{"rendered":"<p>\u0414\u043b\u044f \u0441\u0430\u043c\u044b\u0445 \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0445 \u0438 \u0434\u043b\u044f \u043c\u0435\u043d\u044f, \u0432\u0434\u0440\u0443\u0433 \u0447\u0435 \u0437\u0430\u0431\u0443\u0434\u0443<br \/>\n\u0411\u0443\u0434\u0435\u0442 \u043e:<br \/>\n1. \u0421\u043f\u0440\u0430\u0432\u043a\u0430 \u0438 \u0433\u0434\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043f\u043e\u043c\u043e\u0449\u044c<br \/>\n2. \u0420\u0430\u0431\u043e\u0442\u0430 \u0441 \u0444\u0430\u0439\u043b\u0430\u043c\u0438<br \/>\n3. \u0423\u0442\u0438\u043b\u0438\u0442\u044b \u043f\u043e\u0438\u0441\u043a\u0430<br \/>\n4. \u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u043f\u0435\u0439\u0434\u0436\u0435\u0440\u044b<br \/>\n<!--more--> <\/p>\n<p>1. \u0421\u043f\u0440\u0430\u0432\u043a\u0430<\/p>\n<p>\u0420\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u043e \u043f\u043e FreeBSD \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 \u0434\u0435\u0432\u044f\u0442\u0438 \u0440\u0430\u0437\u0434\u0435\u043b\u043e\u0432. \u042d\u0442\u0438 \u0440\u0430\u0437\u0434\u0435\u043b\u044b \u0432\u044b\u0433\u043b\u044f\u0434\u044f\u0442 \u0442\u0430\u043a:<br \/>\n1.General commands (\u041e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b)<br \/>\n2.System calls and error numbers (\u0421\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0435 \u0432\u044b\u0437\u043e\u0432\u044b \u0438 \u043a\u043e\u0434\u044b \u043e\u0448\u0438\u0431\u043e\u043a)<br \/>\n3.The \u0421 libraries(\u0411\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u0421)<br \/>\n4.Devices and device drivers (\u0423\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u0438 \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u044b \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432)<br \/>\n5.File formats(\u0424\u043e\u0440\u043c\u0430\u0442\u044b \u0444\u0430\u0439\u043b\u043e\u0432)<br \/>\n6.Game instructions (\u0418\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u043a \u0438\u0433\u0440\u0430\u043c)<br \/>\n7.Miscellaneous information(\u0412\u0441\u044f\u043a\u0430\u044f \u0432\u0441\u044f\u0447\u0438\u043d\u0430)<br \/>\n8.System maintenance commands(\u041a\u043e\u043c\u0430\u043d\u0434\u044b \u043e\u0431\u0441\u043b\u0443\u0436\u0438\u0432\u0430\u043d\u0438\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u044b)<br \/>\n9.Kernel system interfaces(\u0421\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0435 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u044b \u044f\u0434\u0440\u0430)<\/p>\n<p>\u0414\u043b\u044f \u0442\u043e\u0433\u043e \u0447\u0442\u043e\u0431\u044b \u0447\u0438\u0442\u0430\u0442\u044c man \u0432 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u043c \u0440\u0430\u0437\u0434\u0435\u043b\u0435 \u043d\u0443\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441:<br \/>\n<code><br \/>\nman N name<br \/>\n\u0413\u0434\u0435 N \u043d\u043e\u043c\u0435\u0440 \u0440\u0430\u0437\u0434\u0435\u043b\u0430 \u0441\u043f\u0440\u0430\u0432\u043a\u0438, \u0430 name \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b<br \/>\n\u041f\u0440\u0438\u043c\u0435\u0440:<br \/>\nman 4 pf<br \/>\n<\/code><\/p>\n<p>\u0421\u0435\u043a\u0446\u0438\u0438 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u043f\u043e\u043c\u043e\u0449\u0438:<br \/>\nNAME \u2013 \u0438\u043c\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u0441 \u043e\u0447\u0435\u043d\u044c \u043a\u0440\u0430\u0442\u043a\u0438\u043c \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435\u043c \u043f\u0440\u0435\u0434\u043c\u0435\u0442\u0430 (\u043e\u0434\u043d\u0430 \u0441\u0442\u0440\u043e\u043a\u0430)<br \/>\nSYNOPSIS \u2013 \u0441\u0438\u043d\u043e\u043f\u0441\u0438\u0441, \u043a\u0440\u0430\u0442\u043a\u0438\u0439 \u043e\u0431\u0437\u043e\u0440<br \/>\nDESCRIPTION \u2013 \u043f\u043e\u043b\u043d\u043e\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043f\u0440\u0435\u0434\u043c\u0435\u0442\u0430 \u0441\u043f\u0440\u0430\u0432\u043a\u0438<br \/>\nENVIRONMENT \u2013 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f<br \/>\nEXIT STATUS \u2013 \u043a\u043e\u0434\u044b \u0432\u043e\u0437\u0432\u0440\u0430\u0442\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c<br \/>\nEXAMPLES \u2013 \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f<br \/>\nSEE ALSO \u2013 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u043c\u044b\u0435 man \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438<\/p>\n<p><strong>apropos<\/strong> &#8211; \u043e\u0442\u044b\u0449\u0435\u0442 \u0432\u0441\u0435 \u0441\u0442\u0440 \u0432 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0438 \u0438\u043b\u0438 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0438 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u0435\u0442\u0441\u044f \u0438\u0441\u043a\u043e\u043c\u043e\u0435 \u0441\u043b\u043e\u0432\u043e<br \/>\n<strong>whatis<\/strong> &#8211; \u043e\u0442\u044b\u0449\u0435\u0442 \u0432\u0441\u0435 \u0441\u0442\u0440 \u0432 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0438 \u0438\u043b\u0438 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0438 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u0435\u0442\u0441\u044f \u0438\u0441\u043a\u043e\u043c\u043e\u0435 \u0441\u043b\u043e\u0432\u043e \u0426\u0415\u041b\u0418\u041a\u041e\u041c<br \/>\n\u042d\u0442\u0438 2 \u0443\u0442\u0438\u043b\u0438\u0442\u043a\u0438 \u0438\u0449\u0443\u0442 \u043f\u043e \u0438\u043d\u0434\u0435\u043a\u0441\u0443 \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u043e\u043c\u0443 \u0438\u0437 \u0441\u0435\u043a\u0446\u0438\u0438 NAME<br \/>\n\u0415\u0441\u043b\u0438 \u0432\u044b  \u0432\u0434\u0440\u0443\u0433 \u043f\u043e\u043c\u0435\u043d\u044f\u043b\u0438 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u043c\u0430\u043d\u0430, \u0434\u043b\u044f \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u043e\u0438\u0441\u043a\u0430 \u043d\u0443\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0438\u043d\u0434\u0435\u043a\u0441 <strong>makewhatis<\/strong> <\/p>\n<p>\u0421\u0430\u0439\u0442\u0438\u043a\u0438 \u0433\u0434\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0438\u0441\u043a\u0430\u0442\u044c:<br \/>\n1.\twww.google.com\/bsd<br \/>\n\u043f\u043e\u0438\u0441\u043a \u043f\u043e \u0441\u0430\u0439\u0442\u0443 site:freebsd.org<br \/>\n2.\tfreebsd.rambler.ru<br \/>\n3.\thttp:\/\/www.daemonnews.org<br \/>\n4.\thttp:\/\/www.onlamp.com\/bsd<br \/>\nFreeBSD-security-notifications@FreeBSD.org,  \u0440\u0430\u0441\u0441\u044b\u043b\u043a\u0430 \u043f\u043e\u0441\u0432\u044f\u0449\u0435\u043d\u043d\u0430\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430\u043c \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438<\/p>\n<p>2. \u041e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0444\u0430\u0439\u043b\u0430\u043c\u0438<\/p>\n<p>\u0412\u043e \u0424\u0440\u0435 \u0432\u0441\u0435 \u044d\u0442\u043e \u0424\u0410\u0419\u041b\u042b!!! \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u044d\u0442\u043e \u0442\u043e\u0436\u0435 \u0444\u0430\u0439\u043b\u044b:)<br \/>\n\u0412 UNIX \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0442 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u0432\u0438\u0434\u044b \u0444\u0430\u0439\u043b\u043e\u0432, \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442\u0441\u044f \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0430\u0445 \u0444\u0430\u0439\u043b\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0434\u043b\u044f \u044d\u0442\u0438\u0445 \u0444\u0430\u0439\u043b\u043e\u0432. \u0412\u0441\u0435\u0433\u043e \u0432 UNIX \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 6 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0432\u0438\u0434\u043e\u0432 \u0444\u0430\u0439\u043b\u043e\u0432:<br \/>\n\u2022 \u041e\u0431\u044b\u0447\u043d\u044b\u0439 \u0444\u0430\u0439\u043b (regular file)<br \/>\n\u2022 \u041a\u0430\u0442\u0430\u043b\u043e\u0433 (directory)<br \/>\n\u2022 \u0421\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u0444\u0430\u0439\u043b \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 (special device file)<br \/>\n\u2022 FIFO, \u0438\u043b\u0438 \u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043a\u0430\u043d\u0430\u043b (named pipe)<br \/>\n\u2022 \u0421\u0438\u043c\u0432\u043e\u043b\u044c\u043d\u0430\u044f \u0441\u0441\u044b\u043b\u043a\u0430 (symbol link)<br \/>\n\u2022 \u0421\u043e\u043a\u0435\u0442 (socket)<\/p>\n<p>\u0414\u043b\u044f \u0444\u0440\u0438 \u043d\u0435\u0432\u0430\u0436\u043d\u043e \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435. \u041e\u043d\u0430 \u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0438\u0438 \u043c\u0430\u0433\u0438\u0438!  \u0412\u0435\u0440\u043d\u0435\u0435 magic numbers.<br \/>\n\u0423\u0437\u043d\u0430\u0442\u044c \u0442\u0438\u043f \u0444\u0430\u0439\u043b\u0430 \u043c\u043e\u0436\u043d\u043e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0443\u0442\u0438\u043b\u0438\u0442\u044b <strong>file<\/strong>:<\/p>\n<p><code><br \/>\n%file \/etc\/rc.conf<br \/>\n\/etc\/rc.conf: ASCII text<br \/>\n%file \/bin\/sh<br \/>\n\/bin\/sh: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), dynamically linked (uses shared libs), for FreeBSD 9.0 (900044), stripped<br \/>\n<\/code><\/p>\n<p><strong>ls (list files)<\/strong> \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0430 \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0433\u043e \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u043e\u0432 \u0438 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043e \u0444\u0430\u0439\u043b\u0430\u0445.<br \/>\nls -a   \u0432\u044b\u0432\u043e\u0434 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e ( \u0441\u043e \u0441\u043a\u0440\u044b\u0442\u044b\u043c\u0438 \u0444\u0430\u0439\u043b\u0430\u043c\u0438 \u0438 \u043f\u0430\u043f\u043a\u0430\u043c\u0438 )<br \/>\nls -l   \u0432\u044b\u0432\u043e\u0434 \u0432 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0439 \u0444\u043e\u0440\u043c\u0435 ( \u0441 \u043f\u0440\u0430\u0432\u0430\u043c\u0438, \u0440\u0430\u0437\u043c\u0435\u0440\u043e\u043c, \u0434\u0430\u0442\u0430\u043c\u0438 \u0438 \u0442.\u0434.);<br \/>\nls -i   \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u0442\u0430\u043a\u0436\u0435 inode \u0444\u0430\u0439\u043b\u0430<br \/>\n\u041f\u0440\u0438\u043c\u0435\u0440\u044b:<br \/>\n<code><br \/>\n%ls<br \/>\nf1      f2      f3<br \/>\n%ls -la<br \/>\ntotal 12<br \/>\ndrwxr-xr-x  2 root  bos  512 16 \u043c\u0430\u0440 19:14 .<br \/>\ndrwxr-xr-x  5 bos   bos  512 29 \u0430\u043f\u0440 13:36 ..<br \/>\n-rw-r--r--  2 root  bos   19 16 \u043c\u0430\u0440 19:15 f1<br \/>\n-rw-r--r--  1 root  bos    0 16 \u043c\u0430\u0440 19:10 f2<br \/>\n-rw-r--r--  1 root  bos    0 16 \u043c\u0430\u0440 19:10 f3<br \/>\n<\/code><\/p>\n<p><strong>pwd<\/strong> (print working directory) \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0442\u0435\u043a\u0443\u0449\u0438\u0439 \u0440\u0430\u0431\u043e\u0447\u0438\u0439 \u043a\u0430\u0442\u0430\u043b\u043e\u0433.<br \/>\n<code><br \/>\n%pwd<br \/>\n\/usr\/home\/bos\/A<br \/>\n<\/code><\/p>\n<p><strong>cd<\/strong> (change directory) \u043c\u0435\u043d\u044f\u0435\u0442 \u0442\u0435\u043a\u0443\u0449\u0438\u0439 \u0440\u0430\u0431\u043e\u0447\u0438\u0439 \u043a\u0430\u0442\u0430\u043b\u043e\u0433.<br \/>\n\u041f\u0443\u0442\u044c \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u043c, \u0430 \u043c\u043e\u0436\u0435\u0442 \u0438 \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u044b\u043c(\u043d\u0430\u0447\u0438\u043d\u0430\u0442\u044c\u0441\u044f \u0441 \/ )<br \/>\n<code><br \/>\ncd     - \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 \u0434\u043e\u043c\u0430\u0448\u043d\u0438\u0439 \u043a\u0430\u0442\u0430\u043b\u043e\u0433<br \/>\ncd ..  - \u043f\u043e\u0434\u043d\u044f\u0442\u044c\u0441\u044f \u043d\u0430 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u0432\u044b\u0448\u0435<br \/>\ncd ~root - \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 \u0434\u043e\u043c\u0430\u0448\u043d\u0438\u0439 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u0437\u0430\u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f<br \/>\ncd -     - \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0439 \u043a\u0430\u0442\u0430\u043b\u043e\u0433<br \/>\n<\/code><\/p>\n<p><strong>touch<\/strong> \u043c\u0435\u043d\u044f\u0435\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u043c\u0435\u0442\u043a\u0438 \u0444\u0430\u0439\u043b\u0430 \u0438 \u0438\u043c\u0435\u0435\u0442 \u043f\u043e\u0431\u043e\u0447\u043d\u043e\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0433\u043e\u0440\u0430\u0437\u0434\u043e \u0447\u0430\u0449\u0435, \u0447\u0435\u043c \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0435 \u2013 \u0435\u0441\u043b\u0438 \u0444\u0430\u0439\u043b\u0430 \u0441 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u043c \u0438\u043c\u0435\u043d\u0435\u043c \u043d\u0435\u0442, \u0441\u043e\u0437\u0434\u0430\u0435\u0442\u0441\u044f \u043f\u0443\u0441\u0442\u043e\u0439 \u0444\u0430\u0439\u043b.<br \/>\n<code><br \/>\n%ls -la | grep -E '[[:space:]]f.*'<br \/>\n-rw-r--r--  1 bos   bos       0  2 \u043c\u0430\u0439 13:20 ft1<br \/>\n-rw-r--r--  1 bos   bos       0  2 \u043c\u0430\u0439 13:20 ft2<br \/>\n%touch ft1<br \/>\n%touch ft3<br \/>\n%ls -la | grep -E '[[:space:]]f.*'<br \/>\n-rw-r--r--  1 bos   bos       0  2 \u043c\u0430\u0439 13:22 ft1<br \/>\n-rw-r--r--  1 bos   bos       0  2 \u043c\u0430\u0439 13:20 ft2<br \/>\n-rw-r--r--  1 bos   bos       0  2 \u043c\u0430\u0439 13:22 ft3<br \/>\n<\/code><\/p>\n<p><strong>mkdir<\/strong> (make directory) \u0441\u043e\u0437\u0434\u0430\u0435\u0442 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0438, \u0435\u0441\u043b\u0438 \u0443\u043a\u0430\u0437\u0430\u043d\u0430  -p \u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u0438 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u044b\u0435 \u041f\u0440\u0438\u043c\u0435\u0440\u044b:<br \/>\n<code><br \/>\n% mkdir \/tmp\/test<br \/>\n% mkdir -p \/tmp\/a\/b\/c<br \/>\n% mkdir ololo<br \/>\n<\/code><br \/>\n<strong><br \/>\nrm<\/strong><br \/>\n -r \u0438\u043b\u0438 -R  \u0443\u0434\u0430\u043b\u044f\u0435\u0442 \u0444\u0430\u0439\u043b\u044b \u0438 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0438, \u0432 \u0442.\u0447. \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0438 \u0441 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u044b\u043c<br \/>\n -f \u043f\u043e\u0434\u0430\u0432\u043b\u044f\u0435\u0442 \u0432\u044b\u0432\u043e\u0434 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043f\u0440\u0438 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0438 \u0444\u0430\u0439\u043b\u043e\u0432, \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445 \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f) \u0438 \u043e\u0448\u0438\u0431\u043e\u043a \u043f\u0440\u0438 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0438,<br \/>\n -i  \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u0437\u0430\u043f\u0440\u043e\u0441 \u043f\u0440\u0438 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0438 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430.<br \/>\n -P  \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u0444\u0430\u0439\u043b\u0430 \u043f\u0435\u0440\u0435\u0434 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0435\u043c<br \/>\n -W  \u043f\u044b\u0442\u0430\u0435\u0442\u0441\u044f \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u044b\u0439 \u0444\u0430\u0439\u043b(ufs only)<br \/>\n\u041f\u0440\u0438\u043c\u0435\u0440\u044b:<br \/>\n<code><br \/>\n% rm -r \/tmp\/test<br \/>\n# rm -rf  \/*   \u043d\u0435 \u0434\u0435\u043b\u0430\u0439\u0442\u0435 \u0442\u0430\u043a:)<br \/>\n%rm ft3<br \/>\n%rm -i ft*<br \/>\nremove ft1? y<br \/>\nremove ft2? y<br \/>\n%ls -la | grep -E '[[:space:]]f.*'<br \/>\n<\/code><\/p>\n<p><strong>rmdir<\/strong> \u0443\u0434\u0430\u043b\u044f\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0443\u0441\u0442\u044b\u0435 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0438.<br \/>\n-p \u0443\u0434\u0430\u043b\u044f\u044e\u0442\u0441\u044f \u0438 \u0440\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0435 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0438 \u0446\u0435\u043b\u0435\u0432\u043e\u0433\u043e \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0430, \u0435\u0441\u043b\u0438 \u043e\u043d\u0438 \u043f\u0443\u0441\u0442\u044b.<br \/>\n<code><br \/>\n% rmdir \/tmp\/test<br \/>\n% rmdir -p \/tmp\/a\/b\/c<br \/>\n<\/code><\/p>\n<p><strong>cp<\/strong> \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0444\u0430\u0439\u043b\u0438 \u0438 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0438 (\u043e\u043f\u0446\u0438\u044f -r \u0438\u043b\u0438 -R).<br \/>\n\u041f\u0440\u0438 \u0435\u0451 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u0447\u0430\u0441\u0442\u043e \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u044e\u0442\u0441\u044f \u0448\u0430\u0431\u043b\u043e\u043d\u044b \u0448\u0435\u043b\u043b\u0430. \u0412 \u043e\u0431\u0449\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435, \u043a\u043e\u043c\u0430\u043d\u0434\u0430 cp \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u043d\u0435 \u043c\u0435\u043d\u0435\u0435 \u0434\u0432\u0443\u0445 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432: \u0447\u0442\u043e \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438 \u043a\u0443\u0434\u0430 \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c.<br \/>\n<code><br \/>\n% cp file1 dir1\/<br \/>\n% cp -r dir1\/ dir2\/<br \/>\n<\/code><\/p>\n<p><strong>mv<\/strong> \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0430 \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0435\u043d\u0438\u044f \u0438 \u043f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u044f \u0444\u0430\u0439\u043b\u043e\u0432 \u0438 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u043e\u0432. \u041f\u0440\u0438 \u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0435\u043d\u0438\u0438 \u0432\u043d\u0443\u0442\u0440\u0438 \u043e\u0434\u043d\u043e\u0433\u043e \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0430 \u0438\u043c\u044f \u0438\u0441\u0445\u043e\u0434\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430\/\u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0430 \u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u043d\u0430 \u043d\u043e\u0432\u043e\u0435, \u0447\u0442\u043e \u044d\u043a\u0432\u0438\u0432\u0430\u043b\u0435\u043d\u0442\u043d\u043e \u043f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u044e. \u041f\u0440\u0438 \u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0435\u043d\u0438\u0438 \u0432\u043d\u0443\u0442\u0440\u0438 \u043e\u0434\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u0434\u0435\u043b\u0430 (\u043e\u0434\u043d\u043e\u0439 \u0444\u0430\u0439\u043b\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b) \u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0436\u0435\u0441\u0442\u043a\u0430\u044f \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0431\u044a\u0435\u043a\u0442 \u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043e\u0447\u0435\u043d\u044c \u0431\u044b\u0441\u0442\u0440\u043e. \u041f\u0440\u0438 \u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0435\u043d\u0438\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u043c\u0435\u0436\u0434\u0443 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u043c\u0438 \u0444\u0430\u0439\u043b\u043e\u0432\u044b\u043c\u0438 c\u0438\u0441\u0442\u0435\u043c\u0430\u043c\u0438 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0441 \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0435\u043c \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0430, \u0442\u0430\u043a \u0447\u0442\u043e \u0432\u0440\u0435\u043c\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u043e\u0442 \u043e\u0431\u044a\u0435\u043c\u0430 \u0434\u0430\u043d\u043d\u044b\u0445.<br \/>\n<code><br \/>\n%mv file2 file3  - \u043f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043b\u0438 \u0444\u0430\u0439\u043b<br \/>\n%mv file3 dir1\/  - \u043f\u0435\u0440\u0435\u043c\u0435\u0441\u0442\u0438\u043b\u0438 \u0444\u0430\u0439\u043b \u0432 dir1<br \/>\n<\/code><\/p>\n<p><strong>ln<\/strong> \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u0441\u0438\u043c\u0432\u043e\u043b\u044c\u043d\u044b\u0435 (\u0441 \u043e\u043f\u0446\u0438\u0435\u0439 -s) \u0438 \u0436\u0435\u0441\u0442\u043a\u0438\u0435 (\u0431\u0435\u0437 \u043e\u043f\u0446\u0438\u0438 -s) \u0441\u0441\u044b\u043b\u043a\u0438.<br \/>\n\u0436\u0435\u0441\u0442\u043a\u0430\u044f \u0441\u0441\u044b\u043b\u043a\u0430 \u043f\u0440\u0438 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0438 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u0430, \u0434\u0430\u043d\u043d\u044b\u0435 \u0432\u0441\u0435 \u0440\u0430\u0432\u043d\u043e \u0431\u0443\u0434\u0443\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b<br \/>\n\u2013s   \u0431\u0443\u0434\u0435\u0442 \u0441\u043e\u0437\u0434\u0430\u043d\u0430 \u043c\u044f\u0433\u043a\u0430\u044f \u0441\u0441\u044b\u043b\u043a\u0430(\u043a\u0430\u043a \u044f\u0440\u043b\u044b\u043a \u0432 \u0432\u0438\u043d\u0434\u0435) \u043f\u0440\u0438 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0438 \u044f\u0440\u043b\u044b\u043a\u0430 \u0441 \u0444\u0430\u0439\u043b\u043e\u043c \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0441\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f, \u043f\u0440\u0438 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0438 \u0444\u0430\u0439\u043b\u0430, \u044f\u0440\u043b\u044b\u043a \u0441\u0441\u044b\u043b\u0430\u0435\u0442\u0441\u044f \u043d\u0430 \u043f\u0443\u0441\u0442\u043e\u0435 \u043c\u0435\u0441\u0442\u043e<br \/>\n<code><br \/>\n%ln -s \/etc\/rc.conf file4<br \/>\n<\/code><\/p>\n<p><strong>cat<\/strong> \u0432\u044b\u0432\u043e\u0434 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430<\/p>\n<p><strong>more less<\/strong> \u0432\u044b\u0432\u043e\u0434\u044f\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u0444\u0430\u0439\u043b\u0430 \u0441 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c\u044e \u043f\u0440\u043e\u043a\u0440\u0443\u0442\u043a\u0438 \u0438 \u043f\u043e\u0438\u0441\u043a\u0430<\/p>\n<p><strong>df<\/strong> \u0414\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0440\u0430\u0437\u0434\u0435\u043b\u043e\u0432 \u0434\u0438\u0441\u043a\u043e\u0432 (\u0441\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0444\u0430\u0439\u043b\u043e\u0432\u044b\u0445<br \/>\n\u0441\u0438\u0441\u0442\u0435\u043c)<br \/>\n\u2013 h (human-readable, \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u0447\u0438\u0441\u043b\u043e\u0432\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 \u0432\u0438\u0434\u0435, \u0443\u0434\u043e\u0431\u043d\u043e\u043c \u0434\u043b\u044f \u0432\u043e\u0441\u043f\u0440\u0438\u044f\u0442\u0438\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u043c)<br \/>\n&#8211; t (\u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0442\u043e\u043b\u044c\u043a\u043e \u043e \u0444\u0430\u0439\u043b\u043e\u0432\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0433\u043e \u0442\u0438\u043f\u0430)<br \/>\n<code><br \/>\n%df -ht ufs<br \/>\nFilesystem    Size    Used   Avail Capacity  Mounted on<br \/>\n\/dev\/ada0a      1G    551M    375M    59%    \/<br \/>\n\/dev\/ada0d      5G    3.4G    1.2G    74%    \/usr<br \/>\n\/dev\/ada0e    1.9G    222M    1.6G    12%    \/var<br \/>\n<\/code><\/p>\n<p><strong>du<\/strong> (disk usage) \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0443 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0434\u0438\u0441\u043a\u043e\u0432\u043e\u0433\u043e \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0430 \u043d\u0435 \u043f\u043e \u0440\u0430\u0437\u0434\u0435\u043b\u0430\u043c \u0446\u0435\u043b\u0438\u043a\u043e\u043c, \u0430 \u0434\u043b\u044f \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u0445 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0445 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u043e\u0432.<br \/>\n&#8211; h \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0432 \u0432\u0438\u0434\u0435 \u0443\u0434\u043e\u0431\u043d\u043e\u043c \u0434\u043b\u044f \u0432\u043e\u0441\u043f\u0440\u0438\u044f\u0442\u0438\u044f \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u043e\u043c<br \/>\n&#8211; s (summary)  \u044d\u043a\u0432\u0438\u0432\u0430\u043b\u0435\u043d\u0442\u043d\u0430 -d 0<br \/>\n&#8211; d \u0447\u0438\u0441\u043b\u043e (depth) \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0442 \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u0443\u044e \u0441\u0442\u0435\u043f\u0435\u043d\u044c \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u0438 (\u0433\u043b\u0443\u0431\u0438\u043d\u0443) \u0432\u044b\u0432\u043e\u0434\u0438\u043c\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438.<br \/>\n<code><br \/>\n%du -h<br \/>\n8,0k    .\/A<br \/>\n8,0k    .\/B<br \/>\n4,0k    .\/.mc\/cedit<br \/>\n 28k    .\/.mc<br \/>\n116k    .<br \/>\n<\/code><\/p>\n<p><strong>which <\/strong> \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c (\u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u044b\u0445 \u0444\u0430\u0439\u043b\u043e\u0432), \u0438\u0449\u0435\u0442 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0430\u0445, \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u043d\u044b\u0445 \u0432 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f PATH.<br \/>\n<strong>whereis<\/strong> \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u0430 \u043f\u043e \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044e, \u043d\u043e \u0438\u0449\u0435\u0442 \u0442\u0430\u043a\u0436\u0435 \u0441\u0440\u0435\u0434\u0438 man \u0441\u0442\u0440\u0430\u043d\u0438\u0446 \u0438 \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0430\u0445 \u0441 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u043c\u0438 \u0442\u0435\u043a\u0441\u0442\u0430\u043c\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c. \u041f\u0440\u0438\u043c\u0435\u0440\u044b:<br \/>\n<code><br \/>\n% which ls<br \/>\n\/bin\/ls<br \/>\n% whereis ls<br \/>\nls: \/bin\/ls \/usr\/share\/man\/man1\/ls.1.gz<br \/>\n<\/code><\/p>\n<p><strong>locate<\/strong> \u041f\u043e\u0438\u0441\u043a \u0444\u0430\u0439\u043b\u043e\u0432 \u043f\u043e \u0438\u043c\u0435\u043d\u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0437\u0430\u0440\u0430\u043d\u0435\u0435 \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u043e\u0439 \u0438\u043d\u0434\u0435\u043a\u0441\u043d\u043e\u0439 \u0411\u0414.<br \/>\n<strong>\/usr\/libexec\/locate.updatedb<\/strong>  c\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0438\u043d\u0434\u0435\u043a\u0441\u043d\u043e\u0439 \u0431\u0430\u0437\u044b<br \/>\n\u0410\u043d\u0430\u043b\u043e\u0433 \u0441\u043b\u0443\u0436\u0431\u044b \u0438\u043d\u0434\u0435\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0432\u0438\u043d\u0434\u044b, \u0438\u043d\u0434\u0435\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0443\u0436\u043d\u043e \u0440\u0443\u043a\u0430\u043c\u0438 \u0438\u043b\u0438 \u043f\u043e \u043a\u0440\u043e\u043d\u0443:)<\/p>\n<p><strong>tail<\/strong> \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 \u0441\u0442\u0440\u043e\u043a\u0438 \u0444\u0430\u0439\u043b\u0430<br \/>\n-n \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u0441\u044f n \u0441\u0442\u0440\u043e\u043a<br \/>\n<code><br \/>\n% tail -n 5 \/var\/log\/messages<br \/>\n<\/code><\/p>\n<p><strong>head<\/strong> \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u043f\u0435\u0440\u0432\u044b\u0435 \u0441\u0442\u0440\u043e\u043a\u0438 \u0444\u0430\u0439\u043b\u0430<br \/>\n-n \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u0441\u044f n \u0441\u0442\u0440\u043e\u043a<br \/>\n<code><br \/>\n%head -n 5 \/var\/log\/messages<br \/>\n<\/code><\/p>\n<p><strong>cut<\/strong> \u0432\u044b\u0440\u0435\u0437\u0430\u0442\u044c \u0438\u0437 \u0432\u0445\u043e\u0434\u043d\u043e\u0433\u043e \u043f\u043e\u0442\u043e\u043a\u0430 \u0438\u043b\u0438 \u0444\u0430\u0439\u043b\u0430 \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u044b \u0441\u0442\u0440\u043e\u043a,<br \/>\n-\u0441 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u043c \u043f\u043e\u0437\u0438\u0446\u0438\u044f\u043c \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u0432 \u0441\u0442\u0440\u043e\u043a\u0435<br \/>\n-f \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u043c \u043f\u043e\u043b\u044f\u043c, \u0441\u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u0444\u0430\u0439\u043b \u0438\u043c\u0435\u0435\u0442 \u0442\u0430\u0431\u043b\u0438\u0447\u043d\u0443\u044e \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 (\u0442. \u0435. \u0440\u0430\u0437\u0431\u0438\u0442 \u043d\u0430 \u043a\u043e\u043b\u043e\u043d\u043a\u0438)<br \/>\n-d \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u0435\u043b\u044c \u043f\u043e\u043b\u0435\u0439. \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0442\u0430\u0431\u0443\u043b\u044f\u0446\u0438\u044f<br \/>\n<code><br \/>\ncut -d: f1,7  \/etc\/passwd \u0432\u044b\u0432\u0435\u0441\u0442\u0438 1\u0439 \u0438 7\u0439 \u0441\u0442\u043e\u043b\u0431\u0438\u043a \u0438\u0437 \u0444\u0430\u0439\u043b\u0430<br \/>\ncut -c1-5 \/etc\/passwd     \u0432\u044b\u0432\u0435\u0441\u0442\u0438 \u0441\u0438\u043c\u0432\u043e\u043b\u044b, \u0432 \u043a\u0430\u0436\u0434\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0435, \u0441 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u043f\u043e \u043f\u044f\u0442\u044b\u0439<br \/>\n<\/code><\/p>\n<p><strong>Paste<\/strong> \u043f\u0440\u043e\u0442\u0438\u0432\u043e\u043f\u043e\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u044c cut, \u0432\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u044b \u0441\u0442\u0440\u043e\u043a \u0438 \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u043d\u0430 \u044d\u043a\u0440\u0430\u043d<br \/>\n-d  \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u0435\u043b\u044c \u043f\u043e\u043b\u0435\u0439. \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0442\u0430\u0431\u0443\u043b\u044f\u0446\u0438\u044f<br \/>\n-s  \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u044f\u0435\u0442 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u0441\u0442\u0440\u043e\u043a \u0432 \u0444\u0430\u0439\u043b\u0435 \u0432 \u043e\u0434\u043d\u0443 \u0441\u0442\u0440\u043e\u043a\u0443<br \/>\n<code><br \/>\n%paste  -d: b1 a1<br \/>\nb1:a1<br \/>\nb2:a2<br \/>\nb3:a3<br \/>\nb4:a4<br \/>\n%paste -s a1<br \/>\na1      a2      a3      a4<br \/>\n<\/code>  <\/p>\n<p><strong>sort <\/strong>\u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 \u0430\u043b\u0444\u0430\u0432\u0438\u0442\u043d\u043e\u043c \u043f\u043e\u0440\u044f\u0434\u043a\u0435<br \/>\n-n \u0432 \u0447\u0438\u0441\u043b\u043e\u0432\u043e\u043c \u043f\u043e\u0440\u044f\u0434\u043a\u0435<br \/>\n-t \u0437\u0430\u0434\u0430\u0435\u043c \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u0435\u043b\u044c<br \/>\n-k \u043d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 \u043f\u043e\u0437\u0438\u0446\u0438\u0438<br \/>\n<code><br \/>\n% grep -\u00adv '^#' \/etc\/passwd | sort<br \/>\n\u041f\u0440\u0438\u043c\u0435\u0440 \u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0438\u0306 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u043f\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044e UID:<br \/>\n% grep \u00ad-v '^#' \/etc\/passwd | sort -\u00adt: -\u00adk3 -\u00adn<br \/>\n<\/code><\/p>\n<p><strong>diff<\/strong> \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u0440\u0430\u0437\u043d\u0438\u0446\u0443 \u043c\u0435\u0436\u0434\u0443 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u043c\u0438 \u0444\u0430\u0438\u0306\u043b\u0430\u043c\u0438 \u0438\u043b\u0438 \u043e\u0433\u043b\u0430\u0432\u043b\u0435\u043d\u0438\u044f\u043c\u0438 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u043e\u0432 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435, \u043a\u043e\u0442\u043e\u0440\u044b\u0438\u0306 \u043f\u0440\u0438\u0433\u043e\u0434\u0435\u043d \u0434\u043b\u044f \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043e\u0438\u0306 patch. \u041f\u0440\u0438 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0438 \u0434\u0432\u043e\u0438\u0447\u043d\u044b\u0445 \u0444\u0430\u0438\u0306\u043b\u043e\u0432 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 diff \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u043e\u043e\u0431\u0449\u0430\u0435\u0442, \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u044e\u0442 \u0438\u043b\u0438 \u0440\u0430\u0437\u043b\u0438\u0447\u0430\u044e\u0442\u0441\u044f \u043c\u0435\u0436\u0434\u0443 \u0441\u043e\u0431\u043e\u0438\u0306 \u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0435\u043c\u044b\u0435 \u0444\u0430\u0438\u0306\u043b\u044b.<br \/>\n<code><br \/>\n% diff \u043a\u0430\u0442\u0430\u043b\u043e\u04331 \u043a\u0430\u0442\u0430\u043b\u043e\u04332 - \u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0435\u043c \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0438<br \/>\n% diff \/bin\/ls \/usr\/bin\/lsvfs  -\u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0435\u043c \u0431\u0438\u043d\u0430\u0440\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b<br \/>\nBinary files \/bin\/ls and \/usr\/bin\/lsvfs differ<\/p>\n<p>\u041f\u0430\u0442\u0447\u0438\u043d\u0433 \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u0442 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u0440\u043d\u043e<br \/>\n% patch hello.c patch.txt<br \/>\nHmm...  Looks like a normal diff to me...<br \/>\n..<br \/>\ndone<br \/>\n<\/code><\/p>\n<p><strong>wc <\/strong> &#8211; \u043f\u043e\u0434\u0441\u0447\u0435\u0442 \u0447\u0438\u0441\u043b\u0430 \u0441\u0442\u0440\u043e\u043a, \u0441\u043b\u043e\u0432 \u0438 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432<br \/>\n<code><br \/>\n%cat test.sh<br \/>\n#!\/bin\/sh<br \/>\nX=10<br \/>\nwhile [ $X -gt 0 ]<br \/>\ndo<br \/>\necho $X<br \/>\nX=$(( $X-1 ))<br \/>\ndone<br \/>\nexit 0<br \/>\n%wc test.sh<br \/>\n       8      17      74 test.sh<br \/>\n<\/code><\/p>\n<p><strong>tr<\/strong> \u0437\u0430\u043c\u0435\u043d\u0430 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u043f\u043e \u0448\u0430\u0431\u043b\u043e\u043d\u0443<br \/>\n<code><br \/>\n\u0417\u0430\u043c\u0435\u043d\u044f\u0435\u0442 \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0435 \u0431\u0443\u043a\u0432\u044b \u0432 \u0444\u0430\u0439\u043b\u0435 \u043d\u0430 \u0431\u043e\u043b\u044c\u0448\u0438\u0435 \u0438 \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u043d\u0430 \u044d\u043a\u0440\u0430\u043d, \u0441\u0430\u043c \u0444\u0430\u0439\u043b \u043e\u0441\u0442\u0430\u0435\u0442\u0441\u044f \u0431\u0435\u0437 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439<br \/>\ntr \"[:lower:]\" \"[:upper:]\" < file1 \n<\/code><\/p>\n<p><strong>tee<\/strong> \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0449\u0438\u044f stdin \u0432 stdout c \u0432\u0435\u0434\u0435\u043d\u0438\u0435\u043c \u043b\u043e\u0433\u0430(\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0432 \u0444\u0430\u0439\u043b)<\/p>\n<p><strong>uniq<\/strong> \u2013 \u043d\u0430\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u0435 \u0434\u0443\u0431\u043b\u0438\u0440\u0443\u044e\u0449\u0438\u0445\u0441\u044f \u0441\u0442\u0440\u043e\u043a, \u0435\u0441\u043b\u0438 \u043f\u043e\u043f\u0430\u0434\u0430\u0435\u0442\u0441\u044f \u043f\u043e\u0432\u0442\u043e\u0440\u044f\u044e\u0449\u0430\u044f\u0441\u044f \u0441\u0442\u0440\u043e\u043a\u0430 \u0442\u043e \u043e\u043d\u0430 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0432\u0435\u0434\u0435\u043d\u0430.<\/p>\n<p><strong>find<\/strong> \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0435\u0442 \u0440\u0435\u043a\u0443\u0440\u0441\u0438\u0432\u043d\u044b\u0439 \u043f\u043e\u0438\u0441\u043a \u0444\u0430\u0439\u043b\u043e\u0432 \u0432 \u0444\u0430\u0439\u043b\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435, \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u0438 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f.<br \/>\n\u0423\u0441\u043b\u043e\u0432\u0438\u044f \u043f\u043e\u0438\u0441\u043a\u0430:<br \/>\n -mount \u0438\u043b\u0438 -xdev \u2013 \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0442\u044c \u043f\u043e\u0438\u0441\u043a \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u043f\u0440\u0435\u0434\u0435\u043b\u0430\u0445 \u043e\u0434\u043d\u043e\u0439 \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0444\u0430\u0439\u043b\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b<br \/>\n -name \u0448\u0430\u0431\u043b\u043e\u043d \u2013 \u043f\u043e\u0438\u0441\u043a \u0444\u0430\u0439\u043b\u0430 \u043f\u043e \u0435\u0433\u043e \u0438\u043c\u0435\u043d\u0438<br \/>\n -iname \u0448\u0430\u0431\u043b\u043e\u043d \u2013 \u0442\u043e \u0436\u0435, \u043d\u043e \u0431\u0435\u0437 \u0443\u0447\u0435\u0442\u0430 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430<br \/>\n -regex \u0448\u0430\u0431\u043b\u043e\u043d \u2013 \u0442\u043e \u0436\u0435, \u0447\u0442\u043e \u0438 name, \u043d\u043e \u0448\u0430\u0431\u043b\u043e\u043d \u2013 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435<br \/>\n -type \u0442\u0438\u043f_\u0444\u0430\u0439\u043b\u0430 \u2013 \u043f\u043e\u0438\u0441\u043a \u0444\u0430\u0439\u043b\u043e\u0432 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0433\u043e \u0442\u0438\u043f\u0430<br \/>\n             b       block special<br \/>\n             c       character special<br \/>\n             d       directory<br \/>\n             f       regular file<br \/>\n             l       symbolic link<br \/>\n             p       FIFO<br \/>\n             s       socket<\/p>\n<p> -user \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u2013 \u0438\u0441\u043a\u0430\u0442\u044c \u0444\u0430\u0439\u043b\u044b, \u043f\u0440\u0438\u043d\u0430\u0434\u043b\u0435\u0436\u0430\u0449\u0438\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e<br \/>\n -group \u0433\u0440\u0443\u043f\u043f\u0430 \u2013 \u0438\u0441\u043a\u0430\u0442\u044c \u0444\u0430\u0439\u043b\u044b, \u043f\u0440\u0438\u043d\u0430\u0434\u043b\u0435\u0436\u0430\u0449\u0438\u0435 \u0433\u0440\u0443\u043f\u043f\u0435<br \/>\n -atime N \u2013 \u0438\u0441\u043a\u0430\u0442\u044c \u0444\u0430\u0439\u043b\u044b, \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u0431\u044b\u043b N \u0441\u0443\u0442\u043e\u043a \u043d\u0430\u0437\u0430\u0434<br \/>\n -mtime N \u2013 \u0438\u0441\u043a\u0430\u0442\u044c \u0444\u0430\u0439\u043b\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u0435\u043d\u044f\u043b\u0438\u0441\u044c N \u0441\u0443\u0442\u043e\u043a \u043d\u0430\u0437\u0430\u0434<br \/>\n -size N \u2013 \u0438\u0441\u043a\u0430\u0442\u044c \u0444\u0430\u0439\u043b\u044b, \u0440\u0430\u0437\u043c\u0435\u0440 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 N \u0431\u043b\u043e\u043a\u043e\u0432<br \/>\n\u041a\u043e\u043c\u0430\u043d\u0434\u044b:<br \/>\n -exec \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u2013 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u0443\u044e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443 \u043f\u0435\u0440\u0435\u0434\u0430\u0432 \u0435\u0439 \u0438\u043c\u044f \u0444\u0430\u0439\u043b\u0430(\u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e {})<br \/>\n -ok \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u2013 \u0442\u043e \u0436\u0435, \u0447\u0442\u043e exec, \u043d\u043e \u0441 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u043c \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430<br \/>\n \u041f\u0440\u0438\u043c\u0435\u0440:<br \/>\n<code><br \/>\n% find \/usr\/share -name index.html<\/p>\n<p>\u041f\u043e\u0438\u0441\u043a \u0444\u0430\u0439\u043b\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043b\u0438\u0441\u044c \u0437\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 2 \u0434\u043d\u044f \u0438 \u0432\u044b\u0432\u043e\u0434 \u043f\u043e\u043b\u043d\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043f\u0440\u043e \u043d\u0438\u0445<br \/>\n% find \/var\/log -ctime 2 -type f -ls<br \/>\n\u0423\u0434\u0430\u043b\u044f\u0435\u043c \u0437\u0430\u043f\u0438\u0441\u0438 \u0441 \u0441\u0435\u0440\u0432\u0430\u043a\u0430, \u0441\u0442\u0430\u0440\u0448\u0435 35 \u0434\u043d\u0435\u0439<br \/>\n% find \/var\/spool\/asterisk\/monitor -ctime +35d -exec rm -f {} \\;<\/p>\n<p>% find \/usr -user vasia -exec rm -f {} \\;<br \/>\n<\/code><\/p>\n<p><strong>TAR <\/strong>\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0430 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0430\u0440\u0445\u0438\u0432\u0430\u043c\u0438 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 tar<br \/>\n-c \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0430\u0440\u0445\u0438\u0432<br \/>\n-t \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0433\u043e \u0442\u0430\u0440\u0431\u043e\u043b\u0430<br \/>\n-x \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0437 \u0430\u0440\u0445\u0438\u0432\u0430<br \/>\n-d \u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0435\u0442 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0438 \u0430\u0440\u0445\u0438\u0432, \u0438\u0449\u0435\u0442 \u0440\u0430\u0437\u043b\u0438\u0447\u0438\u044f<br \/>\n-f \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0444\u0430\u0439\u043b \u0430\u0440\u0445\u0438\u0432\u0430 \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0438\u043b\u0438 \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u044f<br \/>\n-v \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442 \u0445\u043e\u0434 \u0440\u0430\u0431\u043e\u0442\u044b \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b<br \/>\n-z \u0441\u0436\u0430\u0442\u0438\u0435 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e gzip<br \/>\n-Z \u0441\u0436\u0430\u0442\u0438\u0435 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e compress, \u043c\u0435\u043d\u0435\u0435 \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e<br \/>\n-y \u0441\u0436\u0430\u0442\u0438\u0435 bzip \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e<br \/>\n-p \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442 \u0432\u043b\u0430\u0434\u0435\u043b\u044c\u0446\u0435\u0432 \u0438\u0437\u0432\u043b\u0435\u043a\u0430\u0435\u043c\u044b\u0445 \u0444\u0430\u0439\u043b\u043e\u0432<br \/>\n\u0435\u0441\u043b\u0438 \u043c\u044b \u0441\u0436\u0438\u043c\u0430\u0435\u043c \u043d\u0430\u0448 \u0430\u0440\u0445\u0438\u0432, \u0442\u043e \u043f\u0440\u0438 \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u0438 \u043d\u0430\u043c \u043d\u0435 \u0441\u0442\u043e\u0438\u0442 \u0431\u0435\u0441\u043f\u043e\u043a\u043e\u0438\u0442\u0441\u044f \u043e \u0432\u0438\u0434\u0435 \u0441\u0436\u0430\u0442\u0438\u044f, tar \u0441\u0430\u043c \u0432\u044b\u0431\u0435\u0440\u0435\u0442 \u043d\u0443\u0436\u043d\u044b\u0439 \u0444\u043e\u0440\u043c\u0430\u0442<br \/>\n<code><br \/>\ntar -cvf archive.tar file1 file2 folder1....<br \/>\ntar -xvf archive.tar<br \/>\ntar -tvf archive.tar<br \/>\n<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0414\u043b\u044f \u0441\u0430\u043c\u044b\u0445 \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0445 \u0438 \u0434\u043b\u044f \u043c\u0435\u043d\u044f, \u0432\u0434\u0440\u0443\u0433 \u0447\u0435 \u0437\u0430\u0431\u0443\u0434\u0443 \u0411\u0443\u0434\u0435\u0442 \u043e: 1. \u0421\u043f\u0440\u0430\u0432\u043a\u0430 \u0438 \u0433\u0434\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043f\u043e\u043c\u043e\u0449\u044c 2. \u0420\u0430\u0431\u043e\u0442\u0430 \u0441 \u0444\u0430\u0439\u043b\u0430\u043c\u0438 3. \u0423\u0442\u0438\u043b\u0438\u0442\u044b \u043f\u043e\u0438\u0441\u043a\u0430 4. \u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u043f\u0435\u0439\u0434\u0436\u0435\u0440\u044b<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[57],"tags":[],"_links":{"self":[{"href":"https:\/\/bos-info.com\/index.php?rest_route=\/wp\/v2\/posts\/363"}],"collection":[{"href":"https:\/\/bos-info.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bos-info.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bos-info.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bos-info.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=363"}],"version-history":[{"count":3,"href":"https:\/\/bos-info.com\/index.php?rest_route=\/wp\/v2\/posts\/363\/revisions"}],"predecessor-version":[{"id":799,"href":"https:\/\/bos-info.com\/index.php?rest_route=\/wp\/v2\/posts\/363\/revisions\/799"}],"wp:attachment":[{"href":"https:\/\/bos-info.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=363"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bos-info.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=363"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bos-info.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=363"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}