Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Linux¹Ø»úÃüÁî

1 shutdown:
[NAME
]  shutdown - bring the system down
SYNOPSIS
       /sbin/shutdown [-t sec] [-arkhncfF] time [warning-message]
DESCRIPTION
       shutdown  brings  the  system  down  in a secure way.  All logged-in users are notified that the system is going down, and login(1) is blocked.  It is possible to shut the system down immediately or after a specified delay.   All  processes  are first  notified  that the system is going down by the signal SIGTERM.  This gives programs like vi(1) the time to save the file being edited, mail and news processing programs a chance to exit cleanly, etc.  shutdown does its job  by  signalling  the  init  process, asking it to change the runlevel.  Runlevel 0 is used to halt the system, runlevel 6 is used to reboot the system, and runlevel 1 is used to put to system into a state where administrative tasks can be performed; this is  the
       default  if  neither  the  -h  or  -r flag is given to shutdown.  To see which actions are taken on halt or reboot see the
       appropriate entries for these runlevels in the file /etc/inittab.
OPTIONS
       -a     Use /etc/shutdown.allow.
       -t sec Tell init(8) to wait sec seconds between sending processes the warning and the  kill  signal,  before  changing  to
              another runlevel.
       -k     Do not really shutdown; only send the warning messages to everybody.
       -r     Reboot after shutdown.
    &n


Ïà¹ØÎĵµ£º

ǶÈëʽӦÓÃLinux²Ã¼õµÄ³õ´Î³¢ÊÔ

http://blog.oasisfeng.com/2006/09/15/embedded-linux-cutdown/
ǰ¶Îʱ¼äÒòΪǶÈëʽӦÓÿª·¢µÄÐèÒª£¬¶ÔLinux½øÐÐÁËÒ»´Î´ó·ù¶ÈµÄ²Ã¼õ¡£ÓÉÓÚÊdzõ´Î½Ó´¥LinuxÆô¶¯µÄºËÐIJ¿·Ö£¬ËùÒÔ»ù±¾ÉÏ»¹ÊǶÔÍøÉϸ÷Öֲüõ
·½°¸µÄÆ´´ÕºÍÕûÀí£¬°üº¬×Ô¼ºÀí½âµÄ²¿·ÖʵÔÚºÜÉÙ¡£×ܵÄÀ´ËµÐ§¹û²»ËãÀíÏ룬ºóÃæ»¹Óкܳ¤µÄ·Ҫ×ß¡£
ÕâÀï¾Í´óÖÂ˵˵Ŀ ......

linuxÒÆÖ²¿ª·¢¼òµ¥²½Öè

http://blog.csdn.net/linucos/archive/2010/01/22/5223615.aspx
Linux
ÒÆÖ²¿ª·¢
×¼±¸¹¤×÷£º
×¼±¸
½»²æ±àÒ빤¾ßÁ´£ºÕâÀïÎÒÃÇÑ¡ÔñDENXÈí¼þ¹¤³ÌÌṩµÄELDK½»²æ±àÒë»·¾³£¬²Î¿¼µØÖ·£ºhttp://ftp.denx.de/pub/eldk/4.2/
£¬
ÎÒÃÇʹÓÃÆäÖеÄÒ»Ì×¹¤¾ß¡£×¼±¸¹¤×÷²½ÖèÈçÏ£º
1. ½¨Á¢¹¤×÷Îļþ¼ÐNewMsg2410,²¢½¨Á¢×ÓĿ¼sources ......

Linux²Ù×÷ϵͳÖйØÓÚcrontabµÄÈÕÖ¾´æ·Å

ĬÈÏÇé¿öÏ£¬crontabÖÐÖ´ÐеÄÈÕ־дÔÚ/var/logÏ£¬È磺
¡¡¡¡#ls /var/log/cron*
¡¡¡¡/var/log/cron /var/log/cron.1 /var/log/cron.2 /var/log/cron.3 /var/log/cron.4
¡¡¡¡crontabµÄÈÕÖ¾£¬µ±crondÖ´ÐÐÈÎÎñʧ°Üʱ»á¸øÓû§·¢Ò»·âÓʼþ¡£Èç¹ûÔÚ·þÎñÆ÷ÉÏ·¢ÏÖÒ»¸öÈÎÎñûÓÐÕý³£Ö´ÐУ¬¶øcrond·¢ÓʼþҲʧ°Ü¡£Í¨¹ý¿´mailµÄÈÕÖ¾£¬¿ ......

ÐÞ¸Ä Linux Ö÷»úÃû

Linux ÏÂʲô¶¼±È½ÏÂé·³£¬¾ÍÁ¬ÐÞ¸ÄÖ÷»úÃûÒ²²»ÀýÍâ¡£
Linux °²×°ºÃºó£¬ÆäĬÈϵÄÖ÷»úÃûÊÇ localhost¡£ÐÞ¸Ä Linux Ö÷»úÃûÐèÒª3²½¡£
ʹÓà hostname Ð޸ĵ±Ç°Ö÷»úÃû¡£
hostname new-hostname
ÐÞ¸Ä /etc/sysconfig/network  ÅäÖÃÎļþ£¬ÒÔ±ãÏ´ÎÖØÆôµÄʱ£¬Ê¹ÓÃеÄÖ÷»úÃû¡£
´ò¿ª /etc/sysconfig/network Îļþ£ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ