[ת]Linux: ubuntu½âѹÃüÁîÈ«ÀÀ
.tar
½â°ü£ºtar xvf FileName.tar
´ò°ü£ºtar cvf FileName.tar DirName
£¨×¢£ºtarÊÇ´ò°ü£¬²»ÊÇѹËõ£¡£©
---------------------------------------------
.gz
½âѹ1£ºgunzip FileName.gz
½âѹ2£ºgzip -d FileName.gz
ѹËõ£ºgzip FileName
.tar.gz ºÍ .tgz
½âѹ£ºtar zxvf FileName.tar.gz
ѹËõ£ºtar zcvf FileName.tar.gz DirName
---------------------------------------------
.bz2
½âѹ1£ºbzip2 -d FileName.bz2
½âѹ2£ºbunzip2 FileName.bz2
ѹËõ£º bzip2 -z FileName
.tar.bz2
½âѹ£ºtar jxvf FileName.tar.bz2
ѹËõ£ºtar jcvf FileName.tar.bz2 DirName
---------------------------------------------
.bz
½âѹ1£ºbzip2 -d FileName.bz
½âѹ2£ºbunzip2 FileName.bz
ѹËõ£º
δ֪
.tar.bz
½âѹ£ºtar jxvf FileName.tar.bz
ѹËõ£º
δ֪
---------------------------------------------
.Z
½âѹ£ºuncompress FileName.Z
ѹËõ£ºcompress FileName
.tar.Z
½âѹ£ºtar Zxvf FileName.tar.Z
ѹËõ£ºtar Zcvf FileName.tar.Z DirName
---------------------------------------------
.zip
½âѹ£ºunzip FileName.zip
ѹËõ£ºzip FileName.zip DirName
---------------------------------------------
.rar
½âѹ£ºrar x FileName.rar
ѹËõ£ºrar a FileName.rar DirName
rarÇëµ½£ºhttp://www.rarsoft.com/download.htm
ÏÂÔØ£¡
½âѹºóÇ뽫rar_static¿½±´µ½/usr/binĿ¼£¨ÆäËûÓÉ$PATH»·¾³±äÁ¿Ö¸¶¨µÄĿ¼Ҳ¿ÉÒÔ£©£º
[root@www2 tmp]# cp rar_static /usr/bin/rar
---------------------------------------------
.lha
½âѹ£ºlha -e FileName.lha
ѹËõ£ºlha -a FileName.lha FileName
lhaÇëµ½£ºhttp://www.infor.kanazawa-it.ac.jp/~ishii/lhaunix/
ÏÂÔØ£¡
>½âѹºóÇ뽫lha¿½±´µ½/usr/binĿ¼£¨ÆäËûÓÉ$PATH»·¾³±äÁ¿Ö¸¶¨µÄĿ¼Ҳ¿ÉÒÔ£©£º
[root@www2 tmp]# cp lha /usr/bin/
---------------------------------------------
.rpm
½â°ü£ºrpm2cpio FileName.rpm | cpio -div
---------------------------------------------
.deb
½â°ü£ºar p FileName.deb data.tar.gz | tar zxf -
---------------------------------------------
.tar .tgz .tar.gz .tar.Z
.tar.bz .tar.bz2 .zip .cpio .rpm .deb .slp .arj .rar .ace .lha .lzh
.lzx .lzs .arc .sda .sfx .lnx .zoo .cab .kar .cpt .pit .
Ïà¹ØÎĵµ£º
¡¡Èç¹ûÄã°®ºÃѧϰ֪ʶ£¬ÓÈÆäÊÇLinux²Ù×÷ϵͳ֪ʶ£¬Ëæ×ÅLinuxÓ¦ÓõÄÀ©Õ¹£¬Ðí¶àÅóÓÑ¿ªÊ¼½Ó´¥Linux£¬¿ÉÄã²»ÖªµÀÈ¥ÄÄÀïÕÒµ½ÕâЩ֪ʶ£¬À´ÕâÀÈÃÄã¸ü¼ÓÁ˽âLinuxѧϰ·½·¨¡£ÈÃÄãÈ«ÃæÕÆÎÕLinuxѧϰ·½·¨¡£
1£®Ñ§Ï°µÄÄ¿µÄ
¡¡¡¡Í¨¹ýLinuxµÄѧϰÕÆÎÕUNIXµÄÄ¿µÄÏë±Ø²»Óöà˵ÁË£¬ÔÚÕâ¸öÍøÂçÈ˲ÅÉí¼Û±¶ÔöµÄÄê´ú£¬Ï ......
×î½ü£¬¿ªÊ¼ÑжÁÒ»ÏÂLinuxµÄÄں˴úÂ룬¸ÕÒ»¿ªÊ¼£¬¾ÍÓÐÁîÈ˾ªÌ¾µÄ·¢ÏÖ£¬²»µÃ²»¸Ð̾Äں˴úÂëÉè¼ÆµÃÖ®ÃÀ£¡µ¥ÊÇ×î³£ÓõÄÁ´±íÒ²Éè¼ÆµÃ²»µÃ²»ÁîÈËÅå·þ£¡
1.1.Á´±ílist_head
include/linux/list.h
ºÜ¾µä£¬Á´±íÔÚÄÚºËÖкܳ£Óã¬ÀýÈç¹ÜÀí½ø³Ì£¬½ø³ÌµÄ¸÷¸ö× ......
ÍøÂçÉ豸Çý¶¯Ïà±È×Ö·ûÐÍÉ豸µÄÇý¶¯Òª¸´ÔÓһЩ£¬³ýÁË×ÜÌåÉÏÇý¶¯µÄ¿ò¼ÜÓÐһЩÏàËÆÍ⣬ÓкܶàµØ·½¶¼ÊDz»Í¬£¬µ«ÍøÂçÉ豸Çý¶¯ÓÐÒ»¸öºÜ´óµÄÌصã¾ÍÊÇÓй̶¨µÄ¿ò¼Ü¿ÉÒÔ×ñÑ£¬¾ßÌåµÄ¿ò¼Ü»áÔÚºó±ßÏêϸµÄÐðÊö£¬ÕâÀïÖ÷Òª·ÖÎöÍøÂçÉ豸Çý¶¯µÄ½á¹¹£¬ºÍÕû¸ötcp/ipÍøÂç½á¹¹Ò»Ñù£¬Õû¸öÍøÂçÉ豸Çý¶¯Ò²ÊÇÒ»¸ö·Ö²ãµÄ½á¹¹¡£¾ßÌåÈçÏ£º
1 ......
±¾Îļòµ¥½éÉÜÁ˵±Ç°WindowsÖ§³ÖµÄ¸÷ÖÖSocket I/OÄ£ÐÍ£¬Èç¹ûÄã·¢ÏÖÆäÖдæÔÚʲô´íÎóÇëÎñ±Ø´Í½Ì¡£
Ò»£ºselectÄ£ÐÍ
¶þ£ºWSAAsyncSelectÄ£ÐÍ
Èý£ºWSAEventSelectÄ£ÐÍ
ËÄ£ºOverlapped I/O ʼþ֪ͨģÐÍ
Î壺Overlapped I/O Íê³ÉÀý³ÌÄ£ÐÍ
Áù£ºIOCPÄ£ÐÍ
ÀϳÂÓÐÒ»¸öÔÚÍâµØ¹¤×÷µÄÅ®¶ù£¬²»Äܾ³£»ØÀ´£¬ÀϳºÍËýͨ¹ýÐżþ ......
LR¼à¿Øwindows¡¢linux¡¢UNIX¡¢IBM AIXϵͳ·½·¨
Ò»¡¢¼à¿Øwindowsϵͳ£º
1¡¢¼àÊÓÁ¬½ÓÇ°µÄ×¼±¸¹¤×÷
1£©½øÈë±»¼àÊÓwindowsϵͳ£¬¿ªÆôÒÔ϶þ¸ö·þÎñRemote Procedure Call(RPC) ºÍRemote Registry Service (¿ªÊ¼—)ÔËÐÐ ÖÐÊäÈëservices.msc£¬¿ªÆô¶ÔÓ¦·þÎñ¼´¿É)¡£
&nbs ......