Á¦¸ñ |
2 : ȯ°æº¯¼ö Àд ¼ø¼(bashrc, profile) |
À̸§ |
»êÀÌ [Ȩ]http://linuxchannel.net |
/etc/profile
.bash_profile start
.bashrc start
/etc/bashrc
.bashrc end
.bash_profile end
------
°¢ ¹èÆ÷ÆǸ¶´Ù Àд ¼ø¼°¡ ´Ù¸£¹Ç·Î
/etc/profile
/etc/bashrc
$HOME/.bashrc
$HOME/.bash_profile
ÀÇ °¢°¢ÀÇ ÆÄÀÏ¿¡ óÀ½ºÎºÐ°ú ¸¶Áö¸· ºÎºÐÀ»
(¿¹: $HOME/.bashrc)
echo '.bashrc start' >> /tmp/login_process.txt ## »ó´çºÎºÐ
echo '.bashrc end' >> /tmp/login_process.txt ## ÇϴܺκÐ
¿Í °°ÀÌ µð¹ö±ëÇÔ.
|
2002³â 11¿ù 13ÀÏ 00:56:12 ¼ö(»õº®) from 61.254.75.40 |