ºÜÊÜ»¶ÓµÄLinux±Ê¼Ç(¶þ)
ѹËõÃüÁ
*.Z compress ³Ìʽ壓縮µÄ檔°¸£»
*.bz2 bzip2 ³Ìʽ壓縮µÄ檔°¸£»
*.gz gzip ³Ìʽ壓縮µÄ檔°¸£»
*.tar tar ³Ìʽ´ò°üµÄ資ÁÏ£¬並沒ÓÐ壓縮過£»
*.tar.gz tar ³Ìʽ´ò°üµÄ檔°¸£¬ÆäÖÐ並ÇÒ經過 gzip µÄ壓縮
compress filename ѹËõÎļþ ¼Ó [-d]½âѹ uncompress
gzip filename ѹËõ ¼Ó [-d]½âѹ zcat 123.gz ²é¿´Ñ¹ËõÎļþÄÚÈÝ
bzip2 -z filename ѹËõ ¼Ó [-d]½âѹ bzcat filename.bz2 ²é¿´Ñ¹ËõÎļþÄÚÈÝ
tar -cvf /home/123.tar /etc ´ò°ü£¬²»Ñ¹Ëõ
tar -xvf 123.tar ½â¿ª°ü
tar -zxvf /home/123.tar.gz ÒÔ gzip½âѹ
tar -jxvf /home/123.tar.bz2 ÒÔ bzip2½âѹ
tar -ztvf /tmp/etc.tar.gz ²é¿´ tarÄÚÈÝ
cpio -covB > [file|device] ·Ý·Ý
cpio -icduv < [file|device] »¹Ô
viÒ»°ãÓ÷¨
Ò»°ãģʽ ±à¼Ä£Ê½ Ö¸Áîģʽ
h ×ó a,i,r,o,A,I,R,O :w ±£´æ
j Ï ½øÈë±à¼Ä£Ê½ :w! Ç¿ÖƱ£´æ
k ÉÏ dd ɾ³ý¹â±êµ±Ç°ÐÐ :q! ²»±£´æÀ뿪
l ÓÒ ndd ɾ³ý nÐÐ :wq! ±£´æºóÀ뿪
0 Òƶ¯µ½ÐÐÊ× yy ¸´ÖƵ±Ç°ÐÐ :e! »¹ÔÔʼµµ
$ Òƶ¯µ½ÐÐβ nyy ¸´Ö
Ïà¹ØÎĵµ£º
£¨L2CAPÐÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPÐÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼Á¬½Ó¿ØÖƺÍÊÊÅäÐÒé (L2CAP) ΪÉϲãÐÒéÌṩÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àÐÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãÐÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......
×î½ü£¬¿ªÊ¼ÑжÁÒ»ÏÂLinuxµÄÄں˴úÂ룬¸ÕÒ»¿ªÊ¼£¬¾ÍÓÐÁîÈ˾ªÌ¾µÄ·¢ÏÖ£¬²»µÃ²»¸Ð̾Äں˴úÂëÉè¼ÆµÃÖ®ÃÀ£¡µ¥ÊÇ×î³£ÓõÄÁ´±íÒ²Éè¼ÆµÃ²»µÃ²»ÁîÈËÅå·þ£¡
1.1.Á´±ílist_head
include/linux/list.h
ºÜ¾µä£¬Á´±íÔÚÄÚºËÖкܳ£Óã¬ÀýÈç¹ÜÀí½ø³Ì£¬½ø³ÌµÄ¸÷¸ö× ......
ѧϰӦ¸ÃÊÇÒ»¸öÏÈ°ÑÎÊÌâ¼òµ¥»¯£¬ÔÙ°ÑÎÊÌ⸴ÔÓ»¯µÄ¹ý³Ì¡£Ò»¿ªÊ¼¾Í×ÅÊÖ´¦Àí¸´ÔÓµÄÎÊÌ⣬ÄÑÃâÈÃÈËÓÐÐľªµ¨²ü£¬×½½ó¼ûÖâµÄ¸Ð¾õ¡£¶ÁLinuxÍø¿¨Çý¶¯ Ò²ÊÇÒ»Ñù¡£Ädz¤³¤µÄÔ´Âë¼ÐÔÓ×ÅÄÇЩÎÒÃÇÄ°ÉúµÄ±äÁ¿ºÍ·ûºÅ£¬Íû¶øÉúη±ãÊÇÀíËùµ±È»µÄÁË¡£²»Òªµ£ÐÄ£¬ÊÂÇé×ÜÓнâ¾öµÄ°ì·¨£¬ÏÈ°ÑһЩÎÒÃǹܲ»×ŵĴúÂëÇиî³öÈ¥£¬ÁôϱØÐëµÄ²¿·Ö£¬°Ñ¿ò¼ÜÕÆ ......
×÷Õߣºhaohaoo
À´×Ô£ºCnLinux.net¹¤×÷±Ê¼Ç
תÔØÇë±£ÁôÒÔÉÏÐÅÏ¢£¬Ð»Ð»
ÔÚ·þÎñÆ÷ÉÏ°ÑÓ²Å̽Ӻã¬Æô¶¯linux£¬ÒÔrootµÇ½¡£
±ÈÈçÎÒмÓÒ»¿éSCSIÓ²ÅÌ£¬ÐèÒª½«Æä·Ö³ÉÈý¸öÇø£º
#fdisk /dev/sdb
½øÈëfdiskģʽ£º
Command (m for help):p //²é¿´ÐÂÓ²Å̵ķÖÇø
Command (m for help):n //´´½¨Ð·ÖÇø
¿ÉÒÔÓÃmÃü ......
.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 FileN ......