ログイン時のプロファイル
ubuntuでrootにログインしても、.bashrcが読み込まれていない。 理由は、.profileがないから。 読み込み順は以下のようになっている。 /etc/profile /etc/bash.bashrc /etc/profile.d/*.sh ~/.profile ~/.bashrc ~/.bash_aliases ということで、.profileを追加して、.bash_aliasesにメールのエリアスを追加して終了。 alias mail=s-nail ついでにro ...