2014年3月14日
摘要: #rc--run command的意思【rc解释】harvey@ubuntu:/etc$ cat ./init/rc-sysinit.conf # rc-sysinit - System V initialisation compatibility## This task runs the old System V-style system initialisation scripts,# and enters the default runlevel when finished. #选定系统的启动级别,还没有真正进入系统启动阶段description "System V initi 阅读全文
posted @ 2014-03-14 11:45 张海玉 阅读(1330) 评论(0) 推荐(0) 编辑
摘要: PATH环境变量,记录了所有可以直接执行的二进制命令的原件或者链接harvey@ubuntu:/etc$ echo $PATH/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/gamesPATH这个作用域是可执行的二进制命令:which---搜索整个PATH路径,查找当前搜索的命令是否存在,或具体是那个路径下的文件(如find) ; type---有些命令虽然可以执行但是which搜索不到命令的位置,可以使用type查看是否是内置命令(如cd);whereis-- 阅读全文
posted @ 2014-03-14 10:34 张海玉 阅读(291) 评论(0) 推荐(0) 编辑