linux¹Ø»úÏÂÁîÄĸöºÃ
linux ϵͳÖÐ×î³£ÓõĹػúÏÂÁîΪ shutdown£¬ËüÖ§³ÖÒÔϹ¦Ð§£ºÁ¬Ã¦¹Ø»ú£ºshutdown -h nowÑÓʱ¹Ø»ú£ºshutdown +n “ÐÅÏ¢”ָ׼ʱ¼ä¹Ø»ú£ºshutdown hh:mm “ÐÅÏ¢”×÷·Ï¹Ø»ú£ºshutdown -c
×î³£ÓÃµÄ Linux ¹Ø»úÏÂÁî
ÔÚ Linux ϵͳÖУ¬×î³£ÓõĹػúÏÂÁîÊÇ£º
shutdown
ÏêϸڹÊÍ£º
shutdown ÏÂÁîÊÇÓÃÀ´¹Ø±Õ Linux ϵͳµÄ±ê×¼ÏÂÁî¡£ËüÔÊÐíÓû§Ö¸¶¨¹Ø»úʱ¼ä²¢ÏòÓû§·¢ËÍÐÂÎÅ¡£ÆäÓï·¨ÈçÏ£º
shutdown [Ñ¡Ïî] [ʱ¼ä] [ÐÅÏ¢]
µÇ¼ºó¸´ÖÆ
ÆäÖУº
Ñ¡Ï
-h£ºÁ¬Ã¦¹Ø±Õϵͳ£¬¶ø²»¾ÙÐÐÆäËû²Ù×÷¡£
-r£ºÖØÆôϵͳ¡£
-c£º×÷·ÏÏÈÇ°ÍýÏëµÄ¹Ø»ú»òÖØÆô¡£
-f£ºÇ¿Öƹػú£¬×ÝÈ»ÓÐδÉúÑĵÄÊý¾Ý¡£
ʱ¼ä£º
now£ºÁ¬Ã¦¹Ø»ú¡£
+n£ºÔÚ n ·ÖÖÓºó¹Ø»ú¡£
hh:mm£ºÔÚÖ¸¶¨µÄʱ¼ä¹Ø»ú¡£
ÐÅÏ¢£º·¢Ë͸øÓû§µÄÐÅÏ¢£¬ËµÃ÷¹Ø»úÔµ¹ÊÔÓÉ¡£
ʾÀý£º
ÒªÁ¬Ã¦¹Ø»ú£¬¿ÉÒÔʹÓãº
shutdown -h now
µÇ¼ºó¸´ÖÆ
ÒªÔÚ 10 ·ÖÖÓºó¹Ø»ú£¬¿ÉÒÔʹÓãº
shutdown +10 "ϵͳά»¤£¬ÇëÔÚ 10 ·ÖÖÓÄÚÉúÑÄÊÂÇé¡£"
µÇ¼ºó¸´ÖÆ
ÒªÔÚ ÍíÉÏ 10 µã¹Ø»ú£¬¿ÉÒÔʹÓãº
shutdown 22:00 "ϵͳ½«ÔÚÍíÉÏ 10 µã¹Ø»ú¡£"
µÇ¼ºó¸´ÖÆ
ÒÔÉϾÍÊÇlinux¹Ø»úÏÂÁîÄĸöºÃµÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡