리눅스가 처음 부팅될때 bash를 실행시키는 녀석은 어떤 프로그램인가요? 그리고 PATH나 PS1이나 이런 변수를 맨처음 설정하는 프로그램은 어떤 프로그램인가요? /etc/profile에 PATH나 PS1을 설정하는 명령이 없는 기본적으로 설정이 되어있던데요.
부팅할 때 bash 를 사용해서 뭔가를 하는 놈은 수도 없이 많습니다. /etc/rc.d/ 에 있는 것들요.
login shell 이 /etc/profile 에서 시작해서 /etc/profile.d/ 의 것들, 최종적으로 ~/.profile, ~/.[ba,c]sh_profile 까지. shell 이 실행될 때 마다 추가적으로 ~/.[ba,c]shrc 도.
OTL
텍스트 포맷에 대한 자세한 정보
<code>
<blockcode>
<apache>
<applescript>
<autoconf>
<awk>
<bash>
<c>
<cpp>
<css>
<diff>
<drupal5>
<drupal6>
<gdb>
<html>
<html5>
<java>
<javascript>
<ldif>
<lua>
<make>
<mysql>
<perl>
<perl6>
<php>
<pgsql>
<proftpd>
<python>
<reg>
<spec>
<ruby>
<foo>
[foo]
부팅할 때 bash 를
부팅할 때 bash 를 사용해서 뭔가를 하는 놈은 수도 없이 많습니다. /etc/rc.d/ 에 있는 것들요.
login shell 이 /etc/profile 에서 시작해서 /etc/profile.d/ 의 것들, 최종적으로 ~/.profile, ~/.[ba,c]sh_profile 까지.
shell 이 실행될 때 마다 추가적으로 ~/.[ba,c]shrc 도.
OTL
댓글 달기