Linuxѧϰ±Ê¼Ç
µÚËĽ² Ŀ¼ £¨video07,08,09,10£© Ç¿ÖÆλÓëðÏÕλ£ºÕë¶Ôu,g,o·Ö±ðÓÐset uid,set gid,¼°sticky¡£
set uid: chmod u+s DirName
set gid: chmod g+s DirName
sticky: chmod o+t DirName
ÀýÈç:ls –l /bin/ping ʹÓÃÁËset uid,±£Ö¤ÈκÎÓû§Ö´ÐÐpingÃüÁîʱ¶¼ÊÇÒÔrootÓû§Éí·Ý.
ĬÈÏÎļþȨÏÞ umask:Ò»°ãÓû§ÊÇ0002, rootÊÇ0022,
µÚÎå½² ¹ýÂËÆ÷,ÊäÈë,Êä³ö,Öض¨Ïò (video 11,12)
ÊäÈëÊä³öµÄλÖÃ: /dev/std*
ÊäÈëÖض¨Ïò : ÃüÁî < ÎļþÃû Àý: tr ¡®A-Z¡¯ ¡®a-z¡¯ < a.txt ½«a.txtÄڵĴóд×Öĸ¸ÄΪСд×Öĸ.
Êä³öÖض¨Ïò :
¸²¸ÇÓë×·¼Ó: ls –l > f.txt ls –l >>f.txt
Ë«ÖØÊä³öÖض¨Ïò: find /etc –name passwd 2>err.txt > out.txt
È«²¿Êä³öµ½Í¬Ò»Î»ÖÃ: find /etc –name passwd &> out.txt
µÚÁù½² Îļþ²éÕÒÓëÎļþ¹ÜÀí (video 13,)
which:ËÑË÷¿ÉÖ´ÐÐÃüÁî,ÏÈËÑË÷±ðÃû¼Ç¼.
locate:ËÑË÷Êý¾Ý¿â.
find:¼´Ê±ÐÔ,ËÑË÷ËÙ¶ÈÂý.
³£ÓÃÃüÁ id: Àýid root£¬²é¿´Óû§ÐÅÏ¢£¬ËùÊôÓÚµÄ×é¡£
chgrp:ÐÞ¸ÄÎļþËùÊôµÄ×é¡£
umask:²é¿´umsakÖµ, ¿ÉÒÔʹÓÃumask –S
which:ËÑË÷¿ÉÖ´ÐÐÎļþ.
whereis:ËÑË÷¿ÉÖ´ÐÐÎļþ¼°ÆäÏà¹ØÅäÖðïÖú
Ïà¹ØÎĵµ£º
£¨L2CAPÐÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPÐÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼Á¬½Ó¿ØÖƺÍÊÊÅäÐÒé (L2CAP) ΪÉϲãÐÒéÌṩÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àÐÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãÐÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......
ÇëÕÒͬѧ°ïæװÁËlinuxµÄ²Ù×÷ϵͳ£¬ubuntu9.1£¬´Ó´ËÎÒҲ̤ÉÏÁË˫ϵͳµÄÕ÷³Ì……
²»¹ýÕâ¸ö¹ý³Ì²¢²»ÊÇÒ»·«·ç˳µÄ¡£
Ê×ÏÈÒ»¸öºÜ´óµÄÎÊÌ⣬¾ÍÊDz»ÄÜÉÏÍø£¬Ñ§Ð£µÄ¿Í»§¶ËÔÚlinuxϲ»ÄÜʹÓ㬾Ý˵ҪÓÃÒ»¸öʲôÈí¼þ²ÅÐУ¬Õâ¸öÎÊÌâ´ý½â¾ö¡£
Æä´Î¾ÍÊÇ×ÖÌåÎÊÌ⣬linuxÏÂ×Ô´øµÄ×ÖÌåÌ«ÉÙ£¬ºÜ¶à¶«Î÷¶¼ÏÔʾ²»Õý³£¡£´Ówindow ......
1£¬ÖÆ×÷yaffs2ÎļþÓ³Ïñ¡£
¶ÔÓ¦ÓÃÓÚandroidƽ̨µÄuserdataÊý¾Ý£¬ÓÐʱÐèÒªÌí¼ÓһЩҪÓõÄÈí¼þºÍÊý¾Ý½øÈëÆäÖУ¬¿ÉÒÔÓÃÒ»¸ö¹¤¾ß°ümakeyaffs2imageÀ´Íê³É¡£´úÌæÉÕ¼userdata¾Í¿ÉÒÔÁË£¬×¢ÒâÎļþ´óСҲҪ¸Ä±ä£¬Ê¹ÓÃʱ½øÈëϵͳºóÓÃcd data,ls¾Í¿ÉÒÔ¿´µ½Òª´¦ÀíµÄ¶«Î÷¡£²Ù×÷·½Ê½Îª£º¼ÙÉè ......
½øÈëviºó ÓÐÁ½ÖÖģʽ
1.±à¼Ä£Ê½
2.ÃüÁîģʽ
½øÈëviºóĬÈÏÊÇÃüÁîģʽ£¬ËùÒÔ²»ÒªÂÒ°´ ¾Í»áµÃµ½ddµÄ¾¯¸æÉù£¬ÒªÊäÈëÎÄ×ֵĻ° Çë°´aºói ¾Í¿ÉÒÔ¿ªÊ¼ÊäÈëÎÄ×ÖÀ£¡
ÊäÈë½áÊøºó Çë°´esc¼ü»ØÃüÁîģʽ
ÊäÈëq¾ÍÊÇÍ˳ö
ÊäÈëwq¾ÍÊÇ´æÅ̺óÍ˳ö
ÊäÈëq!·ÅÆú´æÅÌÇ¿ÐÐÍ˳ö
.
Vi µÄʹÓÃ
Vi ÒѾÊÇ Unix ϵͳÖбê×¼µÄÎÄ×Ö±à¼Æ ......
1.ΪʲôÎÒдµÄMakefile£¬ÔÚ±à¼ÁËÔ´´úÂëÎļþºó£¬Ê¹ÓÃmake£¬makeÈ´ÌáʾĿ±êÎļþÒѾΪ×îеÄÁË£¡
2.OpenGL,ÔÚ´°¿ÚÖлµãʱ£¬ÔõÑùʹÓÃglVertexi()º¯Êý£¿ÒòΪ´«µÝµÄ²ÎÊýÈç¹ûÊÇ´óÓÚ1µÄintÐÍ£¬Ôò²»ÐУ¬¶ø±ØÐë´«µÝ[-0.1~0.1]Ö®¼äµÄfloat£¬¶øÇÒʹÓú¯Êý
gVertex2f().
3.OpenGL,ʹÓò˵¥Ê±£¬ÔõÑù½â¾öµã»÷²Ëµ¥ºó²»Òª²¶×½GLUT_UPÊ ......