50%

🚀

4

.

:

  1. .
  2. bash- .
  3. .
  4. .

Merion Academy


Unix Shell , Unix . . BASH Bourne-again-shell ( ). Unix, Linux. , Linux. Ubuntu.

. ~ . , /home/john.

/etc/profile . , , . , /etc/profile.d /etc/bash.bashrc /etc/bashrc. , bash.bashrc bashrc , . , . Linux , , . , , , .

, , /etc/profile.d ~/.bash_profile, ~/.bash_login, ~/.profile. - . Ubuntu ~/.profile ~/.bashrc, . . , . Ubuntu .

~/.bashrc , . /etc/bashrc , .

: bash , . /etc/profile, . ~/.bash_profile, ~/.bash_login, ~/.profile. home ~/.bash_logout , .

, bash, , /etc/bash.bashrc /etc/bashrc.

, . /etc/profile.

/etc/profile

, /etc/bash.bashrc, /etc/bashrc. /etc/profile.d/*.sh, . . , .

cat /etc/bash.bashrc.

cat /etc/bash.bashrc

, . , . , .

/etc, profile.d, .

profile.d

, , , . cd ~, .

cd ~

, , , ~/.profile. . , cat ~/.profile.

cat ~/.profile

~/.bashrc. Ubuntu. ~/.bashrc .

~/.bashrc

. , , , .

~/.bash_logout.

~/.bash_logout

, , - .

, . /etc/skel/. , .

/etc/skel/

. , . , - , . .


>