美文网首页
/etc/rc.d/rc.local 与 /etc/profil

/etc/rc.d/rc.local 与 /etc/profil

作者: liut_2016 | 来源:发表于2016-11-28 14:48 被阅读136次

    第一步:通过/boot/vm进行启动vmlinuz
    第二步:init /etc/inittab
    第三步:启动相应的脚本,并且打开终端

    rc.sysinit
    rc.d(里面的脚本)
    rc.local(以root执行)
    

    第四步:启动login登录界面 login
    第五步:在用户登录的时候执行sh脚本的顺序,每次登录的时候都会完全执行的

    /etc/profile.d/file
    /etc/profile(全局环境变量) 
    /etc/bashrc (debain系为/etc/bash.bashrc)
    /root/.bashrc
    /root/.bash_profile
    

    http://blog.aizhet.com/Linux/10074.html
    拓展 https://wido.me/sunteya/understand-bashrc-and-profile

    相关文章

      网友评论

          本文标题:/etc/rc.d/rc.local 与 /etc/profil

          本文链接:https://www.haomeiwen.com/subject/gbsopttx.html