Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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É豸ģÐÍÖ®input×ÓϵͳÏê½â

Ò»£ºÇ°ÑÔ
×î½üÔÚÑо¿androidµÄsensor driver£¬Ö÷ÒªÊÇE-compass£¬ÆäÖÐÓõ½ÁËLinux input×Óϵͳ.ÔÚÍøÉÏÒ²¿´Á˺ܶàÕâ·½ÃæµÄ×ÊÁÏ£¬¸Ð¾õ»¹ÊÇÕâƪ·ÖÎöµÄ±È½ÏϸÖÂ͸³¹£¬Òò´ËתÔØÒ»ÏÂÒÔ±ã×Ô¼ºÑ§Ï°£¬Í¬Ê±ºÍ´ó¼Ò·ÖÏí£¡
£¨Õâƪ²©¿ÍÖ÷ÒªÊÇÒÔ¼üÅÌÇý¶¯ÎªÀýµÄ£¬²»¹ý½²½âµÄÊÇLinux Input Subsystem£¬¿ÉÒÔ×ÐϸµÄÑо¿Ò»Ï£¡£©
¼üÅÌÇý¶¯½«¼ì ......

Linux·¢ËÍarpÇëÇóÓë½ÓÊÕarpÏìÓ¦

Linux ÖлñµÃ±¾»úÍø¿¨MACµØÖ·ºÜ¼òµ¥£¬ioctl()¾ÍOK¡£¿ÉÈçºÎ»ñµÃ¾ÖÓòÍøÆäËûÖ÷»úµÄMACµØÖ·ÄØ…Á´Â·²ã¹ã²¥ARPÇëÇó£¬È»ºó½ÓÊÕARPÏìÓ¦¡£ÊµÏÖ½é¸ö¹¦ÄÜÆäʵÒÑÓÐÏÖ³ÉÈý·½¿â¿ÉÓã¬Èçlibnet¡£²»¹ýÏë¼ÓÉî¶ÔЭÒéµÄÀí½âºÍLinuxÍøÂç±à³ÌAPIµÄÀí½â£¬jiayi »¹ÊǾö¶¨ÓÃLinuxµÄPF_PACKET×Ô¼ºÊµÏÖ£¬¸Ä°¡¸Ä£¬ÖÕÓڳɹ¦¡«ÒÔÏÂÊÇ´óÌå˼·
1. ......

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

ÿ¸öÖжÏÏòÁ¿¶¼ÓÐ×Ô¼ºµÄirq_desc_tÃèÊö·û£¬ËùÓеÄÕâЩÃèÊö·û×éÖ¯ÔÚÒ»ÆðÐγÉirq_descÊý×é¡£
typedef struct irq_desc {
        hw_irq_controller *handler;Ö¸Ïòpic¶ÔÏó£¨hw_irq_controllerÃèÊö·û£©£¬·þÎñÓÚirqÏß
        void *handler_data;Ö¸ ......

Linux ÖÐÎÄ×ÖÌåÂÒÂëÐÞ¸Ä i18n Îļþ

ÕâôÄã¾ÍÐèÒªÐÞ¸ÄÒ»ÏÂ×Ö·û±àÂëµÄÅäÖá£
# cd /etc/sysconfig
# vi i18n
-------------------ÎļþÄÚÈÝ------------------
LANG="zh_CN.GB18030"
SUPPORTED="zh_CN.UTF-8:zh_CN:zh:en_US.UTF-8:en_US:en:zh_CN.GB18030"
SYSFONT="latarcyrheb-sun16"
-----------------------£ºqw ±£´æÍ ......

linuxϵͳµÄld.so.confÎļþ

½ñÌìÖØбàÒëÒÔÇ°µÄÒ»¸ö³ÌÐò£¬ÀïÃæÓõ½iconv¿â£ºgcc test.cc -liconv
ÔËÐÐʱ£ºa.out:error while loading shared libraries: libiconv.so.2: cannot open shared object file: No such file or directory
ÒÔÇ°±àÒëÔËÐÐÊÇ¿ÉÒԵģ¬¿ÉÄÜÊDz»¾ÃÇ°Éý¼¶ÁËiconv¿âÓ°Ïì¡£ÔÚ/usr/local/libÏ¿ÉÒÔÕÒµ½libiconv.so.2£¬°Ñ/usr/local/l ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ