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

linuxѧϰ±Ê¼Ç

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µÄÅäÖÃ


Ïà¹ØÎĵµ£º

Ïê½âLinuxϵͳÐ޸Ļ·¾³±äÁ¿PATH·¾¶µÄ·½·¨

µçÄÔÖбز»¿ÉÉٵľÍÊDzÙ×÷ϵͳ¡£¶øLinuxµÄ·¢Õ¹·Ç³£Ñ¸ËÙ£¬Óиϳ¬Î¢ÈíµÄÇ÷ÊÆ¡£ÕâÀï½éÉÜLinuxµÄ֪ʶ£¬ÈÃÄãѧºÃÓ¦ÓÃLinuxϵͳ¡£±ÈÈçÒª°Ñ/etc/apache/binĿ¼Ìí¼Óµ½PATHÖУ¬·½·¨ÓÐÈý£º
1.#PATH=$PATH:/etc/apache/bin
ʹÓÃÕâÖÖ·½·¨,Ö»¶Ôµ±Ç°»á»°ÓÐЧ£¬Ò²¾ÍÊÇ˵ÿµ±µÇ³ö»ò×¢ÏúϵͳÒÔºó£¬PATH ÉèÖþͻáʧЧ
2.#vi /etc/profile ......

LinuxÖÐÈçºÎÈýø³ÌÔÚºǫ́ÔËÐÐ


ÔÚLinuxÖУ¬Èç¹ûÒªÈýø³ÌÔÚºǫ́ÔËÐУ¬Ò»°ãÇé¿öÏ£¬ÎÒÃÇÔÚÃüÁîºóÃæ¼ÓÉÏ&¼´¿É£¬Êµ¼ÊÉÏ£¬ÕâÑùÊǽ«ÃüÁî·ÅÈëµ½Ò»¸ö×÷Òµ¶ÓÁÐÖÐÁË£º
$ ./test.sh &
[1] 17208
$ jobs -l
[1]+ 17208 Running ./test.sh &
¶ÔÓÚÒѾ­ÔÚǰִ̨ÐеÄÃüÁҲ¿ÉÒÔÖØзŵ½ºǫִ́ÐУ¬Ê×ÏÈ°´ctrl+zÔÝÍ£ÒѾ­ÔËÐеĽø³Ì£¬È ......

¿ªÊ¼ÎÒµÄLinuxÖ®ÂÃ

È·ÇеÄ˵,ÎÒÊÇ´Ó»ªÇåÔ¶¼ûµÄ¹ÙÍøÉϵÃÖªÓиö½ÐǶÈëʽlinux¾ÍÒµÅàѵ°àµÄ¶«Î÷²Å¶ÔlinuxÓÐЩÈÏʶµÄ,¼ÓÖ®×Ô¼ººÍµ¥Æ¬»ú´òÁË2¸ö¶àÔµĽ»µÀÖ®ºó,Ò²²»ÖªÔõôµØ,ÇÞÊҵļ¸¸ö¼Ò»ï·¢·èËƵĿªÊ¼ÍæFPGA,SOPC,MATLABÖ®ÀàµÄ¶«Î÷,ÎÒ×ÔÈ»²»Ó¦¸ÃÏÐ×Å,»¨ÁËÒ»¶Îʱ¼äÁ˽âDSP,¾õµÃÒªÏÈѧºÃÊý×ÖÐźŴ¦Àí,ÂýÂýÓнӴ¥ARM,È»ºó¶ÔS3C2410µÄ¿ª·¢°åºÜÓÐÐËȤ, ......

Linux ÎļþºÍĿ¼µÄÊôÐÔ


Linux ÎļþºÍĿ¼µÄÊôÐÔ
×÷Õߣº±±ÄÏÄϱ±
À´×Ô£ºhttp://www.linuxsir.org/main/?q=node/196
ÕªÒª£º±¾ÎĽ²ÊöµÄÊÇÎļþ»òĿ¼µÄÊôÐÔ£¬±ÈÈç½Úµãinode¡¢ÎļþÀàÐÍ¡¢ÎļþȨÏÞ¼°¹éÊô£»»¹¶Ôsetuid¡¢setgid¼°Õ³Ìùλ½øÐÐÁËÒ»°ãÐԵĽ²½â¡£¶Ôln
¡¢chmod¡¢umask¡¢chown¡¢chgrp ¡¢touch µÄÓ÷¨Ò²½øÐÐÁ˱ȽÏÏêϸµÄ˵Ã÷ºÍ¾ÙÀý£»
Ŀ¼ ......

Linux½ø³Ì¼äͨѶËùʹÓõÄϵͳµ÷Óú¯Êý


´°Ì嶥¶Ë
Ë÷Òý£º
1.fork¡¢execºÍexit¶ÔIPC¶ÔÏóµÄÓ°Ïì
2.fcntl¼Ç¼Ëø
3.¹ÜµÀºÍFIFOµÄÊôÐÔ
4.¹ÜµÀºÍFIFOµÄÏÞÖÆ
5.pipeº¯Êý
6.popenºÍpclose
7.mkfifoº¯Êý
8.System V IPC¹²ÐÔÃèÊö
9.msqid_ds½á¹¹
10.msggetº¯Êý
11.msgsndº¯Êý
12.msgrcvº¯Êý
13.msgctlº¯Êý
14.ÔÚSystem VÏûÏ¢¶ÓÁÐÉÏʹÓÃselectºÍpoll
15.sem ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ