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

LinuxÖкǫ́ÃüÁîµÄÖ´ÐÐ

LinuxÖжÔÓÚһЩ´óÈÎÎñÐèÒªÔÚºǫ́ÔËÐУ¬·ñÔò»áÒ»Ö±Õ¼ÓÃÆÁÄ»£¬·À°­Ê¹ÓÃÕßʹÓÃÖÕ¶ËÈ¥Íê³ÉÆäËüµÄÈÎÎñ¡£ÆäÖлáÌṩÈçϼ¸¸öÃüÁîÀ´½øÐкǫִ́ÐУº
1¡¢  ÉèÖÃcrontabÎļþ£¬²¢ÓÃËüÀ´Ìá½»×÷Òµ£»ÆäÖÐcron ϵͳµ÷¶È½ø³Ì£¬¿ÉÒÔʹÓÃËüÔÚÿÌìµÄ·Ç¸ß·å¸ººÉʱ¼ä¶ÎÔËÐÐ×÷Òµ£¬»òÔÚÒ»ÖÜ»òÒ»ÔÂÖеIJ»Í¬Ê±¶ÎÔËÐС£
2¡¢  ʹÓÃatÃüÁîÀ´Ìá½»×÷Òµ£»Ê¹ÓÃËüÔÚÒ»¸öÌض¨Ê±¼äÔËÐÐһЩÌØÊâµÄ×÷Òµ£¬»òÔÚÍíЩµÄ·Ç¸ººÉ¸ß·åʱ¶Î»ò¸ß·åʱ¶ÎÔËÐС£
3¡¢  & ÔÚºǫ́Ìá½»×÷Òµ£»Ê¹ÓÃËüÔÚºǫ́ÔËÐÐÒ»¸öÕ¼ÓÃʱ¼ä²»³¤µÄ½ø³Ì¡£
4¡¢  ʹÓÃnohupÃüÁîÌá½»×÷Òµ¡£Ê¹ÓÃËü¿ÉÒÔÔÚºǫ́ÔËÐÐÒ»¸öÃüÁ¼´Ê¹ÔÚÓû§Í˳öʱҲ²»ÊÜÓ°Ïì¡£
 
CrontabµÄÓò
µÚ1ÁР  ·ÖÖÓ 1¡«59
µÚ2ÁР  Сʱ 0¡«23£¨0±íʾ×ÓÒ¹£©
µÚ3ÁР  Ìì 1¡«31
µÚ4ÁР  ÔÂ1¡«12
µÚ5ÁР  ÐÇÆÚ 0¡«6 £¨0±íʾÐÇÆÚÌ죩
µÚ6ÁР  ÒªÔËÐеÄÃüÁî
Èçϸñʽ£º·Ö ʱ ÈÕ Ô ÐÇÆÚ ÒªÔËÐеÄÃüÁî¡£ËüÊÇ´Ó×ó±ß¶ÁÆð¡£ÓÓ-”À´±íʾһ¸öʱ¼ä·¶Î§£¬ÈçÔÚµÚ5ÁÐÖÐ1-5±íʾÖÜÒ»µ½ÖÜÎå¡£²ÉÓÓ£¬”±íʾϣÍûµÄijЩֵ£¬ÈçµÚ5ÁÐÖеÄ1£¬4±íʾÐÇÆÚÒ»ºÍÐÇÆÚËÄ¡£²ÉÓÓ*”±íʾÁ¬ÐøµÄʱ¼ä¶Î¡£
È磺45 4 1£¬10£¬22 * * /apps/bin/backup.sh±íʾÿÔµÄ1¡¢10¡¢22ÈÕµÄ4£º45È¥Ö´ÐÐ/apps/bin/backup.sh½Å±¾¡£
0£¬ 30 18-23 * * * /apps/bin/dbcheck.sh±íʾÿÌìµÄ18£º00-23£º00Ö®¼äÿ30·ÖÖÓÔËÐÐ/apps/bin/dbcheck.sh½Å±¾¡£
CrontabÃüÁîµÄÒ»°ãÐÎʽ£º
Crontab £Û-u user£Ý -e  –l  –r
-u  ±íʾÓû§Ãû
-e  ±à¼­crontabÎļþ
-l  ÁгöcrontabÎļþÖеÄÄÚÈÝ
-r  ɾ³ýcrontabÎļþ¡£
 
AtÃüÁî
AtÃüÁîÔÊÐíÓû§ÏòcronÊØ»¤½ø³ÌÌá½»×÷Òµ£¬Ê¹ÆäÔÚÉÔºóµÄʱ¼äÔËÐС£Õâ¸öÉÔºó¿ÉÄÜÊÇÖ¸¼¸·ÖÖÓ»ò¼¸ÌìÒÔºó£¬ÈôÏ£ÍûÔÚÒ»¸öÔ»ò¸ü³¤Ê±¼äÔËÐУ¬Ôò½¨Òé²ÉÓÃcrontabÃüÁî¡£
AtÃüÁîµÄ»ù±¾ÐÎʽΪ£º
at [-f  script] [-m  -l  -r] [time] [date]
-f  script ±íʾËùÒªÌá½»µÄ½Å±¾»òÃüÁî
-l  Áгöµ±Ç°ËùÓеȴýÔËÐеÄ×÷Òµ£¬ÓëatqÃüÁîµÈ¼Û
-r  Çå³ý×÷Òµ£¬ ÓëatrmµÄÃüÁîµÈ¼Û
-m ×÷ÒµÍê³Éºó¸øÓû§·¢Óʼþ
Time atÃüÁîµÄʱ¼ä¸ñʽ£¬·Ç³£Áé»î£¬¿ÉÒÔÊÇH¡¢HH.mmµÈÆäÖÐHΪСʱ£¬MΪ·ÖÖÓ¡£Ò²¿ÉÒÔ²ÉÓÃa.m.ºÍp.m.
Date ÈÕÆÚ¸ñʽ¿ÉÒÔÊÇÔ·ÝÊý»òÈÕÆÚÊý£¬¶øÇÒatÃüÁî¿ÉÒÔʶ±ðÈçtoday¡¢tomorrowµÈÕâÑùµÄ´Ê¡£


Ïà¹ØÎĵµ£º

²¦¿ªÃÔÎí µ¥Æ¬»úºÍǶÈëʽLINUX¿ª·¢µÄÄǵãʶù


×÷ÕߣºÎ¤¶«É½,»ªÇåÔ¶¼ûǶÈëʽѧԺ½²Ê¦¡£
Ëæ×ÅǶÈëʽÐÐÒµÓ²¼þƽ̨µÄÐÔÄÜÔöÇ¿£¬ÏîÄ¿ÐèÇóºÍ¹¦ÄÜÈÕÒ渴ÔÓ£¬ARM¹«Ë¾ÍƳöµÄ CORTEX-M3£¬¸üÊÇÈÃÒÔÍù×öµ¥Æ¬»úµÄ¹¤³ÌʦÔÚоƬºÍ¼¼ÊõÑ¡ÐÍÃæÁÙÁ½ÄÑÑ¡Ôñ£¬±¾×¨Ì⽫´ÓоƬ¼Û¸ñ¡¢Õû¸öϵͳµÄÓ²¼þÈí¼þÉè¼Æ¼°Î¬»¤µÄ³É±¾µÈ¸÷¸ö·½Ãæ¸øÄúÌṩһ¸ö²Î¿¼£¬ ²¢´Ó¼¼Êõ½Ç¶È·ÖÎöµ¥Æ¬»úºÍ´ø²Ù×÷ϵͳµÄÏ ......

linuxϵÄÖ÷ÒªÎļþ


linuxϵÄÖ÷ÒªÎļþ
/boot/grub/grub.conf    GRUB configuration file
/boot/module-info-*    Module information for the Linux kernel
/boot/System.map-*    Map of the Linux kernel
/boot/vmlinuz-*    Linux kernel
/etc/aliases    Mail aliases
/etc/a ......

linux shell ¿ØÖƽű¾Ö´ÐдÎÊý

ÏÂÃæÊÇ°³Ð´µÄ²âÊԽű¾£¬ÎªÁËÄÜÔËÐжà´Î²âÊÔ³ÌÐòÐÔÄÜ£¬Ïë¿ØÖÆÔËÐиöÊý£¬Í¨¹ýlockfile ºÍ grepÅäºÏ½øÐÐÏÞÖÆ¡£
#!/bin/bash
. /etc/profile
project=simnin
export CLASSPATH=.:/usr/$project:$CLASSPATH
for jarfile in /usr/$project/lib/*.jar ; do
if ! echo $CLASSPATH | grep $jarfile > /dev/null
then
&nbs ......

linuxÏÂÔØ×ÖÌåµÄ°²×°(³¬¼¶¼ò½à)

1£º´ÓÍøÉÏËÑË÷Á˺ܶ࣬¶¼ÊÇ˵µÄºÜ¸´ÔÓ£¬»¹Òª¸üлº´æ£¬ÕâÀï¸ø³öÒ»¸ö×î¼òµ¥µÄ°ì·¨¡£
2£º¶Ôµ±ÃæµÄÓû§Ä¿Â¼ µØַΪ ~/ ÏÂÃ潨Á¢.fontsÎļþ¼Ð£¬Ê¹ÓÃÃüÁî mkdir ~/.fonts
3£º°ÑÄãµÄ×ÖÌå·ÅÈëµ½Õâ¸öÎļþ¼ÐÏ£¬±ÈÈç×ÖÌåÃû×ÖÊÇ yahei.tff ÔòÃüÁîΪ mv yahei.tff ~/.fonts
4£ºÈ»ºó´Ó ϵͳ £­>×ÖÌåÖÐ ¸üÐÂÄã¸Õ²Å°²×°µÄ×ÖÌ壬ÕâÀï ......

Linux google chrome µ¼ÈëÖ¤Êé

Linux°æµÄgoogle-chrome£¬ÎªÁË"²»ÖØÔìÂÖ×Ó"£¬Ê¹ÓõÚÈý·½¹¤¾ß½øÐÐÖ¤ÊéµÄÑéÖ¤¡£
·½·¨ÈçÏ£º
ÏȾöÌõ¼þ£º°²×°ºÃµÚÈý·½µÄÖ¤Êé¹ÜÀí¹¤¾ß£º
yum install nss-tools
µÚÒ»¡¢´ÓhttpsÍøÕ¾£¬µ¼³öCAÖ¤Ê飬·½·¨²Î¿¼£º
http://blog.avirtualhome.com/2010/02/02/adding-ssl-certificates-to-google-chrome-linux-ubuntu/
¿¼Âǵ½Ò»Ð©Ó¢ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ