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

Ò»¸ölinux shell(bash)С½Å±¾ Ϊstardict ×°×Öµä

×î½üÖØ×°ÁËLinuxϵͳ£¬ÓõÄÊÇ Debian 5.0 (lenny), ½ñÌì¿´×ÊÁÏʱ·¢ÏÖÓ¢ÎÄ×ÖµäûÓÐ×°£¬
ÓÚÊÇ¿ªÊ¼×°Ó¢Óï×ֵ䡣µ«ÊÇ×Ô¼ºË¼Á¿×ÅÒª¶à×°¼¸¸ö×Öµä ·´ÕýÓ²ÅÌ×ã¹»£¬µ«ÊÇÄÇô¶à×ÖµäÒ»¸öÒ»¸öÇÃʵÔÚÊÇÂé·³£¨¸ü²»ÓÃ˵ÔÚgui
ÏÂÓÃÊó±êÁË£©£¬ÓÚÊǾÍËæÊÖдÁËС½Å±¾À´´¦Àí¡£
Ê×ÏÈ °²×° stardict
>> apt-get install stardict
È»ºóÏÂÔØ×ֵ䣨http://stardict.sourceforge.net/Dictionaries.php£©£¬±£´æ×ÔÒ»¸öÎļþ¼ÐÀ ÎÒµÄÊÇ /tmp/stardict
±àдbash½Å±¾ £¨½Å±¾ÃûΪstardict£©£º
>>debian:/home/wolf# cat stardict
>>#! /bin/bash
>>for dict in /tmp/stardict/*
  # ´Ë´¦  Ϊ `ls /tmp/stardict`
ÒàÊÇ¿ÉÒÔµÄ
>>do

>>   tar -xjvf $dict

>>done


>>mv stardict-* /usr/share/stardict/dic
Ö´ÐÐ
>> chmod 711 stardict
>> ./stardict
Íê³É¡£
½Å±¾ËäÈ»ºÜС µ«Êǹ¦ÄÜÈ·ÊǺܴóµÄ£¬ ½ÚÊ¡ÁËʱ¼ä£¬ ¹Ø¼üµÄÊÇÐÄÀﲻ̫·³Ôê¡£Æä·½±ãÐԿɼûÒ»°ã¡£


Ïà¹ØÎĵµ£º

Linux select

selectº¯ÊýÊÇÓÃÓÚ³ÌÐò¼àÊÓ¶à¸öÎļþÃèÊö·û(file descrīptor)µÄ״̬±ä»¯¡£³ÌÐò»áÍ£ÔÚselectÕâÀïµÈ´ý£¬Ö±µ½±»¼àÊÓµÄÎļþÃèÊö·ûÓÐijһ¸ö»ò¶à¸ö·¢ÉúÁË״̬¸Ä±ä¡£select()µÄ»úÖÆÖÐÌṩһfd_setµÄÊý¾Ý½á¹¹£¬Êµ¼ÊÉÏÊÇÒ»longÀàÐ͵ÄÊý×飬 ÿһ¸öÊý×éÔªËض¼ÄÜÓëÒ»´ò¿ªµÄÎļþÃèÊö·û£¨²»¹ÜÊÇSocketÃèÊö·û,»¹ÊÇÆäËû Îļþ»òÃüÃû¹ÜµÀ» ......

LinuxÏÂcoreÎļþµ÷ÊÔ·½·¨

ÔÚ³ÌÐò²»Ñ°³£Í˳öʱ£¬Äں˻áÔÚµ±Ç°¹¤×÷Ŀ¼ÏÂÉú³ÉÒ»¸öcoreÎļþ£¨ÊÇÒ»¸öÄÚ´æÓ³Ïñ£¬Í¬Ê±¼ÓÉϵ÷ÊÔÐÅÏ¢£©¡£Ê¹ÓÃgdbÀ´²é¿´coreÎļþ£¬¿ÉÒÔָʾ³öµ¼Ö³ÌÐò³ö´íµÄ´úÂëËùÔÚÎļþºÍÐÐÊý¡£ 1.coreÎļþµÄÉú³É¿ª¹ØºÍ´óСÏÞÖÆ
1£©Ê¹ÓÃulimit -cÃüÁî¿É²é¿´coreÎļþµÄÉú³É¿ª¹Ø¡£Èô½á¹ûΪ0£¬Ôò±íʾ¹Ø±ÕÁ˴˹¦ÄÜ£¬²»»áÉú³ÉcoreÎļþ¡£ ......

linux unzip ÃüÁî Ïê½â


linux unzip ÃüÁîÏê½â
¹¦ÄÜ˵Ã÷£º½âѹËõzipÎļþ
Óï¡¡¡¡·¨£ºunzip [-cflptuvz][-agCjLMnoqsVX][-P <ÃÜÂë>][.zipÎļþ][Îļþ][-d <Ŀ¼>][-x <Îļþ>] »ò unzip [-Z]
²¹³ä˵Ã÷£ºunzipΪ.zipѹËõÎļþµÄ½âѹËõ³ÌÐò¡£
²Î¡¡¡¡Êý£º
-c ½«½âѹËõµÄ½á¹ûÏÔʾµ½ÆÁÄ»ÉÏ£¬²¢¶Ô×Ö·û×öÊʵ±µÄת»»¡£
-f ¸üÐÂÏÖÓеÄÎ ......

Linux ÎļþÌØÊâȨÏÞ Sticky Bit

http://content.hccfl.edu/pollock/AUnix1/FilePermissions.htm 
http://en.wikipedia.org/wiki/Sticky_bit
http://www.anqn.com/os/linux/2009-03-01/a09108173.shtml
7.4.3  ÎļþÌØÊâȨÏÞ£ºSUID/SGID/Sticky Bit
Ç°ÃæÒ»Ö±Ìáµ½ÎļþµÄÖØҪȨÏÞ£¬¾ÍÊÇrwxÕâ3¸ö¶Á¡¢Ð´¡¢Ö´ÐеÄȨÏÞ¡£µ«ÊÇ£¬Ôõô /tmpȨÏÞÓÐЩÆæ¹Ö ......

¡ñǶÈëʽlinuxÈëÃÅÊ×Ñ¡£¬ÏîĿʵսÌåÑ飡

ÄãÊÇ·ñÏë½øÈëǶÈëʽ¸ßнÁìÓò£¬È´¸Ð¾õÎÞ´ÓÏÂÊÖ£¿
ÄãÊÇ·ñÔÚ¿´Êé¡¢²é×ÊÁÏ¡¢ÂÛ̳ÌáÎÊÖлºÂý¶ø³ÔÁ¦µÄÇ°ÐУ¿
ʱ¼ä±ãÊdzɱ¾£¡Ñ§Ï°µÄ·ÉÏ£¬ÎÒÃǸüÐèҪר¼ÒϵͳµÄÖ¸Òý£¬ÕâÑù»áÊ°빦±¶£¡
»ªÇåÔ¶¼û—ǶÈëʽLinuxÈëÃÅʵսÃâ·ÑÌåÑéÈÕ£¬Ò»ÌìµÄʱ¼ä£¬½â¾öÄúµÄ·³ÄÕ£¬¾ø¶Ô³¬ÖµµÄ»Ø±¨£¡
ÓÅÊÆ/ÌØÉ«£º
¡ñ ÄÚÈÝ£¬´«ÊÚ×îϵͳ£¬×îʵÓÃµÄ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ