{"id":42,"date":"2013-05-02T18:12:58","date_gmt":"2013-05-02T09:12:58","guid":{"rendered":"http:\/\/barbayar.net\/?p=42"},"modified":"2014-02-14T16:47:01","modified_gmt":"2014-02-14T07:47:01","slug":"bash-vim-git","status":"publish","type":"post","link":"https:\/\/blog.barbayar.net\/?p=42","title":{"rendered":"Bash, Vim, Git"},"content":{"rendered":"<p><a href=\"https:\/\/blog.barbayar.net\/?p=29\" target=\"_blank\">\u04e8\u043c\u043d\u04e9\u0445<\/a> \u0431\u0438\u0447\u043b\u044d\u0433 \u0434\u044d\u044d\u0440\u00a0<a href=\"http:\/\/www.sakura.ne.jp\/\" target=\"_blank\">SAKURA Internet<\/a>\u00a0\u0433\u044d\u044d\u0434 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0430\u0441\u00a0<a href=\"http:\/\/en.wikipedia.org\/wiki\/Shared_web_hosting_service\" target=\"_blank\">shared host<\/a>\u00a0\u0430\u0432\u0441\u0430\u043d \u0433\u044d\u0436 \u0431\u0438\u0447\u0438\u0436 \u0431\u0430\u0439\u0441\u0430\u043d. \u0422\u044d\u0433\u044d\u044d\u0434 \u0442\u044d\u0440\u044d\u043d \u0434\u044d\u044d\u0440\u044d\u044d <a href=\"http:\/\/www.gnu.org\/software\/bash\/\" target=\"_blank\">Bash<\/a>, <a href=\"http:\/\/www.vim.org\/\" target=\"_blank\">Vim<\/a>, <a href=\"http:\/\/git-scm.com\/\" target=\"_blank\">Git<\/a> 3-\u044b\u0433 \u0441\u0443\u0443\u043b\u0433\u0430\u0445 \u0431\u043e\u043b\u0441\u043e\u043d \u044e\u043c. \u042e\u0443\u043d\u044b \u0442\u04af\u0440\u04af\u04af\u043d\u0434 \u044d\u043d\u044d 3 \u043d\u044c \u044e\u0443 \u0432\u044d \u0433\u044d\u0434\u0433\u0438\u0439\u0433 \u0442\u043e\u0432\u0447\u0445\u043e\u043d \u0434\u0443\u0440\u044c\u0434\u0430\u044f.<\/p>\n<ul>\n<li><a href=\"http:\/\/www.gnu.org\/software\/bash\/\" target=\"_blank\">Bash<span style=\"color: #333333;\">\u00a0<\/span><\/a>\u0433\u044d\u0434\u044d\u0433 \u043d\u044c \u043d\u044d\u0433\u044d\u043d \u0442\u04e9\u0440\u043b\u0438\u0439\u043d <a href=\"http:\/\/en.wikipedia.org\/wiki\/Shell_(computing)\" target=\"_blank\">shell<\/a>\u00a0\u044e\u043c. <a href=\"http:\/\/en.wikipedia.org\/wiki\/OS_X\" target=\"_blank\">OS X<\/a> \u0434\u044d\u044d\u0440 \u0446\u0430\u0430\u043d\u0430\u0430\u0441\u0430\u0430 \u0442\u043e\u0445\u0438\u0440\u0443\u0443\u043b\u0447\u0438\u0445\u0441\u0430\u043d \u0438\u0440\u0434\u044d\u0433 \u044e\u043c. \u0411\u0438 <a href=\"http:\/\/en.wikipedia.org\/wiki\/OS_X\" target=\"_blank\">OS X<\/a> \u0445\u044d\u0440\u044d\u0433\u043b\u044d\u0434\u044d\u0433 \u0431\u043e\u043b\u043e\u0445\u043e\u043e\u0440, \u044f\u0430\u0433\u0430\u0430\u0434 \u0447 \u044e\u043c\u00a0<a href=\"http:\/\/www.gnu.org\/software\/bash\/\" target=\"_blank\">Bash<\/a>\u00a0\u0434\u044d\u044d\u0440 \u0434\u0430\u0441\u0447\u0438\u0445\u0441\u0430\u043d. \u0422\u0438\u0439\u043c \u0431\u043e\u043b\u043e\u0445\u043e\u043e\u0440\u00a0\u0441\u0443\u0443\u043b\u0433\u0430\u044f \u0433\u044d\u0436 \u0431\u043e\u0434\u0441\u043e\u043d \u044e\u043c.<\/li>\n<li><a href=\"http:\/\/www.vim.org\/\" target=\"_blank\">Vim<\/a>\u00a0\u0433\u044d\u0434\u044d\u0433 \u043d\u044c <a href=\"http:\/\/en.wikipedia.org\/wiki\/Command-line_interface\" target=\"_blank\">command line<\/a> editor-\u044b\u043d \u043d\u044d\u0433 \u0442\u04e9\u0440\u04e9\u043b. \u0411\u0430\u0441 <a href=\"http:\/\/www.gnu.org\/software\/emacs\/\" target=\"_blank\">Emacs<\/a> \u0433\u044d\u044d\u0434\u00a0text editor \u0431\u0430\u0439\u0433\u0430\u0430, \u0433\u044d\u0445\u0434\u044d\u044d \u043e\u043b\u043e\u043d \u0445\u04af\u043c\u04af\u04af\u0441\u00a0<a href=\"http:\/\/www.vim.org\/\" target=\"_blank\">Vim<\/a>\u00a0\u043d\u044c \u0438\u043b\u04af\u04af \u0433\u044d\u043b\u0446\u044d\u0445 \u044e\u043c \u0431\u0438\u043b\u044d\u044d. \u0417\u0430\u0440\u0438\u043c \u0445\u04af\u043c\u04af\u04af\u0441 &#8220;<a href=\"http:\/\/en.wikipedia.org\/wiki\/GUI\" target=\"_blank\">GUI<\/a>-\u0442\u044d\u0439 \u043e\u043b\u043e\u043d \u0445\u04af\u0447\u0442\u044d\u0439 editor-\u0443\u0443\u0434 \u0431\u0430\u0439\u0445\u0430\u0434 \u044f\u0430\u0433\u0430\u0430\u0434 \u0437\u0430\u0430\u0432\u0430\u043b \u0445\u044d\u0440\u044d\u0433\u043b\u044d\u0445\u044d\u0434 \u0445\u044d\u0446\u04af\u04af\u00a0<a href=\"http:\/\/en.wikipedia.org\/wiki\/Command-line_interface\" target=\"_blank\">command line<\/a> editor \u0445\u044d\u0440\u044d\u0433\u043b\u044d\u0445 \u0451\u0441\u0442\u043e\u0439 \u044e\u043c?&#8221; \u0433\u044d\u0436 \u0431\u043e\u0434\u043e\u0436 \u043c\u0430\u0433\u0430\u0434\u0433\u04af\u0439. \u0411\u0438 \u0447 \u0433\u044d\u0441\u044d\u043d \u0445\u0430\u0430\u044f\u0430 \u0442\u044d\u0433\u0436 \u0431\u043e\u0434\u0434\u043e\u0433. \u0413\u044d\u0445\u0434\u044d\u044d \u043c\u0438\u043d\u0438\u0439 \u0445\u0443\u0432\u044c\u0434\u00a0<a href=\"http:\/\/en.wikipedia.org\/wiki\/Command-line_interface\" target=\"_blank\">command line<\/a>\u00a0editor \u0430\u0448\u0438\u0433\u043b\u0430\u0445 \u043d\u044d\u0433 \u0448\u0430\u043b\u0442\u0433\u0430\u0430\u043d \u0431\u0430\u0439\u0434\u0430\u0433. \u0422\u044d\u0440 \u043d\u044c server \u0434\u044d\u044d\u0440\u0445 file-\u044b\u0433 \u0448\u0443\u0443\u0434 \u0437\u0430\u0441\u0432\u0430\u0440\u043b\u0430\u0445 \u044f\u0432\u0434\u0430\u043b \u044e\u043c. \u0413\u0430\u043d\u0446 2 \u043c\u04e9\u0440 \u0437\u0430\u0441\u0432\u0430\u0440\u043b\u0430\u0445\u044b\u043d \u0442\u04e9\u043b\u04e9\u04e9, \u04e9\u04e9\u0440\u0438\u0439\u043d\u0445\u04e9\u04e9 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440 \u0434\u044d\u044d\u0440 \u0437\u0430\u0441\u0432\u0430\u0440\u043b\u0430\u0430\u0434, \u0442\u044d\u0440 \u0437\u0430\u0441\u0441\u0430\u043d file-\u0430\u0430 <a href=\"http:\/\/en.wikipedia.org\/wiki\/Ftp\" target=\"_blank\">FTP<\/a> \u044d\u0441\u0432\u044d\u043b <a href=\"http:\/\/en.wikipedia.org\/wiki\/Secure_Shell\" target=\"_blank\">SSH<\/a>-\u044d\u044d\u0440 server-\u0440\u04af\u04af\u0433\u044d\u044d \u0445\u0443\u0443\u043b\u0430\u0430\u0434 \u0431\u0430\u0439\u0445 \u0442\u04e9\u0432\u04e9\u0433\u0442\u044d\u0439 \u0448\u04af\u04af \u0434\u044d\u044d. \u0421\u04af\u04af\u043b\u0438\u0439\u043d \u04af\u0435\u0434 <a href=\"http:\/\/www.php.net\/\" target=\"_blank\">PHP<\/a> code-\u044b\u0433 \u0431\u043e\u043b \u0434\u0430\u043d\u0434\u0430\u0430 <a href=\"http:\/\/www.vim.org\/\" target=\"_blank\">Vim<\/a>\u00a0\u0430\u0448\u0438\u0433\u043b\u0430\u0430\u0434 \u0448\u0443\u0443\u0434 server \u0434\u044d\u044d\u0440\u044d\u044d \u0431\u0438\u0447\u044d\u044d\u0434 \u044f\u0432\u0434\u0430\u0433 \u0431\u043e\u043b\u0447\u0438\u0445\u0441\u043e\u043d. \u0421\u0430\u0439\u043d \u0441\u0443\u0434\u0430\u043b\u0432\u0430\u043b \u0431\u0430\u0440\u0430\u0433 \u044e\u043c \u0431\u04af\u0445\u043d\u0438\u0439\u0433 \u0445\u0438\u0439\u0436 \u0431\u043e\u043b\u043e\u0445\u043e\u043e\u0440 \u043d\u044d\u043b\u044d\u044d\u043d \u0445\u04af\u0447\u0442\u044d\u0439 editor \u044e\u043c \u0448\u0438\u0433 \u0431\u0430\u0439\u043d\u0430 \u043b\u044d\u044d. \u0411\u04af\u0433\u0434\u0438\u0439\u0433 \u043d\u044c \u0441\u0443\u0440\u0430\u0445\u0430\u0434 \u0445\u044d\u0446\u04af\u04af \u0447, \u044e\u0443\u043d\u044b \u0442\u04af\u0440\u04af\u04af\u043d\u0434, copy, paste, undo, redo, search, replace \u0433\u044d\u0445 \u043c\u044d\u0442 \u044d\u043d\u0433\u0438\u0439\u043d \u04af\u0439\u043b\u0434\u043b\u04af\u04af\u0434\u0438\u0439\u0433 \u0441\u0443\u0440\u0430\u0430\u0434 \u0430\u0432\u0430\u0445 \u0445\u044d\u0440\u044d\u0433\u0442\u044d\u0439 \u0433\u044d\u0436 \u0431\u043e\u0434\u043e\u0436 \u0431\u0430\u0439\u043d\u0430.<\/li>\n<li><a href=\"http:\/\/git-scm.com\/\" target=\"_blank\">Git<\/a>\u00a0\u0433\u044d\u0434\u044d\u0433 \u043d\u044c \u043d\u044d\u0433\u044d\u043d \u0442\u04e9\u0440\u043b\u0438\u0439\u043d <a href=\"http:\/\/en.wikipedia.org\/wiki\/Source_code_management\" target=\"_blank\">version control system<\/a> \u044e\u043c. \u04e8\u043c\u043d\u04e9 \u043d\u044c \u041c\u043e\u043d\u0433\u043e\u043b\u0434 \u0430\u0436\u0438\u043b\u0434\u0430\u0433 \u0431\u0430\u0439\u0445\u0434\u0430\u0430\u00a0<a href=\"http:\/\/subversion.apache.org\/\">SVN<\/a> \u0433\u044d\u0434\u044d\u0433\u00a0<a href=\"http:\/\/en.wikipedia.org\/wiki\/Source_code_management\" target=\"_blank\">version control system<\/a>\u00a0\u0430\u0448\u0438\u0433\u043b\u0430\u0436 \u0431\u0430\u0439\u0441\u0430\u043d. \u0422\u044d\u0433\u044d\u0445\u0434\u044d\u044d \u0434\u044d\u043b\u0445\u0438\u0439\u043d \u0447\u0438\u0433 \u0445\u0430\u043d\u0434\u043b\u0430\u0433\u0430 \u0435\u0440 \u043d\u044c\u00a0<a href=\"http:\/\/git-scm.com\/\" target=\"_blank\">Git<\/a>-\u0440\u04af\u04af \u0447\u0438\u0433\u043b\u044d\u044d\u0434 \u0431\u0430\u0439\u0433\u0430\u0430 \u044e\u043c \u0448\u0438\u0433 \u0441\u0430\u043d\u0430\u0433\u0434\u0430\u0430\u0434 \u0431\u0430\u0439\u0433\u0430\u0430 \u0431\u043e\u043b\u043e\u0445\u043e\u043e\u0440 \u0431\u0438\u0447\u0441\u044d\u043d source code-\u043e\u043e\u00a0<a href=\"http:\/\/git-scm.com\/\" target=\"_blank\">Git<\/a>-\u044d\u044d\u0440 \u0443\u0434\u0438\u0440\u0434\u0430\u0436 \u0431\u0430\u0439\u0445\u044b\u0433 \u0441\u0430\u043d\u0430\u043b \u0431\u043e\u043b\u0433\u043e\u0436 \u0431\u0430\u0439\u043d\u0430. \u041c\u04e9\u043d <a href=\"https:\/\/github.com\/\" target=\"_blank\">GitHub<\/a>\u00a0\u0433\u044d\u044d\u0434 \u04af\u043d\u044d\u0433\u04af\u0439 source code-\u043e\u043e \u0431\u0430\u0439\u0440\u043b\u0443\u0443\u043b\u0434\u0430\u0433 \u04af\u0439\u043b\u0447\u0438\u043b\u0433\u044d\u044d \u0431\u0430\u0439\u0433\u0430\u0430.<\/li>\n<\/ul>\n<p>\u0417\u0430 \u0438\u043d\u0433\u044d\u044d\u0434\u00a0<a href=\"http:\/\/www.sakura.ne.jp\/\" target=\"_blank\">SAKURA Internet<\/a>\u00a0\u0434\u0430\u0445\u044c\u00a0<a href=\"http:\/\/en.wikipedia.org\/wiki\/Shared_web_hosting_service\" target=\"_blank\">shared host<\/a>\u00a0\u0434\u044d\u044d\u0440\u044d\u044d \u0445\u044d\u0440\u0445\u044d\u043d \u044d\u043d\u044d 3-\u044b\u0433 \u0441\u0443\u0443\u043b\u0433\u0430\u0441\u0430\u043d \u0442\u0430\u043b\u0430\u0430\u0440\u0430\u0430 \u0431\u0438\u0447\u044c\u0435.<\/p>\n<p><!--more--><\/p>\n<h1><a href=\"http:\/\/www.gnu.org\/software\/bash\/\" target=\"_blank\">Bash<\/a>-\u044b\u0433 \u0441\u0443\u0443\u043b\u0433\u0430\u0445<\/h1>\n<p>\u042d\u0445\u043b\u044d\u044d\u0434 \u044f\u0433 \u043e\u0434\u043e\u043e \u044f\u043c\u0430\u0440\u00a0<a href=\"http:\/\/en.wikipedia.org\/wiki\/Shell_(computing)\" target=\"_blank\">shell<\/a>\u00a0\u0445\u044d\u0440\u044d\u0433\u043b\u044d\u0436 \u0431\u0430\u0439\u0433\u0430\u0430\u0433\u0430\u0430 \u043c\u044d\u0434\u044d\u0445 \u0445\u044d\u0440\u044d\u0433\u0442\u044d\u0439. \u0414\u0430\u0440\u0430\u0430\u0445 \u0431\u0430\u0439\u0434\u043b\u0430\u0430\u0440 \u043c\u044d\u0434\u044d\u0436 \u0431\u043e\u043b\u043d\u043e.<\/p>\n<pre class=\"striped:false lang:sh highlight:0 decode:true\">%echo $SHELL\r\n\/bin\/csh\r\n%<\/pre>\n<p>\u042d\u043d\u0434\u044d\u044d\u0441 \u0445\u0430\u0440\u0432\u0430\u043b \u043c\u0438\u043d\u0438\u0439 \u043e\u0434\u043e\u043e \u0445\u044d\u0440\u044d\u0433\u043b\u044d\u0436 \u0431\u0430\u0439\u0433\u0430\u0430\u00a0<a href=\"http:\/\/en.wikipedia.org\/wiki\/Shell_(computing)\" target=\"_blank\">shell<\/a>\u00a0\u0431\u043e\u043b\u00a0<a href=\"http:\/\/en.wikipedia.org\/wiki\/C_shell\" target=\"_blank\">C shell<\/a> \u0433\u044d\u0434\u0433\u0438\u0439\u0433 \u043c\u044d\u0434\u044d\u0436 \u0431\u043e\u043b\u043d\u043e. \u0425\u0430\u0440\u0438\u043d \u0434\u0430\u0440\u0430\u0430\u0445 \u0431\u0430\u0439\u0434\u043b\u0430\u0430\u0440 server \u0434\u044d\u044d\u0440\u0445\u00a0<a href=\"http:\/\/en.wikipedia.org\/wiki\/Shell_(computing)\" target=\"_blank\">shell<\/a>-\u04af\u04af\u0434\u0438\u0439\u043d \u0436\u0430\u0433\u0441\u0430\u0430\u043b\u0442\u044b\u0433 \u0445\u0430\u0440\u0436 \u0431\u043e\u043b\u043d\u043e.<\/p>\n<pre class=\"striped:false lang:sh highlight:0 decode:true\">%cat \/etc\/shells \r\n# $FreeBSD: src\/etc\/shells,v 1.5.36.1.4.1 2010\/06\/14 02:09:06 kensmith Exp $\r\n#\r\n# List of acceptable shells for chpass(1).\r\n# Ftpd will not allow users to connect who are not using\r\n# one of these shells.\r\n\r\n\/bin\/sh\r\n\/bin\/csh\r\n\/bin\/tcsh\r\n\/usr\/local\/bin\/bash\r\n\/usr\/local\/bin\/rbash\r\n\/usr\/local\/bin\/zsh\r\n\/usr\/local\/bin\/rzsh\r\n\/usr\/bin\/passwd\r\n%<\/pre>\n<p>\/usr\/local\/bin\/bash \u0433\u044d\u0434\u044d\u0433 \u043d\u044c\u00a0<a href=\"http:\/\/www.gnu.org\/software\/bash\/\" target=\"_blank\">Bash<\/a>\u00a0\u044e\u043c. \u0422\u044d\u0433\u044d\u0445\u044d\u044d\u0440 \u043e\u0434\u043e\u043e \u0431\u0430\u0439\u043d\u0433\u0430 \u0445\u044d\u0440\u044d\u0433\u043b\u044d\u0445\u00a0<a href=\"http:\/\/en.wikipedia.org\/wiki\/Shell_(computing)\" target=\"_blank\">shell<\/a>\u00a0\u0434\u044d\u044d\u0440\u044d\u044d\u00a0<a href=\"http:\/\/www.gnu.org\/software\/bash\/\" target=\"_blank\">Bash<\/a>-\u044b\u0433 \u0442\u043e\u0445\u0438\u0440\u0443\u0443\u043b\u0436 \u04e9\u0433\u044c\u0435.<\/p>\n<pre class=\"striped:false lang:sh highlight:0 decode:true\">%chsh -s \/usr\/local\/bin\/bash\r\nPassword: \r\nchsh: user information updated\r\n%<\/pre>\n<p>\u0418\u043d\u0433\u044d\u044d\u0434, \u0434\u0430\u0440\u0430\u0430\u0433\u0438\u0439\u043d \u0443\u0434\u0430\u0430 server-\u0440\u04af\u04af\u0433\u044d\u044d \u0445\u043e\u043b\u0431\u043e\u0433\u0434\u043e\u0445 \u04af\u0435\u0434 \u0447\u0438\u043d\u044c\u00a0<a href=\"http:\/\/en.wikipedia.org\/wiki\/C_shell\" target=\"_blank\">C shell<\/a>\u00a0\u0431\u0438\u0448\u00a0<a href=\"http:\/\/www.gnu.org\/software\/bash\/\" target=\"_blank\">Bash<\/a>\u00a0\u0442\u0430\u043d\u044b\u0433 \u0443\u0433\u0442\u0430\u0445 \u0431\u043e\u043b\u043d\u043e. \u04ae\u04af\u043d\u0438\u0439 \u0434\u0430\u0440\u0430\u0430, $HOME folder \u0434\u043e\u0442\u0440\u043e\u043e .bash_profile \u0431\u043e\u043b\u043e\u043d\u00a0.bashrc \u0433\u044d\u0441\u044d\u043d 2 file-\u044b\u0433 \u04af\u04af\u0441\u0433\u044d\u0445 \u0445\u044d\u0440\u044d\u0433\u0442\u044d\u0439. \u042d\u043d\u044d 2 file-\u044b\u043d \u0434\u044d\u043b\u0433\u044d\u0440\u044d\u043d\u0433\u04af\u0439\u0433\u00a0<a href=\"http:\/\/www.joshstaiger.org\/archives\/2005\/07\/bash_profile_vs.html\" target=\"_blank\">\u044d\u043d\u0434\u044d\u044d\u0441<\/a> \u0443\u043d\u0448\u0430\u0430\u0440\u0430\u0439.\u00a0.bash_profile \u0434\u044d\u044d\u0440\u044d\u044d .bashrc-\u044b\u0433 \u0434\u0443\u0443\u0434\u0434\u0430\u0433 code \u0431\u0438\u0447\u044d\u044d\u0434,\u00a0.bashrc-\u044d\u044d \u04e9\u04e9\u0440\u0447\u043b\u04e9\u04e9\u0434 \u044f\u0432\u0430\u0445 \u043d\u044c \u0445\u0430\u043c\u0433\u0438\u0439\u043d \u0434\u0430\u0436\u0433\u04af\u0439 \u0430\u0440\u0433\u0430 \u0433\u044d\u0436 \u0431\u043e\u0434\u043e\u0436 \u0431\u0430\u0439\u043d\u0430. \u0416\u0438\u0448\u044d\u044d \u043d\u044c\u00a0.bash_profile \u043d\u044c \u0434\u0430\u0440\u0430\u0430\u0445 \u0431\u0430\u0439\u0434\u0430\u043b\u0442\u0430\u0439 \u0431\u0430\u0439\u043d\u0430.<\/p>\n<pre class=\"lang:sh decode:true\" title=\".bash_profile\"># \u042d\u043d\u044d file(.bash_profile)-\u044b\u0433 \u0434\u0430\u0445\u0438\u043d \u04e9\u04e9\u0440\u0447\u043b\u04e9\u0445 \u0448\u0430\u0430\u0440\u0434\u043b\u0430\u0433\u0430\u0433\u04af\u0439\r\nif [ -f ~\/.bashrc ]; then\r\n\tsource ~\/.bashrc\r\nfi<\/pre>\n<p>\u0425\u0430\u0440\u0438\u043d .bashrc \u043d\u044c \u0434\u0430\u0440\u0430\u0430\u0445 \u0431\u0430\u0439\u0434\u0430\u043b\u0442\u0430\u0439 \u0431\u0430\u0439\u043d\u0430.<\/p>\n<pre class=\"lang:sh decode:true\" title=\".bashrc\"># UTF-8 encoding-\u044b\u0433 \u0442\u043e\u0445\u0438\u0440\u0443\u0443\u043b\u0436 \u04e9\u0433\u0441\u043d\u04e9\u04e9\u0440 \u042f\u043f\u043e\u043d, \u041c\u043e\u043d\u0433\u043e\u043b \u0433\u044d\u0445 \u043c\u044d\u0442 \u0445\u044d\u043b\u043d\u04af\u04af\u0434\u0438\u0439\u0433 \u0430\u0448\u0438\u0433\u043b\u0430\u0436 \u0431\u043e\u043b\u043d\u043e\r\nexport LANG=en_US.UTF-8\r\n\r\n# \u0411\u0443\u0441\u0430\u0434 \u0442\u043e\u0445\u0438\u0440\u0433\u043e\u043e\u043d\u0443\u0443\u0434\r\n...\r\n...\r\n...<\/pre>\n<p>\u0417\u0430\u0430\u0432\u0430\u043b \u0445\u0438\u0439\u0445 \u0430\u043b\u0431\u0430\u0433\u04af\u0439 \u0447 \u0433\u044d\u0441\u044d\u043d, \u0434\u0430\u0440\u0430\u0430\u0445 \u0442\u043e\u0445\u0438\u0440\u0433\u043e\u043e\u0433 \u0441\u0430\u043d\u0430\u043b \u0431\u043e\u043b\u0433\u043e\u0436 \u0431\u0430\u0439\u043d\u0430.<\/p>\n<pre class=\"lang:sh decode:true\" title=\".bashrc\"># vi \u0433\u044d\u0441\u044d\u043d \u043a\u043e\u043c\u043c\u0430\u043d\u0434 \u043e\u0440\u0443\u0443\u043b\u0430\u0445\u0430\u0434 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0430\u0430\u0440 vim \u0431\u043e\u043b\u0433\u043e\u043d \u0445\u0443\u0432\u0438\u0440\u0433\u0430\u043d\u0430\r\nalias vi=vim\r\n\r\n# file \u0431\u043e\u043b\u043e\u043d folder-\u044b\u043d \u0436\u0430\u0433\u0441\u0430\u0430\u043b\u0442\u044b\u0433 \u0445\u0430\u0440\u0443\u0443\u043b\u0430\u0445\u0434\u0430\u0430 \u04e9\u043d\u0433\u04e9\u04e9\u0440 \u044f\u043b\u0433\u0430\u043d \u0445\u0430\u0440\u0443\u0443\u043b\u043d\u0430\r\nalias ls='ls -G'<\/pre>\n<h1><a href=\"http:\/\/www.vim.org\/\" target=\"_blank\">Vim<\/a>-\u044b\u0433 \u0441\u0443\u0443\u043b\u0433\u0430\u0445<\/h1>\n<p>\u0425\u044d\u0440\u0432\u044d\u044d \u04e9\u04e9\u0440\u0438\u0439\u043d\u0445\u04e9\u04e9 server \u0434\u044d\u044d\u0440 \u0441\u0443\u0443\u043b\u0433\u0430\u0445 \u0431\u043e\u043b <a href=\"http:\/\/en.wikipedia.org\/wiki\/Advanced_Packaging_Tool\" target=\"_blank\">APT<\/a> \u0433\u044d\u0445 \u043c\u044d\u0442 \u0445\u044d\u0440\u044d\u0433\u0441\u043b\u04af\u04af\u0434\u044d\u044d\u0440 \u0430\u043c\u0430\u0440\u0445\u0430\u043d \u0441\u0443\u0443\u043b\u0433\u0430\u0436 \u0431\u043e\u043b\u043e\u0445 \u0431\u0430\u0439\u0445 \u043b \u0434\u0430\u0430. \u0422\u044d\u0433\u044d\u0445\u0434\u044d\u044d \u0445\u0430\u0440\u0430\u043c\u0441\u0430\u043b\u0442\u0430\u0439 \u043d\u044c\u00a0<a href=\"http:\/\/en.wikipedia.org\/wiki\/Shared_web_hosting_service\" target=\"_blank\">shared host<\/a>\u00a0\u0431\u043e\u043b\u043e\u0445\u043e\u043e\u0440, \u043d\u044d\u043b\u044d\u044d\u043d \u0445\u044f\u0437\u0433\u0430\u0430\u0440\u043b\u0430\u0433\u0434\u043c\u0430\u043b, \u0437\u04e9\u0432\u0445\u04e9\u043d \u04e9\u04e9\u0440\u0438\u0439\u043d\u0445\u04e9\u04e9 \u0437\u04e9\u0432\u0448\u04e9\u04e9\u0440\u04e9\u0433\u0434\u0441\u04e9\u043d \u0445\u044d\u0441\u044d\u0433\u0442 \u043b file \u0445\u0443\u0443\u043b\u0430\u0445 \u0431\u043e\u043b\u043e\u043c\u0436\u0442\u043e\u0439. \u0422\u0438\u0439\u043c\u044d\u044d\u0441\u00a0<a href=\"http:\/\/www.vim.org\/\" target=\"_blank\">Vim<\/a>-\u044b\u043d source code-\u044b\u0433 \u043d\u044c \u0442\u0430\u0442\u0430\u0436 \u0430\u0432\u0430\u0430\u0434 compile \u0445\u0438\u0439\u0445 \u044e\u043c.<\/p>\n<p>\u0421\u0443\u0443\u043b\u0433\u0430\u0445\u044b\u043d \u04e9\u043c\u043d\u04e9 \u044f\u0433 \u0430\u043b\u044c folder \u0434\u043e\u0442\u043e\u0440 \u0441\u0443\u0443\u043b\u0433\u0430\u0432\u0430\u043b \u0437\u04af\u0433\u044d\u044d\u0440 \u0432\u044d \u0433\u044d\u0436 \u044d\u0440\u0433\u044d\u043b\u0437\u044d\u0436 \u043c\u0430\u0433\u0430\u0434\u0433\u04af\u0439. \u0422\u044d\u0433\u0432\u044d\u043b <a href=\"http:\/\/unix.stackexchange.com\/questions\/36871\/where-should-a-local-executable-be-placed\" target=\"_blank\">\u044d\u043d\u0434\u044d\u044d\u0441<\/a> \u0443\u043d\u0448\u0430\u0430\u0440\u0430\u0439. \u0415\u0440 \u043d\u044c \u0445\u0430\u0430\u043d\u0430 \u0447 \u0431\u0430\u0439\u0436 \u0431\u043e\u043b\u043e\u0445 \u0447, \u0431\u0438 \u0434\u0430\u0440\u0430\u0430\u0445 \u0431\u0430\u0439\u0434\u043b\u0430\u0430\u0440 folder-\u043e\u043e \u0445\u0443\u0432\u0430\u0430\u0440\u044c\u043b\u0430\u0445\u0430\u0430\u0440 \u0448\u0438\u0439\u0434\u043b\u044d\u044d.<\/p>\n<ul>\n<li><code>$HOME\/bin<\/code>\u00a0Local binaries<\/li>\n<li><code>$HOME\/etc<\/code>\u00a0Host-specific system configuration for local binaries<\/li>\n<li><code>$HOME\/games<\/code>\u00a0Local game binaries<\/li>\n<li><code>$HOME\/include<\/code>\u00a0Local C header files<\/li>\n<li><code>$HOME\/lib<\/code>\u00a0Local libraries<\/li>\n<li><code>$HOME\/lib64<\/code>\u00a0Local 64-bit libraries<\/li>\n<li><code>$HOME\/man<\/code>\u00a0Local online manuals<\/li>\n<li><code>$HOME\/sbin<\/code>\u00a0Local system binaries<\/li>\n<li><code>$HOME\/share<\/code>\u00a0Local architecture-independent hierarchy<\/li>\n<li><code>$HOME\/src<\/code>\u00a0Local source code<\/li>\n<\/ul>\n<p>\u042f\u0433 \u043e\u0434\u043e\u043e\u0433\u0438\u0439\u043d \u0431\u0430\u0439\u0434\u043b\u0430\u0430\u0440\u00a0<a href=\"http:\/\/www.vim.org\/\" target=\"_blank\">Vim<\/a>-\u044b\u043d \u0445\u0430\u043c\u0433\u0438\u0439\u043d \u0441\u04af\u04af\u043b\u0438\u0439\u043d \u0445\u0443\u0432\u0438\u043b\u0431\u0430\u0440 \u043d\u044c 7.3.911 \u044e\u043c. \u0422\u044d\u0433\u044d\u0445\u044d\u044d\u0440 7.3-\u044b\u043d source code-\u044b\u0433 \u0442\u0430\u0442\u0430\u0430\u0434, \u0434\u044d\u044d\u0440\u044d\u044d\u0441 \u043d\u044c 1 \u044d\u044d\u0441 911 \u0445\u04af\u0440\u0442\u043b\u044d\u0445 patch-\u044b\u0433 \u0442\u0430\u0442\u043d\u0430 \u0433\u044d\u0441\u044d\u043d \u04af\u0433. 7.3 \u0445\u0443\u0432\u0438\u043b\u0431\u0430\u0440\u0430\u0430\u0441 \u044d\u0445\u043b\u044d\u043d \u043d\u044d\u043c\u044d\u043b\u0442 file-\u0443\u0443\u0434\u044b\u0433 \u04e9\u04e9\u0440\u0442\u04e9\u04e9 \u0430\u0433\u0443\u0443\u043b\u0434\u0430\u0433 \u0431\u043e\u043b\u0441\u043e\u043d \u0442\u0443\u043b, \u0442\u0443\u0441\u0434 \u043d\u044c extra package \u0442\u0430\u0442\u0430\u0445 \u0448\u0430\u0430\u0440\u0434\u043b\u0430\u0433\u0430\u0433\u04af\u0439 \u044e\u043c. \u0414\u0430\u0440\u0430\u0430\u0445 \u0431\u0430\u0439\u0434\u043b\u0430\u0430\u0440 source code \u0431\u043e\u043b\u043e\u043d patch-\u0430\u0430 \u0442\u0430\u0442\u043d\u0430.<\/p>\n<pre class=\"striped:false lang:sh highlight:0 decode:true\">[barbayar@www2792 ~]$ cd $HOME\r\n[barbayar@www2792 ~]$ mkdir src\r\n[barbayar@www2792 ~]$ cd src\r\n[barbayar@www2792 ~\/src]$ wget ftp:\/\/ftp.vim.org\/pub\/vim\/unix\/vim-7.3.tar.bz2 \r\n[barbayar@www2792 ~\/src]$ tar jxf vim-7.3.tar.bz2\r\n[barbayar@www2792 ~\/src]$ cd vim73\/\r\n[barbayar@www2792 ~\/src\/vim73]$ mkdir patches\r\n[barbayar@www2792 ~\/src\/vim73]$ cd patches\/\r\n[barbayar@www2792 ~\/src\/vim73\/patches]$ curl -O 'ftp:\/\/ftp.vim.org\/pub\/vim\/patches\/7.3\/7.3.[001-911]'\r\n[barbayar@www2792 ~\/src\/vim73\/patches]$ cd ..\r\n[barbayar@www2792 ~\/src\/vim73]$ cat patches\/7.3.* | patch -p0\r\n[barbayar@www2792 ~\/src\/vim73]$<\/pre>\n<p>\u0425\u0430\u0440\u0430\u043c\u0441\u043b\u0442\u0430\u0439 \u043d\u044c \u043c\u0430\u043d\u0430\u0439 server \u0434\u044d\u044d\u0440\u0445 patch \u043d\u044c \u0445\u0443\u0443\u0447\u0438\u043d \u0445\u0443\u0432\u0438\u043b\u0431\u0430\u0440 \u043d\u044c \u0431\u043e\u043b\u043e\u0445\u043e\u043e\u0440 \u0447 \u0442\u044d\u0440 \u04af\u04af, patch \u0445\u0438\u0439\u0445 \u044f\u0432\u0446\u0430\u0434 225-\u0440 patch \u0434\u044d\u044d\u0440 \u0430\u043b\u0434\u0430\u0430 \u0433\u0430\u0440\u0430\u0430\u0434 \u0437\u043e\u0433\u0441\u0447\u0438\u0445\u043b\u043e\u043e. \u0422\u044d\u0433\u044d\u0445\u044d\u044d\u0440 \u043d\u044c \u044f\u0433 \u0430\u0434\u0438\u043b\u0445\u0430\u043d \u0431\u0430\u0439\u0434\u043b\u0430\u0430\u0440 \u04e9\u04e9\u0440\u0438\u0439\u043d\u0445\u04e9\u04e9 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440 \u0434\u044d\u044d\u0440 \u0430\u0436\u043b\u0443\u0443\u043b\u0430\u0430\u0434, patch \u0445\u0438\u0439\u0441\u043d\u0438\u0439 \u0434\u0430\u0440\u0430\u0430\u0445 source code-\u044b\u0433 server-\u0440\u04af\u04af\u0433\u044d\u044d \u0445\u0443\u0443\u043b\u043b\u0430\u0430. \u041e\u0434\u043e\u043e compile-\u0434\u0430\u0445 \u04af\u043b\u0434\u043b\u044d\u044d.<\/p>\n<pre class=\"striped:false lang:sh highlight:0 decode:true\">[barbayar@www2792 ~\/src\/vim73]$ .\/configure --enable-multibyte --enable-xim --enable-fontset --with-features=huge --prefix=$HOME\r\n[barbayar@www2792 ~\/src\/vim73]$ make\r\n[barbayar@www2792 ~\/src\/vim73]$ make install<\/pre>\n<p>\u0421\u0443\u0443\u043b\u0433\u0430\u0441\u043d\u044b \u0434\u0430\u0440\u0430\u0430 manual page-\u04af\u04af\u0434 \u043d\u044c $HOME\/man-\u0440\u0443\u0443 \u0431\u0438\u0448, $HOME\/share\/man-\u0440\u0443\u0443 \u043e\u0440\u0447\u0438\u0445\u0441\u043e\u043d \u0431\u0430\u0439\u0441\u0430\u043d \u0442\u0443\u043b,\u00a0manual page-\u04af\u04af\u0434\u044d\u044d $HOME\/man-\u0440\u0443\u0443 \u0437\u04e9\u04e9\u043b\u04e9\u04e9.<\/p>\n<p>\u041e\u0434\u043e\u043e $HOME folder \u0434\u043e\u0442\u0440\u043e\u043e .vimrc \u0433\u044d\u0434\u044d\u0433 file \u04af\u04af\u0441\u0433\u044d\u044d\u0434\u00a0<a href=\"http:\/\/www.vim.org\/\" target=\"_blank\">Vim<\/a>-\u044b\u043d\u0445\u044d\u044d \u0442\u043e\u0445\u0438\u0440\u0433\u043e\u043e\u0433 \u043e\u0440\u0443\u0443\u043b\u0430\u0445 \u04af\u043b\u0434\u043b\u044d\u044d. \u041c\u0438\u043d\u0438\u0439 \u0445\u0443\u0432\u044c\u0434 \u0434\u0430\u0440\u0430\u0430\u0445 \u0442\u043e\u0445\u0438\u0440\u0433\u043e\u043e\u0433 \u0430\u0448\u0438\u0433\u043b\u0430\u0434\u0430\u0433.<\/p>\n<pre class=\"lang:vim decode:true\" title=\".vimrc\">\" keyboard \u0434\u044d\u044d\u0440\u0445 \u0434\u044d\u044d\u0448\u044d\u044d\/\u0434\u043e\u043e\u0448\u043e\u043e\/\u0437\u04af\u04af\u043d\/\u0431\u0430\u0440\u0443\u0443\u043d \u0433\u044d\u0441\u044d\u043d \u0442\u043e\u0432\u0447\u043d\u0443\u0443\u0434\u044b\u0433 \u0445\u044d\u0432\u0438\u0439\u043d \u0430\u0436\u0438\u043b\u043b\u0430\u0433\u0430\u0430\u043d\u0434 \u043e\u0440\u0443\u0443\u043b\u043d\u0430\r\nset nocompatible\r\n\r\n\" backspace \u0431\u043e\u043b\u043e\u043d delete \u0442\u043e\u0432\u0447\u043d\u0443\u0443\u0434\u044b\u0433 \u0445\u044d\u0432\u0438\u0439\u043d \u0430\u0436\u0438\u043b\u043b\u0430\u0433\u0430\u0430\u043d\u0434 \u043e\u0440\u0443\u0443\u043b\u043d\u0430\r\nset backspace=2 \"\r\n\r\n\" \u043c\u04e9\u0440\u0438\u0439\u043d \u0434\u0443\u0433\u0430\u0430\u0440\u044b\u0433 \u0433\u0430\u0440\u0433\u0430\u043d\u0430\r\nset number\r\n\r\n\" terminal-\u044b\u043d \u0447\u0438\u043d\u044c title \u0434\u044d\u044d\u0440 \u0437\u0430\u0441\u0432\u0430\u0440\u043b\u0430\u0436 \u0431\u0430\u0439\u0433\u0430\u0430 file-\u044b\u043d \u043d\u044d\u0440\u0438\u0439\u0433 \u0445\u0430\u0440\u0443\u0443\u043b\u043d\u0430\r\nset title\r\n\r\n\" cursor \u043e\u0434\u043e\u043e \u0445\u0430\u0430\u043d\u0430 \u0431\u0430\u0439\u0433\u0430\u0430\u0433 \u0431\u0430\u0440\u0443\u0443\u043d \u0434\u043e\u043e\u0434 \u0431\u0443\u043b\u0430\u043d\u0434 \u0445\u0430\u0440\u0443\u0443\u043b\u043d\u0430\r\nset ruler\r\n\r\n\" tab \u0442\u044d\u043c\u0434\u044d\u0433\u0442\u0438\u0439\u043d \u0445\u044d\u043c\u0436\u044d\u044d\u0433 2 space \u0445\u044d\u043c\u0436\u044d\u044d\u0442\u044d\u0439 \u0431\u043e\u043b\u0433\u043e\u043d\u043e\r\nset tabstop=2\r\n\r\n\" tab \u0442\u044d\u043c\u0434\u044d\u0433\u0442\u0438\u0439\u0433 space \u0442\u044d\u043c\u0434\u044d\u0433\u0442 \u0431\u043e\u043b\u0433\u043e\u043d \u0445\u04e9\u0440\u0432\u04af\u04af\u043b\u043d\u044d\r\nset expandtab\r\n\r\n\" \u0445\u0430\u043c\u0433\u0438\u0439\u043d \u0434\u043e\u043e\u0434 \u0445\u044d\u0441\u0433\u044d\u044d\u0441 3 \u043c\u04e9\u0440 \u0434\u0443\u0442\u0443\u0443 \u0431\u0430\u0439\u0445\u0430\u0434 \u0445\u0443\u0443\u0434\u0441\u044b\u0433 \u043d\u044c \u0434\u043e\u043e\u0448 \u043d\u044c \u0433\u04af\u0439\u043b\u0433\u044d\u0434\u044d\u0433 \u0431\u043e\u043b\u0433\u043e\u043d\u043e\r\nset scrolloff=3\r\n\r\n\" source code-\u044b\u0433 \u04e9\u043d\u0433\u04e9\u04e9\u0440 \u044f\u043b\u0433\u0430\u043d \u0445\u0430\u0440\u0443\u0443\u043b\u043d\u0430\r\nsyntax on\r\n\r\n\" \u0434\u0430\u0440\u0430\u0430\u0433\u0438\u0439\u043d \u043c\u04e9\u0440 \u0440\u04af\u04af \u0448\u0438\u043b\u0436\u044d\u0445 \u04af\u0435\u0434 \u04e9\u043c\u043d\u04e9\u0445 \u043c\u04e9\u0440\u0438\u0439\u043d \u044d\u0433\u0446 \u0434\u043e\u043e\u0440\u043e\u043e\u0441 \u044d\u0445\u043b\u044d\u043d \u0431\u0438\u0447\u043d\u044d\r\nset autoindent\r\n\r\n\" mouse \u0430\u0448\u0438\u0433\u043b\u0430\u0434\u0430\u0433 \u0431\u043e\u043b\u043d\u043e\r\nset mouse=a\r\n\r\n\" Windows \u0442\u04e9\u0440\u043b\u0438\u0439\u043d keyboard \u0430\u0448\u0438\u0433\u043b\u0430\u0445 \u04af\u0435\u0434 \u0431\u0430\u0440\u0443\u0443\u043d \u0442\u0430\u043b\u044b\u043d \u0445\u044d\u0441\u044d\u0433\u0442 \u0431\u0430\u0439\u0434\u0430\u0433 numeric keypad-\u044b\u0433 \u0445\u044d\u0432\u0438\u0439\u043d \u0430\u0436\u0438\u043b\u043b\u0430\u0433\u0430\u0430\u043d\u0434 \u043e\u0440\u0443\u0443\u043b\u043d\u0430\r\nimap &lt;Esc&gt;Oq 1\r\nimap &lt;Esc&gt;Or 2\r\nimap &lt;Esc&gt;Os 3\r\nimap &lt;Esc&gt;Ot 4\r\nimap &lt;Esc&gt;Ou 5\r\nimap &lt;Esc&gt;Ov 6\r\nimap &lt;Esc&gt;Ow 7\r\nimap &lt;Esc&gt;Ox 8\r\nimap &lt;Esc&gt;Oy 9\r\nimap &lt;Esc&gt;Op 0\r\nimap &lt;Esc&gt;On .\r\nimap &lt;Esc&gt;OR *\r\nimap &lt;Esc&gt;OQ \/\r\nimap &lt;Esc&gt;Ol +\r\nimap &lt;Esc&gt;OS -<\/pre>\n<h1>\u00a0<a href=\"http:\/\/git-scm.com\/\" target=\"_blank\">Git<\/a>-\u044b\u0433 \u0441\u0443\u0443\u043b\u0433\u0430\u0445<\/h1>\n<p>\u042f\u0433 \u043e\u0434\u043e\u043e\u0433\u0438\u0439\u043d \u0431\u0430\u0439\u0434\u043b\u0430\u0430\u0440\u00a0<a href=\"http:\/\/git-scm.com\/\" target=\"_blank\">Git<\/a>-\u044b\u043d \u0445\u0430\u043c\u0433\u0438\u0439\u043d \u0441\u04af\u04af\u043b\u0438\u0439\u043d \u0445\u0443\u0432\u0438\u043b\u0431\u0430\u0440 \u043d\u044c 1.8.2.2 \u044e\u043c \u0431\u0430\u0439\u043d\u0430. \u0413\u044d\u0445\u0434\u044d\u044d \u044d\u043d\u044d \u0445\u0443\u0432\u0438\u043b\u0431\u0430\u0440 \u043d\u044c \u0441\u0443\u0443\u043b\u0433\u0430\u0445 \u04af\u0435\u0434 \u0430\u043b\u0434\u0430\u0430 \u0433\u0430\u0440\u0441\u0430\u043d \u0442\u0443\u043b, 1.8.1-\u044b\u0433 \u0441\u0443\u0443\u043b\u0433\u0430\u0445\u0430\u0430\u0440 \u0448\u0438\u0439\u0434\u043b\u044d\u044d.<\/p>\n<pre class=\"striped:false lang:sh highlight:0 decode:true\">[barbayar@www2792 ~]$ cd $HOME\/src\r\n[barbayar@www2792 ~\/src]$ wget http:\/\/git-core.googlecode.com\/files\/git-1.8.1.tar.gz\r\n[barbayar@www2792 ~\/src]$ tar zxvf git-1.8.1.tar.gz\r\n[barbayar@www2792 ~\/src]$ cd git-1.8.1\r\n[barbayar@www2792 ~\/src\/git-1.8.1]$ .\/configure --prefix=$HOME\r\n[barbayar@www2792 ~\/src\/git-1.8.1]$ gmake\r\n[barbayar@www2792 ~\/src\/git-1.8.1]$ gmake install<\/pre>\n<p>\u0421\u0443\u0443\u043b\u0433\u0430\u0441\u043d\u044b \u0434\u0430\u0440\u0430\u0430,\u00a0<a href=\"http:\/\/www.vim.org\/\" target=\"_blank\">Vim<\/a>-\u0442\u044d\u0439 \u0430\u0434\u0438\u043b\u0445\u0430\u043d, manual page-\u04af\u04af\u0434 \u043d\u044c $HOME\/share\/man-\u0440\u0443\u0443 \u043e\u0440\u0447\u0438\u0445\u0441\u043e\u043d \u0431\u0430\u0439\u0441\u0430\u043d \u0442\u0443\u043b, $HOME\/man-\u0440\u0443\u0443 \u0437\u04e9\u04e9\u043b\u04e9\u04e9. \u041c\u04e9\u043d \u04af\u043d\u0434\u0441\u044d\u043d manual page-\u04af\u04af\u0434 \u043d\u044c \u0442\u0443\u0441\u0434\u0430\u0430 package \u0431\u043e\u043b\u0441\u043e\u043d \u0431\u0430\u0439\u0433\u0430\u0430 \u0442\u0443\u043b, 1.8.1-\u044b\u043d manual page-\u04af\u04af\u0434\u0438\u0439\u0433 <a href=\"https:\/\/code.google.com\/p\/git-core\/downloads\/detail?name=git-manpages-1.8.1.tar.gz&amp;can=2&amp;q=manpages\" target=\"_blank\">\u044d\u043d\u0434\u044d\u044d\u0441<\/a> \u0442\u0430\u0442\u0430\u0436 \u0430\u0432\u0430\u0430\u0434, $HOME\/man-\u0440\u0443\u0443 \u0445\u0438\u0439\u0436 \u04e9\u0433\u0447 \u0431\u043e\u043b\u043d\u043e.<\/p>\n<pre class=\"striped:false lang:sh highlight:0 decode:true\">[barbayar@www2792 ~]$ cd $HOME\/man\r\n[barbayar@www2792 ~\/man]$ wget http:\/\/git-core.googlecode.com\/files\/git-manpages-1.8.1.tar.gz\r\n[barbayar@www2792 ~\/man]$ tar zxvf git-manpages-1.8.1.tar.gz<\/pre>\n<p>\u041e\u0434\u043e\u043e\u00a0<a href=\"http:\/\/git-scm.com\/\" target=\"_blank\">Git<\/a>-\u0434\u044d\u044d\u0440\u044d\u044d \u04e9\u04e9\u0440\u0438\u0439\u043d\u0445\u04e9\u04e9 \u043d\u044d\u0440 \u0431\u043e\u043b\u043e\u043d email \u0445\u0430\u044f\u0433\u0438\u0439\u0433 \u0442\u043e\u0445\u0438\u0440\u0443\u0443\u043b\u0436 \u04e9\u0433\u043d\u04e9.<\/p>\n<pre class=\"striped:false lang:sh highlight:0 decode:true\">[barbayar@www2792 ~]$ git config --global user.email \"example@mail.com\"\r\n[barbayar@www2792 ~]$ git config --global user.name \"Barbayar Dashzeveg\"\r\n\r\n# \u0437\u04e9\u0432 \u043e\u0440\u0441\u043e\u043d \u044d\u0441\u044d\u0445\u044d\u044d \u0448\u0430\u043b\u0433\u0430\u0445 \u0431\u043e\u043b \u0434\u0430\u0440\u0430\u0430\u0445 \u0431\u0430\u0439\u0434\u043b\u0430\u0430\u0440 \u0448\u0430\u043b\u0433\u0430\u043d\u0430\r\n[barbayar@www2792 ~]$ git config --global user.email\r\nexample@mail.com\r\n[barbayar@www2792 ~]$ git config --global user.name\r\nBarbayar Dashzeveg<\/pre>\n<h1>\u0410\u0441\u0443\u0443\u043b\u0442 \/ \u0425\u0430\u0440\u0438\u0443\u043b\u0442<\/h1>\n<p><span style=\"color: #993300;\">\u0422\u0430\u0442\u0430\u0436 \u0430\u0432\u0441\u0430\u043d file-\u0443\u0443\u0434 \u0431\u043e\u043b\u043e\u043d, \u0442\u044d\u0434\u0433\u044d\u044d\u0440\u0438\u0439\u0433 \u0437\u0430\u0434\u043b\u0430\u0445\u0430\u0434 \u04af\u04af\u0441\u0441\u044d\u043d folder-\u0443\u0443\u0434\u044b\u0433 \u0443\u0441\u0442\u0433\u0430\u0436 \u0431\u043e\u043b\u043e\u0445 \u0443\u0443?<\/span><br \/>\n\u041c\u044d\u0434\u044d\u044d\u0436 \u0431\u043e\u043b\u043d\u043e. \u0422\u0430\u0442\u0430\u0436 \u0430\u0432\u0441\u0430\u043d package file-\u0443\u0443\u0434 \u0431\u043e\u043b\u043e\u043d, $HOME\/src folder \u0434\u0430\u0445\u044c source code-\u0443\u0443\u0434\u0430\u0430 \u0443\u0441\u0442\u0433\u0430\u0436 \u0437\u0430\u0439\u0433\u0430\u0430 \u0445\u044d\u043c\u043d\u044d\u0436 \u0431\u043e\u043b\u043d\u043e.<\/p>\n<p><span style=\"color: #993300;\">(g)make install \u0445\u0438\u0439\u0445 \u04af\u0435\u0434 manual page-\u04af\u04af\u0434\u0438\u0439\u0433 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0430\u0430\u0440 $HOME\/share\/man-\u0440\u0443\u0443 \u0445\u0443\u0443\u043b\u0430\u0430\u0434 \u0431\u0430\u0439\u0445\u0430\u0434, \u044f\u0430\u0433\u0430\u0430\u0434 \u0434\u0430\u0445\u0438\u0436 \u0445\u04af\u0447\u044d\u044d\u0440 $HOME\/man-\u0440\u0443\u0443 \u0445\u0443\u0443\u043b\u0430\u0430\u0434 \u0431\u0430\u0439\u0433\u0430\u0430 \u044e\u043c?<\/span><br \/>\n\u0415\u0440 \u043d\u044c \u0431\u043e\u043b manual page, source code \u043d\u0430\u0440 \u0445\u0430\u0430\u043d\u0430 \u0447 \u0431\u0430\u0439\u0440\u043b\u0430\u0436 \u0431\u043e\u043b\u043d\u043e. \u0411\u0438 \u0437\u04af\u0433\u044d\u044d\u0440 <a href=\"http:\/\/unix.stackexchange.com\/questions\/36871\/where-should-a-local-executable-be-placed\" target=\"_blank\">\u044d\u043d\u0434<\/a> \u0431\u0438\u0447\u0441\u044d\u043d\u0438\u0439 \u0434\u0430\u0433\u0443\u0443 folder-\u044b\u043d\u0445\u043e\u043e \u0431\u04af\u0442\u0446\u0438\u0439\u0433 \u0448\u0438\u0439\u0434\u0447\u0438\u0445\u0441\u044d\u043d \u044e\u043c. \u0422\u044d\u0433\u044d\u044d\u0434 \u0442\u044d\u0440 \u0431\u04af\u0442\u0446\u044d\u043d\u0434\u044d\u044d \u0442\u0430\u0430\u0440\u0443\u0443\u043b\u0430\u0445 \u0433\u044d\u044d\u0434, \u0445\u04af\u0447\u044d\u044d\u0440 \u0445\u0443\u0443\u043b\u0436 \u0431\u0430\u0439\u0433\u0430\u0430 \u044e\u043c. \u041c\u04e9\u043d \u044d\u043d\u044d \u0431\u04af\u0442\u0446\u044d\u044d\u0440 \u044f\u0432\u0431\u0430\u043b, $PATH \u0431\u043e\u043b\u043e\u043d manual page-\u044b\u043d \u0437\u0430\u043c\u0443\u0443\u0434\u044b\u0433 \u0434\u0430\u0445\u0438\u043d \u0442\u043e\u0445\u0438\u0440\u0443\u0443\u043b\u0430\u0445 \u0448\u0430\u0430\u0440\u0434\u043b\u0430\u0433\u0430\u0433\u04af\u0439\u0433\u044d\u044d\u0440 \u0448\u0443\u0443\u0434 \u0430\u0436\u0438\u043b\u043b\u0430\u0445 \u0431\u0430\u0439\u0441\u0430\u043d \u044e\u043c. \u041c\u044d\u0434\u044d\u044d\u0436 server \u0431\u04af\u0440\u044d\u044d\u0441 \u0445\u0430\u043c\u0430\u0430\u0440\u0430\u0430\u0434, $PATH \u0431\u043e\u043b\u043e\u043d\u00a0manual page-\u044b\u043d \u0437\u0430\u043c\u0443\u0443\u0434\u044b\u0433 \u0434\u0430\u0445\u0438\u043d \u0442\u043e\u0445\u0438\u0440\u0443\u0443\u043b\u0430\u0445 \u0448\u0430\u0430\u0440\u0434\u043b\u0430\u0433\u0430 \u0433\u0430\u0440\u0447 \u0438\u0440\u0436 \u043c\u0430\u0433\u0430\u0434\u0433\u04af\u0439.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u04e8\u043c\u043d\u04e9\u0445 \u0431\u0438\u0447\u043b\u044d\u0433 \u0434\u044d\u044d\u0440\u00a0SAKURA Internet\u00a0\u0433\u044d\u044d\u0434 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0430\u0441\u00a0shared host\u00a0\u0430\u0432\u0441\u0430\u043d \u0433\u044d\u0436 \u0431\u0438\u0447\u0438\u0436 \u0431\u0430\u0439\u0441\u0430\u043d. \u0422\u044d\u0433\u044d\u044d\u0434 \u0442\u044d\u0440\u044d\u043d \u0434\u044d\u044d\u0440\u044d\u044d Bash, Vim, Git 3-\u044b\u0433 \u0441\u0443\u0443\u043b\u0433\u0430\u0445 \u0431\u043e\u043b\u0441\u043e\u043d \u044e\u043c. \u042e\u0443\u043d\u044b \u0442\u04af\u0440\u04af\u04af\u043d\u0434 \u044d\u043d\u044d 3 \u043d\u044c \u044e\u0443 \u0432\u044d&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.barbayar.net\/index.php?rest_route=\/wp\/v2\/posts\/42"}],"collection":[{"href":"https:\/\/blog.barbayar.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.barbayar.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.barbayar.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.barbayar.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=42"}],"version-history":[{"count":50,"href":"https:\/\/blog.barbayar.net\/index.php?rest_route=\/wp\/v2\/posts\/42\/revisions"}],"predecessor-version":[{"id":93,"href":"https:\/\/blog.barbayar.net\/index.php?rest_route=\/wp\/v2\/posts\/42\/revisions\/93"}],"wp:attachment":[{"href":"https:\/\/blog.barbayar.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=42"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.barbayar.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=42"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.barbayar.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=42"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}