Linuxϳ£ÓõĹػúʵÀý
LinuxϹػú×îÒªÓÐÒÔÏ·½·¨£¬ÎÒÏëÕâЩ·½·¨×ãÒÔÂú×ãÄãµÄÐèÒª£º
[root@localhost /]# shutdown [-tÃë] [-arkhcncfF] [ʱ¼ä] [ÌáʾÐÅÏ¢]
[root@localhost /]# shutdown -h 10 'I will shutdown after 10 mins'
-t sec : -t ºó¼ÓÃëÊý£¬¼´‘¹ý¼¸ÃëÖÓºó¹Ø»ú’µÄÒâ˼¡£
-k : ²»ÒªÕæµÄ¹Ø»ú£¬Ö»ÊÇ·¢ËÍÌáʾÐÅÏ¢¡£
-r : ÔÚ½«ÏµÍ³µÄ·þÎñ¹ØµôÖ®ºó¾ÍÖØÐÂÆô¶¯¡£
-h : ÔÚ½«ÏµÍ³µÄ·þÎñ¹ØµôÖ®ºó¾Í¹Ø»ú¡£
-n : ²»Òª½ø¹ýinit³ÌÐò£¬Ö±½ÓÒÔshutdown¹Ø»ú¡£
-f : ¹Ø»ú²¢Æô¶¯ºó£¬Ç¿ÖÆÂÔ¹ýfsckµÄ´ÅÅ̼ì²é
-F : ÏµÍ³ÖØÐÂÆô¶¯ºó£¬Ç¿ÖƽøÐÐfsckµÄ´ÅÅ̼ì²é
-c : È¡ÏûÒѾÔÚ½øÐеÄshutdownÃüÁî·û
Á¢¼´¹Ø»ú
[root@localhost /]#shutdown -h now
ϵͳÔÚ½ñÌìµÄ20:25¹Ø»ú
[root@localhost /]#shutdown -h 20:25
ϵͳÔÙ¹ý10·ÖÖÓºóÖØÐÂÆô¶¯
[root@localhost /]#shutdown -h +10
ϵͳÁ¢¼´ÖØÐÂÆô¶¯
[root@localhost /]#shutdown -r now
ÔÙ¹ý30·ÖÖÓϵͳ»áÖØÐÂÆô¶¯£¬²¢ÏÔʾºóÃæµÄÐÅÏ¢
[root@localhost /]#shutdown -r +30 'The system will reboot'
½ö½ö·¢³ö¾¯¸æÐÅÏ¢£¬ÏµÍ³²¢²»»á¹Ø»ú
[root@localhost /]#shutdown -r +30 'The system will reboot'
Ïà¹ØÎĵµ£º
/*
* linux/fs/inode.c
*
* (C) 1991 Linus Torvalds
*/
#include <string.h>
#include <sys/stat.h> // Îļþ״̬ͷÎļþ
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/mm.h>
#include <asm/system.h>
......
Á½ÖÖ·½Ê½£º
Ò»ÖÖÊÇͨ¹ýÖÕ¶ËÊÖ¶¯¹ÒÔØ¼ÓÉϲÎÊý: -o iocharset=utf8
È磺# mount /dev/sdb1 -t vfat /mnt/usb/ -o iocharset=utf8
µÚ¶þÖÖÊÇͨ¹ý¼ÓÈëÄÚºËÖ§³ÖÔÚFile systems ---> DOS/FAT/NT Filesystems --->ÖÐÓÐÁ½ÏîÐÞ¸ÄΪ£ ......
LinuxÊÇÒ»ÖÖÀàUnixµÄ²Ù×÷ϵͳ¡£´ÓÀíÂÛÉϽ²£¬Unix±¾ÉíµÄÉè¼Æ²¢Ã»ÓÐÊ²Ã´ÖØ´óµÄ°²È«È±ÏÝ¡£¶àÄêÀ´£¬¾ø´ó¶àÊýÔÚUnix²Ù×÷ϵͳÉÏ·¢ÏֵݲȫÎÊÌâÖ÷Òª´æÔÚÓÚ¸ö±ð³ÌÐòÖУ¬ËùÒԴ󲿷ÖUnix³§É̶¼Éù³ÆÓÐÄÜÁ¦½â¾öÕâЩÎÊÌ⣬Ìṩ°²È«µÄUnix²Ù×÷ϵͳ¡£µ«LinuxÓÐЩ²»Í¬£¬ÒòΪËü²»ÊôÓÚijһ¼Ò³§ÉÌ£¬Ã»Óг§ÉÌÐû³Æ¶ÔËüÌṩ°²È«±£Ö¤£ ......
linuxÏ mysql µÄÐ¶ÔØºÍ°²×°
¹Ø¼ü×Ö: linuxÏ mysql µÄÐ¶ÔØºÍ°²×°
Ò»¡¢Ç°ÆÚ×¼±¸£º
1
.ÓÉÓÚredhat Enterprise 5 ÖÐ×Ô´øÒ»¸ömysqlµÄ°æ±¾£¬Èç¹ûÔÚ°²×°linuxǰδѡÔñmysqlµÄ°²×°´Ë²½¾Í¿ÉÌø¹ý£¬ÒòΪÎÒµ±Ê±°²×°ÁËÏÖÔÚ½«ÆäÐ¶ÔØ
£¬²½ÖèÈçÏ£º
&nb ......
1). /etc/sysconfig/network
Ö÷ÒªÓÃÓÚÉèÖÃÖ÷»úÃû³Æ£¨Host Name£©ÒÔ¼°ÄÜ·ñÆô¶¯Network¡£±ä¶¯´ËÎļþºóÐèÖØÆôLinux²ÅÄÜÉúЧ¡£
2). /etc/sysconfig/network-scrips/ifcfg-eth0
ÉèÖÃÍø¿¨²ÎÊý£¬ÈçGATEWAY,TYPE,DEVICE,NETMASK,IPADDR,USERCTLµÈ...
3). /etc/resolv.conf
Èç¹ûÒªÉèÖÃDNS¹¦ÄܽøÐÐÖ÷»úÃû³ÆºÍIPµÄ¶ÔÓ¦¡£ÄÇôresol ......