linux Ŀ¼¼Ü¹¹
/
¸ùĿ¼
/bin
³£ÓõÄÃüÁî
binary
file µÄĿ¼
/boot
´æ·ÅϵͳÆô¶¯Ê±±ØÐë¶ÁÈ¡µÄµµ°¸£¬°üÀ¨ºËÐÄ
(kernel)
ÔÚÄÚ
/boot/grub/menu.lst
GRUBÉèÖÃ
/boot/vmlinuz
ÄÚºË
/boot/initrd
ºËÐĽâѹËõËùÐè
RAM
Disk
/dev ϵͳÖܱßÉ豸
/etc
ϵͳÏà¹ØÉ趨Îļþ
/etc/DIR_COLORS
É趨ÑÕÉ«
/etc/HOSTNAME
É趨Óû§µÄ½ÚµãÃû
/etc/NETWORKING
Ö»ÓÐYES±êÃ÷ÍøÂç´æÔÚ
/etc/host.conf Îļþ˵Ã÷Óû§µÄϵͳÈçºÎ²éѯ½ÚµãÃû
/etc/hosts É趨Óû§×ÔÒѵÄIPÓëÃû×ֵĶÔÓ¦±í
/etc/hosts.allow ÉèÖÃÔÊÐíʹÓÃinetdµÄ»úÆ÷ʹÓÃ
/etc/hosts.deny
ÉèÖò»ÔÊÐíʹÓÃinetdµÄ»úÆ÷ʹÓÃ
/etc/hosts.equiv ÉèÖÃÔ¶¶Ë»ú²»ÓÃÃÜÂë
/etc/inetd.conf
É趨ϵͳÍøÂçÊØ»¤½ø³ÌinetdµÄÅäÖÃ
/etc/gateways É趨·ÓÉÆ÷
/etc/protocols É趨ϵͳ֧³ÖµÄÐÒé
/etc/named.boot É趨±¾»úΪÃû×Ö·þÎñÆ÷µÄÅäÖÃÎļþ
/etc/sysconfig/network-scripts/ifcfg-eth0
ÉèÖÃIP
/etc/resolv.conf
ÉèÖÃDNS
/etc/X11
X WindowµÄÅäÖÃÎļþ,xorg.conf
»ò
XF86Config
ÕâÁ½¸ö
X
Server µÄÉ趨µµ
/etc/fstab
¼Ç¼¿ª»úÒªmountµÄÎļþϵͳ
/etc/inittab
É趨ϵͳÆô¶¯Ê±init½ø³Ì½«°ÑϵͳÉèÖóÉʲôÑùµÄrunlevel
/etc/issue ¼Ç¼Óû§µÇ¼ǰÏÔʾµÄÐÅÏ¢
/etc/group É趨Óû§µÄ×éÃûÓëÏà¹ØÐÅÏ¢
/etc/passwd ÕʺÅÐÅÏ¢
/etc/shadow ÃÜÂëÐÅÏ¢
/etc/sudoers ¿ÉÒÔsudoÃüÁîµÄÅäÖÃÎļþ
/etc/securetty É趨ÄÄЩÖն˿ÉÒÔÈÃrootµÇ¼
Ïà¹ØÎĵµ£º
ÓÉÓÚ Linux Á¼ºÃµÄÓû§È¨ÏÞ¹ÜÀíÌåϵ£¬²¡¶¾ÍùÍùÊÇ Linux ϵͳ¹ÜÀíÔ±×îºó²ÅÐèÒª¿¼ÂǵÄÎÊÌâ¡£ÒÔÍù£¬Linux ÉϵÄɱ¶¾Èí¼þÖ÷ÒªÊÇΪÆóÒµµÄÓʼþºÍÎļþ·þÎñÆ÷ËùÉè¼ÆµÄ¡£Èç½ñ£¬Ëæ×Å Linux ×ÀÃæÓû§ÊýÁ¿µÄÔö³¤£¬×ÀÃæÓû§ÔÚÊÜÒæÓÚ Linux ϵͳ¶Ô²¡¶¾½ÏÇ¿µÄÌìÈ»ÃâÒßÁ¦µÄͬʱ£¬Ò²ÐèҪɱ¶¾Èí¼þÇåÀí´ÓÍøÂç»òUÅÌ´øÀ´µÄWIndows²¡¶¾¡£¾¡¹ÜÄÇЩ ......
LinuxÏÂC++¿ª·¢¹¤¾ß½éÉÜ
¡¡¡¡¸ÅÊö
¡¡¡¡¾ÍC£«£«¿ª·¢¹¤¾ß¶øÑÔ£¬ÓëWindowsÏÂ΢Èí£¨VC£¬ VS2005µÈ£©Ò»Í³ÌìÏÂÏà±È£¬Linux/UnixÏÂC£«£«¿ª·¢£¬¿ÉνÎ廨°ËÃÅ£¬¸÷ʽ¸÷Ñù¡£Emacs, vi, eclipse, anjuta£¬kdevelopµÈ²ã³ö²»Çî¡£
¡¡¡¡WindowsÏ£¬¿ª·¢¹¤¾ß¶àÒÔ¼¯³É¿ª·¢»·¾³IDEµÄÐÎʽչÏÖ¸ø×îÖÕÓû§¡£ÀýÈ磬VS2005¼¯³ ......
1. Sockets ½éÉÜ
2. ÓòºÍµØÖ··ÖÀà
3. µØַת»»º¯Êý
4. SocketÀàÐÍÒÔ¼°¸÷ÖÖÐÒé
5. ½«µØÖ·ºÍSocketÏà°ó¶¨
6. ÃæÏòÎÞÁ¬½ÓµÄÐÒé
7. ÃæÏòÁ¬½ÓµÄÐÒé
8. ·þÎñÆ÷¶ËµÄÃæÏòÁ¬½ÓÐÒé
9. Ö÷»úºÍÍøÂçÃû²éѯ
---------------------------------------------
10. ÔÚSocketÉÏʹÓñê×¼I/O
11. ²¢·¢¿Í»§ºÍ·þÎñÆ÷
12. Sock ......
½ÓÏÂÀ´£¬ÎÒÃǽøÈësysfs²¿·Ö¡£¿´¿´
kobject_add()->create_dir()->sysfs_create_dir()
bus create file->sysfs create file()
. . .
ÕâЩsysfsº¯ÊýµÄÄÚÄ»¡£
˵°×ÁË£¬sysfs¾ÍÊÇÀûÓÃVFSµÄ½Ó¿ÚÈ¥¶ÁдkobjectµÄ²ã´Î½á¹¹£¬½¨Á¢ÆðÀ´µÄÎļþϵͳ¡£¹ØÓÚsysfsµÄÄÚÈݾÍÔÚfs/sysfs/Ï¡£&nbs ......
UbuntuµÄÐí¶à²Ù×÷ÊÇÔÚÖÕ¶ËÖнøÐеģ¬Í¨¹ýsudoÃüÁîÖÎÀíµÄÎļþÊÇÓÉroot
³ÖÓÐȨÏÞ£¨Ä¬ÈÏÓû§Ã»ÓÐȨÏÞÔËÐкÍÐ޸ģ©µÄ£¬Ò»°ãÓû§ÊÇÎÞ·¨¸Ä±äµÄ¡£ÔÚͼÐνçÃæÉÏ£¬ÎÒÃÇ¿ÉÒÔͨ¹ýÊôÐÔÖеÄȨÏÞÑ¡Ïî¼Ð½øÐвÙ×÷¡£µ«ÊÇÒ»µ©ÎļþµÄÊôÐÔÏÔʾµ±Ç°
Óû§Ã»ÓжÁдȨÁ¦Ê±£¬ÎÞ·¨ÔÚͼÐνçÃæÉÏÐÞ¸ÄȨÏÞ¡£
³£Ó÷½·¨ÈçÏ£º
£¨Æô¶¯Ò»¸öshell£¬¼üÈëÃü ......