摘要:        
请按以下操作:1,在启动的时候,上下移动,选中(不是按回车)类似这样的修复模式"Ubuntu-x.x.xx.xx-generic (recovery mode),然后按e。2,在第二层菜单选择有kernel这行,如:"kernel /boot/vmlinux-x.x.xx-xx-generic root=UUID=ae424e-bod0-475c-2342433 ro single" 按下e进行编辑。3,修改启动参数,将后面的ro single改为rw single init=/bin/bash,然后按回车。如:"kernel /boot/vmlinux    阅读全文
posted @ 2012-01-16 18:13
balaamwe
阅读(324)
评论(0)
推荐(0)
        
            
        
        
摘要:        
摘要:对fork,source和exec三种方式执行shell脚本的总结。准备知识1.我们所执行的任何程序,都是由父进程(parent process)所产生出来的一个子进程(child process),子进程在结束后,将返回到父进程去。此一现像在Linux系统中被称为 fork。当子进程被产生的时候,将会从父进程那里获得一定的资源分配、及(更重要的是)继承父进程的环境﹗2.Shell变量大致可以分为3种类型: 内部变量:系统提供,不用定义,不能修改,比如$#,$?,$*,$0等 环境变量:系统提供,不用定义,可以修改,当前进程及其子进程中使用,比如PATH,PWD,SHELL等 用户变量(    阅读全文
posted @ 2012-01-16 16:22
balaamwe
阅读(12343)
评论(0)
推荐(0)
        
            
        
        
摘要:        
AppendixD.IP Route ManagementTable of ContentsD.1.routeD.1.1. Displaying the routing table withrouteD.1.2. Readingroute's outputD.1.3. Usingrouteto display the routing cacheD.1.4. Creating a static route withroute addD.1.5. Creating a default route withroute add defaultD.1.6. Removing routes wit    阅读全文
posted @ 2012-01-16 15:36
balaamwe
阅读(1123)
评论(0)
推荐(0)
        
            
        
        
摘要:        
$ ls -ld /etc/rc.ddrwxr-xr-x 10 root root 352 2月 13 13:38 /etc/rc.d/$ ls -ld /etc/init.dlrwxrwxrwx 1 root root 11 2月 13 13:38 /etc/init.d -> rc.d/init.d/一个是另外一个的软链接吧etc/rc.d/init.d里面包含了一些脚本,这些脚本供INIT进程(也就是1号进程)在系统从初始化的时候按照该进程获取的开机运行等级,有选择的运行init.d里的脚本。这些一般是系统安装好的软件运行级别,决定了系统启动之后运行于什么级别。这个级别从0到6 ,    阅读全文
posted @ 2012-01-16 15:35
balaamwe
阅读(13266)
评论(0)
推荐(2)
        
 
                    
                     
                    
                 
                    
                
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号