红联Linux门户
Linux帮助

mingetty之后运行的什么

发布时间:2009-09-15 10:54:56来源:红联作者:wdnyz_yf
在运行mingetty之后,网上说的是启动一个终端然后可以登录,在mingetty之后到完全显示桌面到底运行了什么东西?去哪里查找?
文章评论

共有 8 条评论

  1. freeice 于 2009-09-19 14:14:19发表:

    看来得多向8楼的学习啊!

  2. wang7131984 于 2009-09-17 17:07:58发表:

    对与bash
    /etc/profile
    ~/.bash_profile
    ~/.bash_login
    ~/.bash_rc
    ~/.bash_logout
    才是bash的真正配置文件。
    其他都是source来的。
    ~/.bash_rc是普通的交互式shell的配置文件,而其他是login shell的配置文件。

  3. xht0529 于 2009-09-17 16:43:52发表:

    高人啊

  4. wdnyz_yf 于 2009-09-16 11:14:45发表:

    login shell 为开机登入时所载入之系统环境变数,个人环境变数,alias or shell fuction ,
    其载入顺序为
    /etc/profile--> /etc/profile.d/*.sh --> ~/.bash_profile --> ~/.bash_rc --> /etc/bashrc
    这样理解对吗?

  5. wang7131984 于 2009-09-15 17:27:31发表:

    网上搜一下login shell, interactive shell, subshell, shell script之间的区别吧

  6. wdnyz_yf 于 2009-09-15 16:08:13发表:

    意思就是登录界面到桌面就运行了对应的shell脚本吧?

  7. ffsedan 于 2009-09-15 13:22:35发表:

    牛人!

  8. wang7131984 于 2009-09-15 11:41:00发表:

    init-fork->init child-exec->getty-exec->login-exec->login_shell