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

linuxĿ¼½á¹¹½éÉÜ

תÌù£ºhttp://www.xici.net/main.asp?url=/u4612405/d78561560.htm
LinuxµÄĿ¼½á¹¹±ÈDOS¸´ÔÓ¶àÁË,ÈÃÎÒÃÇÀ´¿´¿´ËüµÄĿ¼ÀïÓÐЩʲô¶«Î÷°É.
/bin (binary)
    Õâ¸öĿ¼°üº¬×ÅËùÓеıê×¼ÃüÁîºÍÓ¦ÓóÌÐò.
/boot
    ÕâÀï´æ·Å¸øliloʹÓõÄһЩÎļþ.
/dev (device)
    Õâ¸öĿ¼°üº¬×ÅÓëÖն˺ÍÍâÉèµÄÎļþ½Ó¿Ú,ÔÚLinuxÏÂ,ÎļþºÍÉ豸ÊÇÓÃͬÖÖ·½·¨·ÃÎÊ  µÄ.ϵͳÉϵÄÿ¸öÉè        ±¸¶¼Ó¦¸ÃÔÚÕâÀïÓÐÒ»¸ö¶ÔÓ¦µÄÉ豸Îļþ.¿¼²ìÒ»ÏÂÕâ¸öºê:
            #define putchar(ch) fputc(ch,stdout)
    ÆäÖÐfputs¾ÍÊÇ°ÑchÊä³öµ½stdoutÈ¥ÁË,ÕâÀïµÄstdout¾ÍÊDZ»µ±³ÉÁËÎļþ.
/etc (etcetera)
    Õâ¸öĿ¼°üº¬×ÅϵͳÉèÖÃÎļþºÍÆäËûµÄϵͳÎļþ,ËüÔÚLinuxϼ«ÎªÖØÒª,ÈÃÎÒÃÇ¿´¿´  ËüµÄ×ÓĿ¼װЩʲô:
/etc/DIR_COLORS
    É趨ÔÚÓà ls ʱ,¸÷ÖÖ²»Í¬µµ°¸ÐÍ̬ËùÓõÄÑÕÉ«,µ«ÊDz»ÄÜÓÃpipe ÔÙµ¼ÏòÊä³ö,·ñÔò¾ÍûÓи÷ÖÖÑÕÉ«ÁË.  Óɵµ°¸µÄÄÚÈÝ¿ÉÒÔºÜÇáÒ×µÄÁ˽â,Èç default µÄdirectory ÊÇÀ¶É«,¾ßÓпÉÖ´ÐеµÈ¨ÏÞµÄÊÇÂÌÉ«,¶øѹËõµµÊǺìÉ«......  ÕâЩ¶¼¿ÉÒÀ¸öÈËϲºÃÀ´¼ÓÒÔ¸ü¸Ä. Õâ¸öµµ°¸ÄÚÈÝдµÃºÜÇå³þ,Ïë±Ø´ó¼ÒÒ»ÑÛÒ²¾Í¿ÉÒÔ¿´µÃ³öÀ´,ÔÚÑÕÉ«µÄ×é³É·½Ãæ,  ÎÒÃdz£Óà RGB ÈýÔ­É«µÄ³É·ÝÖµÀ´×éºÏ³ö¸÷ÖÖ²»Í¬µÄÑÕÉ«. ÓÉR,G,B Õâ¸öbit ÊÇ 0 »òÊÇ 1 Èý¸öÖµ×éºÏ³öÑÕÉ«Õâ¸öµÀÀíËädzÏÔ,µ«¼ÙÈçÎÒÃǸüÁ˽âR,G,B  µÄ¼ÓȨֵ·Ö±ðÊÇ 1,2,4 µÄ»°,ÄǾÍÔÙÒ²²»Ó÷­Êé²éÑÕÉ«ÁË......  Ñ¡Ôñ×Ô¼ºµÄµ÷É«ÅÌÀ´È¡´úÔ¤ÉèµÄµ÷É«ÅÌ,ÊǾ­³£»á×öµÄÊÂ.
/etc/HOSTNAME
    É趨Óû§µÄ½ÚµãÃû.¼Ç¼ÍêÕûµÄhostnameÓëdomain name,Õâ¸öµµ°¸ÔÚÐëÒªhostnameµÄ³¡ºÏ»áÓõõ½,Èç /etc/rc.d/rc.M µÈ......
/etc/NETWORKING
    ÀïÃæÖ»ÓÐÒ»ÐÐYES,±íÃ÷ÍøÂçÊÇ´æÔÚµÄ,ûÓÐÈκÎ×÷ÓÃ.
/etc/X11
link µ½ /var/X11/lib/X11
/etc/aliases
      Õâ¸öÎļþÊǸøsendmailµÄʹÓÃÉèÖñðÃû.
/etc/at.deny
      ÔÚÕâ¸öµµ°¸ÖпɼÇÔØÄÇЩÈ˲»ÄÜʹÓÃatÕâ¸öÃüÁîÀ´×öһЩlater job,¼ÙÈçat.deny
    ÊÇ¿ÕµÄ,¶øÇÒ at.allow Ò²²»´æÔڵĻ°. ÄǾÍÊÇÿ¸öÈ˶¼¿ÉÒÔÓà at Õâ¸öÃüÁî.
    (atÃüÁîÊÇÈÃϵͳÔÚÌض¨µÄʱ¼äÖ´ÐÐÄ


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì£¨Èý£© HCI²ã±à³Ì

1. HCI²ãЭÒé¸ÅÊö£º
HCIÌṩһÌ×ͳһµÄ·½·¨À´·ÃÎÊBluetoothµ×²ã¡£ÈçͼËùʾ£º
´ÓͼÉÏ¿ÉÒÔ¿´³ö£¬Host Controller Interface(HCI)  ¾ÍÊÇÓÃÀ´¹µÍ¨HostºÍModule¡£Hostͨ³£¾ÍÊÇPC£¬ ModuleÔòÊÇÒÔ¸÷ÖÖÎïÀíÁ¬½ÓÐÎʽ£¨USB,serial,pc-cardµÈ£©Á¬½Óµ½PCÉϵÄbluetooth Dongle¡£
ÔÚHostÕâÒ»¶Ë£ºapplication,SDP,L2capµÈЭÒé ......

LinuxÖ÷ÒªshellÃüÁîÏê½â

s
hellÊÇÓû§ºÍLinux²Ù×÷ϵͳ֮¼äµÄ½Ó¿Ú¡£LinuxÖÐ
ÓжàÖÖshell£¬ÆäÖÐȱʡʹÓõÄÊÇBash¡£±¾Õ½²ÊöÁËshellµÄ¹¤×÷Ô­Àí£¬shellµÄÖÖÀ࣬shellµÄÒ»°ã²Ù×÷¼°BashµÄÌØÐÔ¡£
¡¡¡¡Ê²Ã´ÊÇshell
¡¡¡¡LinuxϵͳµÄshell×÷Ϊ²Ù×÷ϵͳµÄÍâ¿Ç£¬ÎªÓû§Ìá
¹©Ê¹ÓòÙ×÷ϵͳµÄ½Ó¿Ú¡£ËüÊÇÃüÁîÓïÑÔ¡¢ÃüÁî½âÊͳÌÐò¼°³ÌÐòÉè¼ÆÓïÑÔµÄͳ³Æ¡£
¡¡¡¡s ......

linux dfisk, du,df(´ÅÅÌ¿Õ¼äÐÅÏ¢)ÃüÁîÏê½â


dfÃüÁîÏêϸÓ÷¨
 
a£ºÏÔʾȫ²¿µÄµµ°¸ÏµÍ³ºÍ¸÷·Ö¸îÇøµÄ´ÅÅÌʹÓÃÇéÐÎ
i£ºÏÔʾi -nodesµÄʹÓÃÁ¿
k£º´óСÓÃkÀ´±íʾ (ĬÈÏÖµ)
t£ºÏÔʾijһ¸öµµ°¸ÏµÍ³µÄËùÓзָîÇø´ÅÅÌʹÓÃÁ¿
x£ºÏÔʾ²»ÊÇijһ¸öµµ°¸ÏµÍ³µÄËùÓзָîÇø´ÅÅÌʹÓÃÁ¿
T£ºÏÔʾÿ¸ö·Ö¸îÇøËùÊôµÄµµ°¸ÏµÍ³Ãû³Æ
³£ÓÃÃüÁdf -hi
 
²Ù×÷Ïê½â
&n ......

linuxÖÐgrepÃüÁîÏê½â

ÔÚlinuxÖÐgrepÃüÁîÊǷdz£ÓÐÓõÄ,ËüºÍ¹ÜµÀ(|)ÅäºÏʹÓÃ,·Ç³£Ç¿´ó,ÓÃÓÚËÑË÷Îı¾Îļþ.Èç¹ûÏëÒªÔÚ¼¸¸öÎı¾ÎļþÖвéÕÒÒ»×Ö·û´®£¬¿ÉÒÔʹÓÃ
‘grep’ÃüÁî¡£‘grep’ÔÚÎı¾ÖÐËÑË÷Ö¸¶¨µÄ×Ö·û´®¡£
¼ÙÉèÄúÕýÔÚ‘/usr/src/linux/Documentation’Ŀ¼ÏÂËÑË÷´ø×Ö·û´®‘magic’µÄÎļþ£º
$ gre ......

Linux NAND FLASHÇý¶¯´úÂë·ÖÎö


×÷Õߣº·¶Ò»º½,»ªÇåÔ¶¼ûÉîÛڸ߼¶½²Ê¦
FLASHÇý¶¯ÔÚǶÈëʽϵͳÖÐÓÐמÙ×ãÇáÖصÄλÖ㬶øÄ¿Ç°Êг¡ÉÏNAND FLASHµÄ¼Û¸ñÓÖÒª±ãÒËÓëNOR FLASH,Ëæ×ÅÔ½À´Ô½¶àµÄƽ̨֧³Ö´ÓNAND FLASHÖÐÆô¶¯£¬ÕÆÎÕNAND flashµÄÇý¶¯±àдÓÐ×ÅÖØÒªµÄÏÖʵÒâÒ壬ÓÉÓÚÄÚºËÒѾ­Íê³ÉÁ˴󲿷ֵŤ×÷£¬Êµ¼Ê¹¤×÷Öд󲿷ֹ¤³Ìʦ¶ÔNAND FLASHÇý¶¯Ö»ÊǼòµ¥µÄÐ޸ģ¬ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ