argius note

プログラミング関連

2006-07-18から1日間の記事一覧

.bash_profileとsourceコマンド

忘れてたので復習。 最初のログイン時に、/etc/skel以下のファイル(.bashrc, .inputrc, .bash_profile)がhomeディレクトリにコピーされる。で、.bash_profileには、 (抜粋) # source the users bashrc if it exists if [ -e "${HOME}/.bashrc" ] ; then …