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

linuxĿ¼˵Ã÷

linuxĿ¼˵Ã÷
¡¡
/bin
ÕâÊÇ·ÅÀýÈ磺 ls, mv, rm, mkdir, rmdir, gzip, tar, telnet, ¼° ftp µÈµÈ³£ÓÃ
µÄÖ´ÐеµµÄµØ·½£¨ÕâЩִÐеµµÄÖ´Ðз½·¨»áÔÚºóÃæÌáµ½£©£¬ÓÐʱºòÕâ¸öĿ¼µÄÄÚÈÝ
Óë /usr/bin ÊÇÒ»ÑùµÄ£¨ÓÐʱºòÉõÖÁ»áʹÓÃÁ¬½áµµÁ¨£©£¬ÊǸøÒ»°ãʹÓÃÕßʹÓõÄÖ´
ÐгÌÐò·ÅÖõÄËùÔÚ£¡
/boot
û´í£¬ÕâÀï¾ÍÊÇ·ÅÖÃÄã Linux ºËÐÄÓ뿪»úÏà¹Øµµ°¸µÄµØ·½£¬Õâ¸öĿ¼µ×ϵÄ
vmlinuz-xxx ¾ÍÊÇ Linux µÄ Kernel À²£¡·ÛÖØÒªµÄ¶«Î÷£¡¶øÈç¹ûÄãµÄ¿ª»ú¹ÜÀí³ÌÐò
Ñ¡Ôñ grub µÄ»°£¬ÄÇôÕâ¸öĿ¼ÄÚ»¹ÓÐ /boot/grub Õâ¸ö´ÎĿ¼ßÏ£¡
/dev
°Ú·ÅһЩÓë×°ÖÃÓйصĵµ°¸¡£»ù±¾ÉÏ Unix »ò Linux ϵͳ¾ù°Ñ×°Öõ±³ÉÊÇÒ»¸öµµ°¸
À´¿´´ý£¬ÀýÈç /dev/fd0 ´ú±íÈíÅÌ£¬Ò༴ Windows ϵͳÏ嵀 A ²Û£¬¶ø /dev/cdrom
Ôò´ú±í¹âÅÌ£¬µÈµÈ£¡¶øÈçÉÏËùÊö£¬ÔÚÕâ¸öĿ¼µ×ϵĵµ°¸ÐÍ̬ͨ³£·ÖΪÁ½ÖÖร¬·Ö
±ðÊǹÜÀí´ÅÅÌ Input/Output µÄ Block µµ°¸ÓëÖÜ±ßµÄ Character µµ°¸¡£
/etc
ϵͳÔÚ¿ª»ú¹ý³ÌÖÐÐèÒª¶ÁÈ¡µÄµµ°¸¾ùÔÚÕâ¸öĿ¼ÖУ¬ÀýÈç Lilo µÄ²ÎÊý¡¢ÈËÔ±µÄÕË
ºÅÓëÃÜÂ롢ϵͳµÄÖ÷ÒªÉ趨¡¢http ¼ÜÕ¾µÄ²ÎÊýÄÚÈÝ¡¢ÄãËùÒª¿ªÆôµÄ·þÎñÏîÄ¿µÈµÈ¶¼
ÔÚÕâ¸öĿ¼ÖУ¬ËùÒÔÔÚÕâ¸öĿ¼Ï¹¤×÷µÄʱºò£¬Çë¼ÇµÃÒ»¶¨Òª±¸·Ý£¬·ñÔòµµ°¸±»¸Ä
µôÁË¿ÉÊǺÜÂé·³µÄ£¡
/etc/rc.d
Õâ¸ö·¾¶Ö÷ÒªÔڼǼһЩ¿ª¹Ø»ú¹ý³ÌÖÐµÄ scripts µµ°¸£¬ scripts ÓеãÏñÊÇ DOS
ϵÄÅú´Îµµ£¨.bat檔Ãû£©
/etc/rc.d/ini
t.d
ËùÒÔ·þÎñÔ¤ÉèµÄÆô¶¯ scripts ¶¼ÊÇ·ÅÔÚÕâÀïµÄ£¬ÀýÈçÒªÆô¶¯Óë¹Ø±Õ iptables µÄ»°£¬¿É
ÒÔ£º
/etc/rc.d/init.d/iptables start
/etc/rc.d/init.d/iptables stop
/etc/xinetd.d
Õâ¸ö·¾¶ÔÚ½ÏÐ嵀 Linux distribution µ±ÖвÅÓУ¬ÓÉÓÚÔçÆڵİ汾ÓÃÀ´¿ªÆô·þÎñ
µÄµµ°¸ÊÇ inetd.conf £¬µ«ÊÇÔÚ½Ïеİ汾ÖУ¬¿ªÆô·þÎñµÄÏîÄ¿ÒѾ­±ä³ÉʹÓÃ
xinetd.conf Õâ¸öµµ°¸£¬Òò´Ë£¬ÄãÈôÐèÒªÆô¶¯Ò»Ð©¶îÍâµÄ·þÎñµÄ»°£¬ÔÚ Mandrake
9.0 »òÕßÊÇ Red Hat 7.0 ÒÔºó¾ÍÒªµ½ /etc/xinetd.d Õâ¸öĿ¼ÏÂÁË¡£
/etc/X11
ÕâÊÇÓë X windows ÓйصÄÉ趨ÎļþËùÔÚµÄĿ¼£¬ÓÈÆäÀïÃæµÄ XF86Config-4 ¸üÊÇÖØ
ÒªÄØ£¡
/home
»ù±¾ÉÏ£¬ÕâÊÇϵͳԤÉèµÄʹÓÃÕߵļÒĿ¼( home directory )£¬ÔÚÄãÐÂÔöÒ»°ãʹÓÃ
ÕßÕ˺ŵÄʱºò£¬Ô¤ÉèµÄʹÓÃÕß¼ÒĿ¼¶¼ÔÚÕâÀïÉ趨ºÃ啰£¡
/lib
ÔÚ Linux Ö´Ðлò±àÒëһЩ³ÌÐòµÄʱºò£¬¾ù»áʹÓõ½Ò»Ð©º¯Ê½¿â£¨library£©£¬¾ÍÔÚ
Õâ¸öĿ¼ÏÂ
/lost+fount
ϵͳ²»Õý³£²úÉú´íÎóʱ£¬»á½«Ò»Ð©ÒÅʧµÄƬ¶Î·ÅÖÃÓÚ´ËĿ¼Ï£¬


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì£¨ËÄ£© L2CAP²ã±à³Ì

£¨L2CAPЭÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPЭÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼­Á¬½Ó¿ØÖƺÍÊÊÅäЭÒé (L2CAP) ΪÉϲãЭÒéÌṩÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àЭÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãЭÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......

ʵսLinux Bluetooth±à³Ì (Æß) SDPЭÒé

Service Discovery Protocol(SDP)ÌṩһÖÖÄÜÁ¦£¬ÈÃÓ¦ÓóÌÐòÓз½·¨·¢ÏÖÄÄÖÖ·þÎñ¿ÉÓÃÒÔ¼°ÕâÖÖ·þÎñµÄÌØÐÔ¡£
·þÎñ·¢ÏÖЭÒé(SDP»òBluetooth SDP)ÔÚÀ¶ÑÀЭÒéÕ»ÖжÔÀ¶ÑÀ»·¾³ÖеÄÓ¦ÓóÌÐòÓÐÌØÊâµÄº¬Ò⣬·¢ÏÖÄĸö·þÎñÊÇ¿ÉÓõĺÍÈ·¶¨ÕâЩ¿ÉÓ÷þÎñµÄÌØÕ÷¡£SDP¶¨ÒåÁËbluetooth client·¢ÏÖ¿ÉÓÃbluetooth server·þÎñºÍËüÃǵÄÌØÕ÷µÄ·½·¨¡£ ......

[תÌû]LinuxÇý¶¯¿ª·¢Ñ§Ï°µÄһЩ±ØÒª²½Öè

 1. ѧ»áд¼òµ¥µÄmakefile
2. ±àһЩӦÓÃ
³ÌÐò
£¬¿ÉÒÔÓÃmakefileÅÜÆðÀ´
3. ѧ»áдÇý¶¯
µÄmakefile
4. дһ¼òµ¥charÇý¶¯£¬makefile±àÒëͨ¹ý£¬¿ÉÒÔinsmod£¬ lsmod£¬ rmmod. ÔÚÇý¶¯µÄinitº¯ÊýÀï´òÓ¡hello world£¬insmodºóÓ¦¸ÃÄܹ»Í¨¹ýdmesg¿´µ½Êä³ö
¡£
5. дһÍêÕûÇý¶¯£¬ ¼ÓÉÏread£¬ write£¬ ioctl£¬ pollingµÈ¸ ......

LinuxÏ´ÅÅÌÏà¹Ø²Ù×÷ÃüÁî

²é¿´´ÅÅÌÒÔ¼°·ÖÇøÃüÁ
fdisk -l
Êä³ö½á¹ûÈçÏ£º
-----------------------------------------------------------------------
Disk /dev/sda: 160.0 GB, 160040803840 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
   Device Boot   ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ