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

LinuxĿ¼½âÊÍ

/boot:ÕâÀï´æ·ÅµÄÊÇÆô¶¯LINUXʱʹÓõÄһЩºËÐÄÎļþ¡£
/dev:devÊÇdevice(É豸)µÄËõд¡£Õâ¸öĿ¼ÏÂÊÇËùÓÐLINUXµÄÍⲿÉ豸£¬Æ书ÄÜÀàËÆDOSϵÄ.sysºÍWinϵÄ.vxd¡£ÔÚLINUXÖÐÉ豸ºÍÎļþÊÇÓÃͬÖÖ·½·¨·ÃÎʵġ£ÀýÈç:/dev/hda´ú±íµÚÒ»¸öÎïÀíIDEÓ²ÅÌ¡£
/etc:Õâ¸öĿ¼ÓÃÀ´´æ·ÅËùÓеÄϵͳ¹ÜÀíËùÐèÒªµÄÅäÖÃÎļþºÍ×ÓĿ¼¡£
/bin:binÊÇbinary(¶þ½øÖÆ)µÄËõд¡£Õâ¸öĿ¼ÊǶÔUNIXϵͳϰ¹ßµÄÑØÏ®£¬´æ·Å×ÅʹÓÃÕß×î¾­³£Ê¹ÓõÄÃüÁî¡£ÀýÈ磺cp,ls,cat¡£
/sbin:s¾ÍÊÇSuper UserµÄÒâ˼£¬Ò²¾ÍÊÇ˵ÕâÀï´æ·ÅµÄÊÇһЩϵͳ¹ÜÀíԱʹÓõÄϵͳ¹ÜÀí³ÌÐò¡£
/lib:Õâ¸öĿ¼Àï´æ·Å×Åϵͳ×î»ù±¾µÄ¶¯Ì¬Á´½Ó¹²Ïí¿â£¬Æä×÷ÓÃÀàËÆÓÚWindowsÀïµÄ.dllÎļþ¡£¼¸ºõËùÓеÄÓ¦ÓóÌÐò¶¼ÐèÒªÓõ½ÕâЩ¹²Ïí¿â¡£
/proc:Õâ¸öĿ¼ÊÇÒ»¸öÐéÄâµÄĿ¼£¬ËüÊÇϵͳÄÚ´æµÄÓ³É䣬ÎÒÃÇ¿ÉÒÔͨ¹ýÖ±½Ó·ÃÎÊÕâ¸öĿ¼À´»ñȡϵͳÐÅÏ¢¡£Ò²¾ÍÊÇ˵£¬Õâ¸öĿ¼µÄÄÚÈݲ»ÔÚÓ²ÅÌÉ϶øÊÇÔÚÄÚ´æÀï°¡£¡£¿
/root:ϵͳ¹ÜÀíÔ±£¬Ò²½Ð×÷³¬¼¶È¨ÏÞÕßµÄÓû§Ö÷Ŀ¼¡£µ±È»ÏµÍ³µÄÓµÓÐÕߣ¬×ÜÒªÓÐЩÌØȨ°¡£¡
/home:Óû§µÄÖ÷Ŀ¼£¬±ÈÈç˵ÓиöÓû§½Ðliubin£¬ÄÇËûµÄÖ÷Ŀ¼¾ÍÊÇ/home/liubinÒ²¿ÉÒÔÓÃ~liubin±íʾ£¬Ëµµ½ÕâÀ´ò¸ö²í£¬ÄãÏÖÓ¦¸ÃÃ÷°×ÔÚÎÒÃÇ·ÃÎÊһЩ¸öÈËÍøÒ³(Èçhttp://www.liubin.net/~liubin)µÄʱºò£¬~liubin¾ÍÊDZíʾ·ÃÎÊwww.liubin.netÕ¾µãÖеÄÓû§liubinµÄÓû§Ö÷Ŀ¼¡£ Èç¹ûÕâ¸öÍøÕ¾µÄ²Ù×÷ϵͳÊÇLINUX£¬ÄǾÍÊDZíʾ/home/liubin¡£  
/usr:ÕâÊǸö×îÅÓ´óµÄĿ¼£¬ÎÒÃÇÒªÓõ½µÄºÜ¶àÓ¦ÓóÌÐòºÍÎļþ¼¸ºõ¶¼´æ·ÅÔÚÕâ¸öĿ¼Ï¡£¾ßÌåÀ´Ëµ£º
/usr/X11R6 ´æ·ÅX-WindowsµÄĿ¼£»
/usr/bin ´æ·Å×ÅÐí¶àÓ¦ÓóÌÐò£»
/usr/sbin ¸ø³¬¼¶Óû§Ê¹ÓõÄһЩ¹ÜÀí³ÌÐò¾Í·ÅÔÚÕ⣻
/usr/lib ´æ·ÅһЩ³£ÓõĶ¯Ì¬Á´½Ó¹²Ïí¿âºÍ¾²Ì¬µµ°¸¿â£»
/usr/local ÕâÊÇÌṩ¸øÒ»°ãÓû§µÄ/usrĿ¼£¬ÔÚÕâ°²×°Èí¼þ×îÊʺϣ» 
/usr/include LINUXÏ¿ª·¢ºÍ±àÒëÓ¦ÓóÌÐòÐèÒªµÄÍ·Îļþ£¬ÔÚÕâÕÒ£»
/usr/src LINUX¿ª·ÅµÄÔ´´úÂ룬¾Í´æÔÚÕâ¸öĿ¼£¬°®ºÃÕßÃDZð·Å¹ýŶ£¡
/usr/doc Õâ¾ÍÊÇLINUXÎĵµµÄ´ó±¾Óª£»
/usr/man manÊÇʲô£¬¶ÔÁËÊÇ°ïÖú¡£ÕâÀï¾ÍÊÇ°ïÖúÎĵµÄ¿Â¼°¡£¡ 
/mnt:Õâ¸öĿ¼Êǿյģ¬ÏµÍ³ÌṩÕâ¸öĿ¼ÊÇÈÃÓû§ÁÙʱ¹ÒÔرðµÄÎļþϵͳ¡£
/lost+found:Õâ¸öĿ¼ƽʱÊǿյģ¬µ±ÏµÍ³²»Õý³£¹Ø»úºó£¬ÕâÀï¾Í³ÉÁËһЩÎ޼ҿɹéµÄÎļþµÄ±ÜÄÑËù¡£¶ÔÁË£¬ÓеãÀàËÆÓÚDOSϵÄ.chkÎļþ¡£
/tmp:Õâ¸öĿ¼²»ÓÃ˵£¬Ò»¶¨ÊÇÓÃÀ´´æ·ÅһЩÁÙʱÎļþµÄµØ·½ÁË¡£
/var:Õâ¸öĿ¼Öдæ


Ïà¹ØÎĵµ£º

Linux iptableÎĵµ

×ÜÀÀ
ÓÃiptables -ADC À´Ö¸¶¨Á´µÄ¹æ
Ôò
£¬-AÌí¼Ó -Dɾ³ý -C ÐÞ¸Ä
iptables - [RI] chain rule num rule-specification[option]
ÓÃiptables - RI ͨ¹ý¹æÔòµÄ˳ÐòÖ¸¶¨
iptables -D chain rule num[option]
ɾ³ýÖ¸¶¨¹æÔò
iptables -[LFZ] [chain][option]
ÓÃiptables -LFZ Á´Ãû [Ñ¡Ïî]
iptables -[NX] chain
ÓÃ -NX ......

Linux Ϲ²ÏíÄڴ潨Á¢Ê±ÐèҪעÒâµÄÎÊÌâ

ÔÚlinuxÏÂʹÓù²ÏíÄÚ´æʱ£¬ÕÕ×ÅÊéÉÏ»òÕßÍøÉϵķ½·¨£¬Ê¹ÓÃshmatº¯Êýʱ£¬ÀÏÊÇ»áÅöµ½Ò»¸öÎÊÌâ
Ìáʾ:
shmat error
permission denied
ÿ´ÎÐèÒªsudoһϲÅÄܹ»Õý³£ÔËÐУ¬²¢ÇÒÈç¹ûÆÕͨÓû§Ê¹ÓÃipcs²é¿´µÄ»°£¬ÊÇ¿´²»¼ûÒѾ­·ÖÅäµÄ¹²ÏíÄÚ´æµÄ£¬ÐèÒªÔÚrootÓû§Ï²ÅÄÜ¿´¼û£¬ ×ʼÒÔΪÊÇshmatÐèÒªrootÓû§µÄȨÏÞ£¬ºóÀ´·¢ÏÖ²»ÊÇÕâÑ ......

linux arp ÃüÁî³£ÓòÎÊýÏê½â

linux arp ÃüÁî³£ÓòÎÊýÏê½â
ÏÔʾºÍÐ޸ĵØÖ·½âÎöЭÒé(ARP)ʹÓõēIP µ½ÎïÀ픵Øַת»»±í¡£
ARP -s inet_addr eth_addr [if_addr]
ARP -d inet_addr [if_addr]
ARP -a [inet_addr] [-N if_addr] [-v]
 -a            Í¨¹ýѯÎʵ±Ç°Ð­ÒéÊý¾Ý£¬ÏÔʾµ±Ç° ARP Ïî¡£Èç¹ûÖ¸¶¨ ......

linuxÆô¶¯ÅäÖÃ

Æô¶¯ÅäÖãº
/etc/init.d/rcS
 
# mkfs.jffs2 -r yyfs/ -o yy.jffs2 -p -l -n -e 0x8000 -m size 
ÄÚºËÆô¶¯ÏÔʾ£º
unable to open an initial console.
 
½â¾ö£º
´´½¨rootfs¹ý³ÌÖУ¬ÔÚ/devĿ¼ÏÂÊÖ¶¯´´½¨ÈçϽڵ㣺
mknod -m 660 null c 1 3
mknod -m 660 console c 5 1
Taking the GNU/Linux hos ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ