Различия

Показаны различия между двумя версиями страницы.

Ссылка на это сравнение

Предыдущая версия справа и слева Предыдущая версия
Следующая версия
Предыдущая версия
develop:shell:bash [2021/01/03 21:05] – [Переменные и конфиг файлы] mirocowdevelop:shell:bash [2023/06/24 12:29] (текущий) – [BASH, SH] mirocow
Строка 3: Строка 3:
 ====== BASH, SH ====== ====== BASH, SH ======
  
-  * [[:bash:developing|Программирование]] :!: 
   * [[:system:shopt|Настройки]]   * [[:system:shopt|Настройки]]
   * [[:bash:bash-completion|]]   * [[:bash:bash-completion|]]
   * [[:bash:keys|]]   * [[:bash:keys|]]
-  * [[http://habrahabr.ru/post/47706/|Частые ошибки программирования на Bash]] 
   * [[:unix:commands|]] :!:   * [[:unix:commands|]] :!:
   * [[:unix:admin|]]   * [[:unix:admin|]]
   * [[:develop:shell|]]   * [[:develop:shell|]]
 +  * [[:bash:developing|Программирование]] :!: 
 +  * [[:bash:основы_bash._часть_1|]] :!: 
 +  * [[:bash:основы_bash._часть_2|]] :!:
 ====== Переменные и конфиг файлы ====== ====== Переменные и конфиг файлы ======
  
 <code> <code>
                      +-----------------+   +------FIRST-------+   +-----------------+                      +-----------------+   +------FIRST-------+   +-----------------+
-                       |   | ~/.bash_profile  |                   |+                                     |   | ~/.bash_profile  |                   |
 login shell --------> /etc/profile   |-->| ~/.bash_login ------> ~/.bashrc      | login shell --------> /etc/profile   |-->| ~/.bash_login ------> ~/.bashrc      |
-                       |   | ~/.profile                         |+                                     |   | ~/.profile                         |
                      +-----------------+   +------------------+   +-----------------+                      +-----------------+   +------------------+   +-----------------+
                      +-----------------+   +-----------------+                      +-----------------+   +-----------------+
-                       |     |+                                     |                   |
 interactive shell --> ~/.bashrc -------->| /etc/bashrc     | interactive shell --> ~/.bashrc -------->| /etc/bashrc     |
-                       |     |+                                     |                   |
                      +-----------------+   +-----------------+                      +-----------------+   +-----------------+
                      +-----------------+                      +-----------------+
-                       |+                                     |
 logout shell -------> ~/.bash_logout | logout shell -------> ~/.bash_logout |
-                       |+                                     |
                      +-----------------+                      +-----------------+
  
 </code> </code>
  
-  * []-->[] means source by workflow (Automatically). +  * []-->[] - запускается автоматически 
-  * [--->[] means source by convention (Manually. If not, nothing happen.)+  * [--->[] - запускается если прописан или в ручную
-  * FIRST means find the first availableignore rest+  * FIRST - находит первый доступныйостальные игнорируются
  
 Несколько примечаний: Несколько примечаний:
Строка 54: Строка 54:
   * [[http://rus-linux.net/MyLDP/BOOKS/abs-guide/flat/abs-book.html|http://rus-linux.net/MyLDP/BOOKS/abs-guide/flat/abs-book.html]]   * [[http://rus-linux.net/MyLDP/BOOKS/abs-guide/flat/abs-book.html|http://rus-linux.net/MyLDP/BOOKS/abs-guide/flat/abs-book.html]]
   * [[http://www.opennet.ru/docs/RUS/bash_scripting_guide/|http://www.opennet.ru/docs/RUS/bash_scripting_guide/]]   * [[http://www.opennet.ru/docs/RUS/bash_scripting_guide/|http://www.opennet.ru/docs/RUS/bash_scripting_guide/]]
-  * [[https://raw.githubusercontent.com/olegberman/the-art-of-command-line/master/README-ru.md|https://raw.githubusercontent.com/olegberman/the-art-of-command-line/master/README-ru.md]] *+  * [[https://raw.githubusercontent.com/olegberman/the-art-of-command-line/master/README-ru.md|https://raw.githubusercontent.com/olegberman/the-art-of-command-line/master/README-ru.md]] 
 +  [[http://habrahabr.ru/post/47706/|Частые ошибки программирования на Bash]]
 ==== Программирования ==== ==== Программирования ====
  
-  * [[:bash:основы_bash._часть_1|]] :!: 
-  * [[:bash:основы_bash._часть_2|]] :!: 
   * [[http://habrahabr.ru/post/47706/|http://habrahabr.ru/post/47706/]] 1 часть   * [[http://habrahabr.ru/post/47706/|http://habrahabr.ru/post/47706/]] 1 часть
   * [[http://habrahabr.ru/post/47915/|http://habrahabr.ru/post/47915/]] 2 часть   * [[http://habrahabr.ru/post/47915/|http://habrahabr.ru/post/47915/]] 2 часть