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

linux ¶¨Ê±ÈÎÎñ crontab Ïêϸ½âÊÍ

cron ÊÇlinuxµÄÄÚÖ÷þÎñ£¬µ«Ëü²»×Ô¶¯ÆðÀ´£¬¿ÉÒÔÓÃÒÔϵķ½·¨Æô¶¯¡¢¹Ø±ÕÕâ¸ö·þÎñ£º 
ÒýÓÃ: 
/sbin/service crond start //Æô¶¯·þÎñ 
/sbin/service crond stop //¹Ø±Õ·þÎñ 
/sbin/service crond restart //ÖØÆô·þÎñ 
/sbin/service crond reload //ÖØÐÂÔØÈëÅäÖà
//=========================================================================
# Use the hash sign to prefix a comment
# +---------------- minute (0 - 59)
# |  +------------- hour (0 - 23)
# |  |  +---------- day of month (1 - 31)
# |  |  |  +------- month (1 - 12)
# |  |  |  |  +---- day of week (0 - 7) (Sunday=0 or 7)
# |  |  |  |  |
# *  *  *  *  *  command to be executed
//=============================================================================
ºÜ¶àʱºò£¬ÄãûÓа취ÖØÐÂÆô¶¯crond£¬Õâ¸öʱºò¿ÉÒÔÏÈkillall crond È»ºóÔÙcrond restart¾ÍŶokÁË¡£
ÄãÒ²¿ÉÒÔ½«Õâ¸ö·þÎñÔÚϵͳÆô¶¯µÄʱºòÒ²×Ô¶¯Æô¶¯£º 
ÒýÓÃ: 
ÔÚ/etc/rc.d/rc.localÕâ¸ö½Å±¾µÄĩβ¼ÓÉÏ£º 
/sbin/service crond start 
ÏÖÔÚcronÕâ¸ö·þÎñÒѾ­ÔÚ½ø³ÌÀïÃæÁË£¬ÎÒÃǾͿÉÒÔÓÃÕâ¸ö·þÎñÁË£¬cron·þÎñÌṩÒÔϼ¸ÖÖ½Ó¿Ú¹©´ó¼ÒʹÓ㺠
1.Ö±½ÓÓÃcrontabÃüÁî±à¼­ 
cron·þÎñÌṩcrontabÃüÁîÀ´É趨cron·þÎñµÄ£¬ÒÔÏÂÊÇÕâ¸öÃüÁîµÄһЩ²ÎÊýÓë˵Ã÷£º 
ÒýÓÃ: 
crontab -u //É趨ij¸öÓû§µÄcron·þÎñ£¬Ò»°ãrootÓû§ÔÚÖ´ÐÐÕâ¸öÃüÁîµÄʱºòÐèÒª´Ë²ÎÊý 
crontab -l //Áгöij¸öÓû§cron·þÎñµÄÏêϸÄÚÈÝ 
crontab -r //ɾ³ýû¸öÓû§µÄcron·þÎñ 
crontab -e //±à¼­Ä³¸öÓû§µÄcron·þÎñ 
±ÈÈç˵root²é¿´×Ô¼ºµÄcronÉèÖ㺠
ÒýÓÃ: 
crontab -u root -l 
ÔÙÀýÈ磬rootÏëɾ³ýfredµÄcronÉèÖ㺠
ÒýÓÃ: 
crontab -u fred -r 
Ôڱ༭cron·þÎñʱ£¬±à¼­µÄÄÚÈÝÓÐһЩ¸ñʽºÍÔ¼¶¨£¬ÊäÈ룺 
ÒýÓÃ: 
crontab -u root -e 
½øÈëvi±à¼­Ä£Ê½£¬±à¼­µÄÄÚÈÝÒ»¶¨Òª·ûºÏÏÂÃæµÄ¸ñʽ£º 
ÒýÓÃ: 
*/1 * * * * ls >> /tmp/ls.txt 
Õâ¸ö¸ñʽµÄÇ°Ò»²¿·ÖÊǶÔʱ¼äµÄÉ趨£¬ºóÃæÒ»²¿·ÖÊÇÒªÖ´ÐеÄÃüÁÈç¹ûÒªÖ´Ð


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì£¨ËÄ£© L2CAP²ã±à³Ì

£¨L2CAPЭÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPЭÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼­Á¬½Ó¿ØÖƺÍÊÊÅäЭÒé (L2CAP) ΪÉϲãЭÒéÌṩÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àЭÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãЭÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......

linux 2.6Ô´´úÂëÇé¾°·ÖÎö±Ê¼ÇÖ®ÖжÏÓëÒì³£2

¸ß¼¶¿É±à³Ì¿ØÖÆÆ÷
Èç¹ûϵͳֻÓÐÒ»¸öcpu£¬Ö÷picÊä³öÏßÒÔÖ±½ØÁ˵±µÄ·½Ê½Á¬½Óµ½cpuµÄintrÒý½Å¡£Èç¹ûϵͳÖаüº¬Á½¸ö»ò¶à¸öcpu,¾ÍÐèÒª¸ü¼Ó¸´ÔÓµÄpic.
intel´Óp3¿ªÊ¼ÒýÈëi/o¸ß¼¶¿É±ä³É¿ØÖÆÆ÷£¨APIC£©×é¼þ¡£80x86΢´¦ÀíÆ÷µ±Ç°ËùÓеÄcpu¶¼º¬ÓÐÒ»¸ö±¾µØapic¡£Ã¿¸ö±¾µØapic¶¼ÓÐ32λ¼Ä´æÆ÷£¬Ò»¸öÄÚ²¿Ê±ÖÓ£¬Ò»¸ö±¾µØ¶¨ÊÇÉ豸ÒÔ¼°Îª±¾µ ......

linuxÄں˺¯Êý±Ê¼Ç(¶þ)

ÐźÅÖ¸¶¨´¦Àíº¯Êý
void (*signal (int signum,void (*handle)(int)))(int);ÉèÖÃij¸öÐźŵĴ¦Àí·½·¨
int sigaction(int signum,const struct sigaction *act,struct sigaction *oldact);ÓÃÓÚ¼ì²é»ò¸Ä±ä½ø³ÌÔÚ½Óµ½ÐźÅʱµÄ¶¯×÷
Ðźż¯²Ù×÷º¯Êý
static inline void sigaddset(sigset_t *set,int _sig);
static inline voi ......

linuxÀï²é¿´ËùÓÐÓû§ºÍÓû§×é

1¡¢linuxÀï²é¿´ËùÓÐÓû§
£¨1£©ÔÚÖÕ¶ËÀï.ÆäʵֻÐèÒª²é¿´ /etc/passwdÎļþ¾ÍÐÐÁË.
£¨2£©¿´µÚÈý¸ö²ÎÊý:500ÒÔÉϵÄ,¾ÍÊǺóÃ潨µÄÓû§ÁË.ÆäËüÔòΪϵͳµÄÓû§.
»òÕßÓÃcat /etc/passwd |cut -f 1 -d :
2¡¢Óû§¹ÜÀíÃüÁî
useradd ×¢£ºÌí¼ÓÓû§
adduser ×¢£ºÌí¼ÓÓû§
passwd ×¢£ºÎªÓû§ÉèÖÃÃÜÂë
usermod ×¢£ºÐÞ¸ÄÓû§ÃüÁ ......

Linux ÖÐÎÄÂÒÂë½â¾ö

ÐÞ¸Ä linux ϵͳ/ect/profile Îļþ
ÔÚ×îºóÃæ¼Ó
export LC_ALL="zh_CN.GB18030"
ÐÞ¸Ä /etc/sysconfig/i18nÎļþ
LANG="zh_CN.GB18030"
LANGUAGE="zh_CN.GB18030:zh_CN.GB2312:zh_CN"
SUPPORTED="zh_CN.GB18030:zh_CN:zh:en_US.UTF-8:en_US:en"
SYSFONT="lat0-sun16"
SYSFONTACM="iso01"
ÕâÑù¾Í¿ÉÒÔ½â¾ölinuxÏÂÖÐÎÄ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ