linuxĿ¼ºÍÎļþϵͳ
Linux ºÍ Unix Îļþϵͳ±»×éÖ¯³ÉÒ»¸öÓвã´ÎµÄÊ÷Ðνṹ¡£ÎļþϵͳµÄ×îÉϲãÊÇ /£¬»ò³ÆΪ ¸ùĿ¼¡£ÔÚ Unix ºÍ Linux µÄÉè¼ÆÀíÄîÖУ¬Ò»ÇнÔΪÎļþ——°üÀ¨Ó²ÅÌ¡¢·ÖÇøºÍ¿É²å°Î½éÖÊ¡£Õâ¾ÍÒâζ×ÅËùÓÐÆäËüÎļþºÍĿ¼£¨°üÀ¨ÆäËüÓ²Å̺ͷÖÇø£©¶¼Î»ÓÚ¸ùĿ¼ÖС£ ÀýÈ磺/home/jebediah/cheeses.odt ¸ø³öÁËÕýÈ·µÄÍêÕû·¾¶£¬ËüÖ¸Ïò cheeses.odt Îļþ£¬¶ø¸ÃÎļþλÓÚ jebediah Ŀ¼Ï£¬¸ÃĿ¼ÓÖλÓÚ home Ŀ¼£¬×îºó£¬home Ŀ¼ÓÖλÓÚ¸ù(/) Ŀ¼Ï¡£ ÔÚ¸ù (/) Ŀ¼Ï£¬ÓÐÒ»×éÖØÒªµÄϵͳĿ¼£¬ÔÚ´ó²¿·Ö Linux ·¢ÐаæÀﶼͨÓá£Ö±½ÓλÓÚ¸ù (/) Ŀ¼Ïµij£¼ûĿ¼ÁбíÈçÏ£º
/bin - ÖØÒªµÄ¶þ½øÖÆ (binary) Ó¦ÓóÌÐò
/boot - Æô¶¯ (boot) ÅäÖÃÎļþ
/dev - É豸 (device) Îļþ
/etc - ÅäÖÃÎļþ¡¢Æô¶¯½Å±¾µÈ (etc)
/home - ±¾µØÓû§Ö÷ (home) Ŀ¼
/lib - ϵͳ¿â (libraries) Îļþ
/lost+found - ÔÚ¸ù (/) Ŀ¼ÏÂÌṩһ¸öÒÅʧ+²éÕÒ(lost+found) ϵͳ
/media - ¹ÒÔØ¿ÉÒƶ¯½éÖÊ (media)£¬ÖîÈç CD¡¢ÊýÂëÏà»úµÈ
/mnt - ¹ÒÔØ (mounted) Îļþϵͳ
/opt - Ìṩһ¸ö¹©¿ÉÑ¡µÄ (optional) Ó¦ÓóÌÐò°²×°Ä¿Â¼
/proc - ÌØÊâµÄ¶¯Ì¬Ä¿Â¼£¬ÓÃÒÔά»¤ÏµÍ³ÐÅÏ¢ºÍ״̬£¬°üÀ¨µ±Ç°ÔËÐÐÖнø³Ì (processes) ÐÅÏ¢¡£
/root - root (root) Óû§Ö÷Îļþ¼Ð£¬¶Á×÷“slash-root”
/sbin - ÖØÒªµÄϵͳ¶þ½øÖÆ (system binaries) Îļþ
/sys - ϵͳ (system) Îļþ
/tmp - ÁÙʱ(temporary)Îļþ
/usr - °üº¬¾ø´ó²¿·ÖËùÓÐÓû§(users)¶¼ÄÜ·ÃÎʵÄÓ¦ÓóÌÐòºÍÎļþ
/var - ¾³£±ä»¯µÄ(variable)Îļþ£¬ÖîÈçÈÕÖ¾»òÊý¾Ý¿âµÈ
Ïà¹ØÎĵµ£º
×ÜÀÀ
ÓÃ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£¬¸ù¾ÝѧϰWindwosµÄ¾ÑéÍùÍùÓÐһЩãȻµÄ¸Ð¾õ£º²»Öª´ÓºÎ´¦¿ªÊ¼Ñ§Æð¡£ÕâÀï½éÉÜѧϰLinuxµÄһЩ½¨Òé¡£
Ò»¡¢´Ó»ù´¡¿ªÊ¼
³£³£ÓÐЩÅóÓÑÔÚLinuxÂÛ̳ÎÊһЩÎÊÌ⣬²»¹ý£¬ÆäÖдó¶àÊýµÄÎÊÌⶼÊǺܻù´¡µÄ¡£ÀýÈ磺ΪʲôÎÒʹÓÃÒ»¸öÃüÁîµÄʱºò£¬ÏµÍ³¸æËßÎÒÕÒ²»µ½¸ÃĿ¼£¬ÎÒÒªÈçºÎ ÏÞÖÆʹÓÃÕß ......
³£Óãº
passwd ¸ü»»ÃÜÂë
pwd ÏÔʾµ±Ç°ËùÔÚ·¾¶
who am i ÏÔʾµ±Ç°Óû§
su Çл»Óû§
°ïÖú£º
man your_command ÏÔʾÃüÁî°ïÖúÊֲᣬmanΪmanualµÄËõд
your_command --help | more ÏÔʾÃüÁîµÄ°ïÖúÐÅÏ¢£¬È»ºóÀûÓÃmore·ÖÆÁÊä³ö
which ²é¿´³ÌÐòµÄ°²×°Î»ÖÃ
echo $PATH ²é¿´PATH»·¾³±äÁ¿
export PATH=$PAHT:you_dir ½«Ö ......
²Ù×÷ϵͳÔÀí¼°Æ½Ì¨¿ª·¢£¨MS Win32 / BSD
Unix / GNU Linux£©
×÷Õß alvin_lee @ 2006-04-30 09:51:05
ÏàÐÅ´ó¼Ò¶ÔLinux°²×°Ó¦¸ÃÊǼҳ£±ã·¹ÁË,¶ø´ó¶àÊý·¢ÐаæµÄ°æ±¾¸üÐÂÒ²·Ç³£¿ì¡£Èç¹û
²»Ïëÿ´Î°²×°Ð°汾µÄʱºò¶¼Òª¿ÌÅÌ»òÕß°²×°µ½VMWareÉϵĻ°£¬ÄÇôÄã¿ÉÒÔ¿¼ÂÇʹÓÃU ......
LinuxÈȲå°Î
from:
http://blog.chinaunix.net/u1/34190/showart_287894.html
½«¿ÉÒƶ¯É豸Á¬Èëϵͳʱ£¬ÏµÍ³µÄºǫ́ÖлáÒÀ´Î·¢ÉúÈçÏÂʼþ£º
l
Äں˼ì²âµ½ÐÂÓ²¼þ²åÈ룬Ȼºó·Ö±ð֪ͨ
hotplug
ºÍ
udev
¡£Ç°ÕßÓÃÀ´×°ÈëÏàÓ¦µÄÄÚºËÄ£¿é
(
Èç
usb-stora ......