opensuse bash

  • There are 3 different types of shells in bash:
    the login shell, normal shell and interactive shell.
    Login shells read ~/.profile and
    interactive shells read ~/.bashrc;

  • In our setup, /etc/profile sources ~/.bashrc - thus all
    settings made here will also take effect in a login shell.

  • NOTE: It is recommended to make language settings in ~/.profile rather than
    here, since multilingual X sessions would not work properly if LANG is over-
    ridden in every subshell.

posted @ 2022-03-21 01:11  wangshaodong  阅读(23)  评论(0编辑  收藏  举报