Linux ÖØÆôÃüÁî
----Linux ÖØÆôÃüÁî----
1¡¢shutdown
2¡¢poweroff
3¡¢init
4¡¢reboot
5¡¢halt
*---¾ßÌå˵Ã÷---
shutdown
reboot
ÔÚlinuxÏÂһЩ³£ÓõĹػú/ÖØÆôÃüÁîÓÐshutdown¡¢halt¡¢reboot¡¢¼°init£¬ËüÃǶ¼¿ÉÒÔ´ïµ½ÖØÆôϵͳµÄÄ¿µÄ£¬µ«Ã¿¸öÃüÁîµÄÄÚ²¿
¹¤×÷¹ý³ÌÊDz»Í¬µÄ£¬Í¨¹ý±¾ÎĵĽéÉÜ£¬Ï£ÍûÄã¿ÉÒÔ¸ü¼ÓÁé»îµÄÔËÓø÷ÖֹػúÃüÁî¡£
¡¡¡¡ 1.shutdown
shutdownÃüÁȫµØ½«ÏµÍ³¹Ø»ú¡£ ÓÐЩÓû§»áʹÓÃÖ±½Ó¶ÏµôµçÔ´µÄ·½Ê½À´¹Ø±Õlinux£¬ÕâÊÇÊ®·ÖΣÏյġ£ÒòΪlinuxÓëwindows²»Í¬£¬Æäºǫ́ÔËÐÐ×ÅÐí¶à½ø³Ì£¬ËùÒÔÇ¿Öƹػú¿ÉÄܻᵼÖ½ø³ÌµÄÊý¾Ý¶ªÊ§﹐ʹϵͳ´¦ÓÚ²»Îȶ¨µÄ״̬﹐ÉõÖÁÔÚÓеÄϵͳÖлáËð»µÓ²¼þÉ豸¡£¶øÔÚϵͳ¹Ø»úǰʹÓÃshutdownÃüÁî﹐ϵͳ¹ÜÀíÔ±»á֪ͨËùÓеǼµÄÓû§ÏµÍ³½«Òª¹Ø±Õ¡£²¢ÇÒloginÖ¸Áî»á±»¶³½á﹐¼´ÐµÄÓû§²»ÄÜÔٵǼ¡£Ö±½Ó¹Ø»ú»òÕßÑÓ³ÙÒ»¶¨µÄʱ¼ä²Å¹Ø»ú¶¼ÊÇ¿ÉÄܵÄ﹐»¹¿ÉÄÜÖØÆô¡£ÕâÊÇÓÉËùÓнø³Ì¡²process¡³¶¼»áÊÕµ½ÏµÍ³ËùËÍ´ïµÄÐźÅ
¡²signal¡³
¾ö¶¨µÄ¡£ÕâÈÃÏñviÖ®ÀàµÄ³ÌÐòÓÐʱ¼ä´¢´æÄ¿Ç°ÕýÔڱ༵ÄÎĵµ﹐¶øÏñ´¦ÀíÓʼþ¡²mail¡³ºÍ
ÐÂÎÅ¡²news¡³µÄ³ÌÐòÔò¿ÉÒÔÕý³£µØÀ뿪µÈµÈ¡£
shutdownÖ´ÐÐËüµÄ¹¤×÷ÊÇËÍÐźš²signal¡³¸øinit³ÌÐò﹐ÒªÇóËü¸Ä±ärunlevel¡£
Runlevel 0±»ÓÃÀ´Í£»ú¡²halt¡³﹐runlevel 6ÊÇÓÃÀ´ÖØм¤»î¡²reboot¡³ÏµÍ³﹐
¶ørunlevel 1ÔòÊDZ»ÓÃÀ´ÈÃϵͳ½øÈë¹ÜÀí¹¤×÷¿ÉÒÔ½øÐеÄ״̬﹔ÕâÊÇÔ¤ÉèµÄ﹐¼Ù¶¨Ã»ÓÐ-hҲûÓÐ-r²ÎÊý¸øshutdown¡£ÒªÏëÁ˽âÔÚÍ£»ú
¡²halt¡³»òÕßÖØпª»ú¡²reboot¡³¹ý³ÌÖÐ×öÁËÄÄЩ¶¯×÷﹐Äã¿ÉÒÔÔÚÕâ¸öÎļþ/etc/inittabÀï¿´µ½ÕâЩrunlevelsÏà¹ØµÄ×ÊÁÏ¡£
¡¡¡¡ shutdown ²ÎÊý˵Ã÷:
¡¡¡¡ [-t] Ôڸı䵽ÆäËürunlevel֮ǰ﹐¸æËßinit¶à¾ÃÒÔºó¹Ø»ú¡£
¡¡¡¡ [-r] ÖØÆô¼ÆËãÆ÷¡£
¡¡¡¡ [-k] ²¢²»ÕæÕý¹Ø»ú﹐Ö»ÊÇË;¯¸æÐźŸø
ÿλµÇ¼Õß¡²login¡³¡£
¡¡¡¡ [-h] ¹Ø»úºó¹Ø±ÕµçÔ´¡²halt¡³¡£
¡¡¡¡ [-n] ²»ÓÃinit﹐¶øÊÇ×Ô¼ºÀ´¹Ø»ú¡£²»¹ÄÀøʹÓÃÕâ¸öÑ¡Ïî﹐¶øÇÒ¸ÃÑ¡ÏîËù²úÉúµÄºó¹ûÍùÍù²»×ÜÊÇÄãËùÔ¤Æڵõ½µÄ¡£
¡¡¡¡ [-c] cancel current processÈ¡ÏûÄ¿Ç°ÕýÔÚÖ´ÐеĹػú³ÌÐò¡£ËùÒÔÕâ¸öÑ¡ÏȻûÓÐʱ¼ä²ÎÊý﹐µ«ÊÇ¿ÉÒÔÊäÈëÒ»¸öÓÃÀ´½âÊ͵ÄѶϢ
﹐¶øÕâÐÅÏ¢½«»áË͵½Ã¿Î»Ê¹ÓÃÕß¡£
¡¡¡¡ [-f] ÔÚÖØÆô¼ÆËãÆ÷¡²reboot¡³Ê±ºöÂÔfsck¡£
Ïà¹ØÎĵµ£º
linuxϵͳ°²È«(¶þ): ÈÕÖ¾
http://www.ibm.com/developerworks/cn/linux/security/l-ossec/part2/index.html
ÎĵµÑ¡Ïî
´òÓ¡±¾Ò³
½«´ËÒ³×÷Ϊµç×ÓÓʼþ·¢ËÍ
¼¶±ð£º ³õ¼¶
½úÁÁ (sound810@sina.com), ÍøÂ簲ȫ¹¤³Ìʦ
2003 Äê 1 ÔÂ 09 ÈÕ
ÎÒÃÇÖ÷Òª½²Ò»ÏÂLinux»·¾³ÖеÄϵͳ¼ÇÕʺÍϵͳÈÕÖ¾¹ÜÀíÒÔ¼°ÔõôÓÃÒ ......
/etc/sysconfig/i18n
±à¼/etc/sysconfig/i18nÕâ¸öÎļþ£¬
²»¹ÜÄã×°µÄÊÇÖÐÎÄ°æ,»¹ÊÇÓ¢ÎÄ°æ.ɾµôÔÀ´µÄÅäÖÃ,°ÑÏÂÃæµÄ¿½±´¹ýÈ¥
LANG="zh_CN.GB18030"
SUPPORTED="zh_CN.GB18030:zh_CN:zh:en_US.UTF-8:en_US:en"
SYSFONT="latarcyrheb-sun16"
±£´æ,ÖØÆð.OKÁË
×¢:
I18N ÊÇ internationalization µÄËõдÐÎʽ£¬Òâ¼´ÔÚ i ºÍ ......
LinuxÐÐÒµÕÐƸ¼¼ÊõÃæÊÔÌâ»ã×Ü
1. ÔÚLinuxϵͳÖУ¬ÒÔ Îļþ ·½Ê½·ÃÎÊÉ豸 ¡£
2. LinuxÄÚºËÒýµ¼Ê±£¬´ÓÎļþ /etc/fstab ÖжÁÈ¡Òª¼ÓÔصÄÎļþϵͳ¡£
3. LinuxÎļþϵͳÖÐÿ¸öÎļþÓà i½Úµã À´±êʶ¡£
4. È«²¿´ÅÅÌ¿éÓÉËĸö²¿·Ö×é³É£¬·Ö±ðΪÒýµ¼¿é ¡¢×¨ÓÃ¿é ¡¢ i½Úµã±í¿é ºÍÊý¾Ý´æ´¢¿é¡£
5. Á´½Ó·ÖΪ£º Ó²Á´½Ó ºÍ ·ûºÅÁ´½ ......
<!--
@page { margin: 2cm }
P { margin-bottom: 0.21cm }
-->
ÈËÃǵÄÑÛ¾¦¶¼¶¢×¡¼ÆËã»ú×ÀÃæ¡£µ«ÊÇ£¬Ò»°ãÈ˲¢²»ÖªµÀ
Linux
×ÀÃæÕý´¦ÔÚѸËٱ仯֮ÖС£Óкθù¾Ý£¿
×Ô
11
ÔÂ
10
ÈÕÆð£¬ÎÒÍ£Ó ......