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

linuxĿ¼½á¹¹ËµÃ÷

Ŀ¼½á¹¹
Ò». Ê÷ÐÍĿ¼½á¹¹
1. LinuxϵͳÒÔÎļþĿ¼µÄ·½Ê½À´×éÖ¯ºÍ¹ÜÀíϵͳÖеÄËùÓÐÎļþ¡£ËùνÎļþĿ¼¾ÍÊǽ«ËùÓÐÎļþµÄ˵Ã÷ÐÅÏ¢²ÉÓÃÊ÷Ðͽṹ×éÖ¯ÆðÀ´£¬¼´³£ËµµÄĿ¼¡£
¶þ. ¹¤×÷Ŀ¼¡¢Óû§Ö÷Ŀ¼Óë·¾¶
1. ¹¤×÷Ŀ¼ÓëÓû§Ö÷Ŀ¼
Óû§ÔڵǼµ½ Linux ϵͳ֮ºó£¬ËùÔÚµÄĿ¼³ÆΪ¹¤×÷Ŀ¼¡£
2. ·¾¶
¹ËÃû˼Ò壬·¾¶ÊÇÖ¸´ÓÊ÷ÐÍĿ¼µÄij¸öĿ¼²ã´Îµ½Ä³¸öÎļþµÄÒ»ÌõµÀ·¡£Â·¾¶Ö÷ÒªÊÇÓÉĿ¼Ãû³Æ¹¹³É£¬ÖмäÓÓ/”·Ö¸ô¡£
Èý. Linux ϵͳÖ÷ҪĿ¼˵Ã÷
1. /: ¸ùĿ¼£¬ÏµÍ³ËùÓÐĿ¼¾ù´Ó¸ùĿ¼¿ªÊ¼£»
2. /bin: binÊǶþ½øÖÆ£¨binary£©µÄÓ¢ÎÄËõд¡£ÔÚÒ»°ãµÄϵͳÖУ¬ÓÃÓÚ´æ·Å Linux ×î³£ÓõÄÃüÁ
3. /boot: Òýµ¼ºË±ØµÄ³ÌÐòĿ¼¡£ÔÚʹÓà LILO »ò GRUB Òýµ¼ Linux ʱ£¬»áÓõ½Õâ¸öĿ¼ÖеÄÎļþ£»
4. /dev: dev ÊÇÉ豸£¨device£©µÄÓ¢ÎÄËõд¡£Õâ¸öĿ¼Öаüº¬ÁËËùÓÐÔÚ Linux ϵͳÖÐʹÓõÄÍⲿÉ豸¡£µ«ÊÇÕâÀï²¢²»ÊǷŵÄÍⲿÉ豸µÄÇý¶¯³ÌÐò;
5. /etc: etc ÊÇ etcetera µÄËõд¡£Õâ¸öĿ¼°üº¬ÁËϵͳ¹ÜÀíËùÐèÒªµÄÅäÖÃÎļþºÍ×ÓĿ¼£¬ËüÊÇϵͳÖÐ×îÖØÒªµÄĿ¼֮һ£¬Óû§ÒªÓõ½µÄÍøÂçÅäÖÃÎļþ¡¢Îļþϵͳ¡¢X-Windows ϵͳÅäÖÃÎļþ¡¢É豸ÅäÖÃÐÅÏ¢¡¢ÉèÖÃÓû§ÐÅÏ¢µÈ¶¼ÔÚÕâ¸öĿ¼Ï£»
6. /sbin: Õâ¸öĿ¼ÊÇÓÃÀ´´æ·Åϵͳ¹ÜÀíԱʹÓõÄϵͳ¹ÜÀí³ÌÐò£¬Ò»°ãÓû§Ã»ÓÐȨÏÞ·ÃÎÊ£»
7. /home: ÓÃÀ´´æ·ÅÓû§Ö÷Ŀ¼µÄµØ·½¡£Ò»°ãÀ´Ëµ£¬“/home/Óû§Ãû” ¾ÍÊǸÃÓû§µÄÖ÷Ŀ¼£»
8. /lib: libÊǿ⣨library£©µÄÓ¢ÎÄËõд¡£Õâ¸öĿ¼ÊÇÓÃÀ´´æ·Åϵͳ¶¯Ì¬Á¬½Ó¹²Ïí¿âµÄ¡£
9. /mnt: Õâ¸öĿ¼ÔÚÒ»°ãÇé¿öÏÂÊǿյġ£¿ÉÒÔÁÙʱ½«±ðµÄÎļþϵͳ¹ÒÔÚÕâ¸öĿ¼Ï£»
10. /proc: Õâ¸öĿ¼ÊÇ Linux ÌṩµÄÒ»¸öÐéÄâϵͳ£¬¸ÃĿ¼ÏµÄÎļþ²¢²»´æÓÚÓ²ÅÌÖУ¬¶øÊÇÓÉϵͳ³õÆôµÄʱºòÔÚÄÚ´æÖвúÉúµÄ¡£
11. /root: Õâ¸öĿ¼Êdz¬¼¶Óû§ root ĬÈϵÄÖ÷Ŀ¼£¬Ò»°ãÓû§Ã»ÓзÃÎÊȨÏÞ£»
12. /tmp: ÓÃÀ´´æ·Å²»Í¬³ÌÐòÖ´ÐÐʱ²úÉúµÄÁÙʱÎļþ£»
13. /usr: ÊÇ user µÄËõд£¬Linux ϵͳÖÐÕ¼Óÿռä×î´óµÄĿ¼£¬Óû§µÄºÜ¶àÓ¦ÓóÌÐòºÍÎļþ¼¸ºõ¶¼´æ·ÅÔÚÕâ¸öĿ¼ÖÐ.
14. /var: Ö÷Òª´æ·ÅһЩϵͳ¼Ç¼ÎļþºÍÅäÖÃÎļþ£¬Í¨³£/varÏÂÃæµÄÎļþÊÇÌṩ¸øϵͳ¹ÜÀíÔ±¶ÔϵͳµÄÓû§×¢²á¡¢ÏµÍ³¸ºÔØ¡¢°²È«ÐÔ·½ÃæµÄ²éѯ¡£


Ïà¹ØÎĵµ£º

linux(ubuntu)ÏÂruby¿ª·¢»·¾³´î½¨

env setup
linux(ubuntu)ÏÂruby¿ª·¢»·¾³´î½¨£¬°üÀ¨Ò»Ð©³£¼ûÎÊÌâ½â¾ö
×¢Ò⣬±¾ÎÄÖ»ÊÇÎÒÔڴrubyѧϰ»·¾³Ê±µÄһЩ±Ê¼Ç£¬ÒòΪÊÇÓÃgedit±à¼­µÄ£¬ËùÒÔ¸ñʽ»¯²»ÊǺܺã¬ÁíÍ⣬ֻÊDZ¸Íü¶øÒÑ¡£
2010.1.19
1. install ruby
$ tar xzf ruby-1.8.7-p248.tar.gz
$ mv ruby-1.8.7-p248 ruby187
$ cd ruby187/
$ ./configure ......

ÓÃcygwin ssh rsyncͬ²½windowsÓëlinuxÎļþ

Ò»£º°²×°cygwin
       ÏÂÔصØÖ·£ºwww.cygwin.com/setup.exe;°²×°·½·¨¿É²Î¿¼www.cygwin.cn,¿ÉÒÔÑ¡Ôñinternet°²×°£¬Èç¹û°²×°ÎļþÒѾ­ÏÂÔØ£¬¿ÉÒÔÔÚ±¾µØ°²×°;
1.       Ð޸Ļ·¾³±äÁ¿£ºÏµÍ³ºÍÓû§pathÖÐÔö¼Ó£ºÅÌ·û\cygwin\bin£»ÅÌ·ûÊǾßÌåÒª°²×°µÄ´ÅÅÌ£»
2.&nb ......

LinuxÖеÄʱÖÓÓëʱ¼ä

ÈÕÆÚ£º2010-02-04
×÷ÕߣºSteven Yang
ÓÊÏ䣺mqyoung@gmail.com
×¢£º×ªÔØÇë×¢Ã÷³ö´¦ºÍ×÷Õß²¢±£³ÖÎĵµµÄÍêÕû
HZ
ÄÚºËͨ¹ý¶¨Ê±Æ÷ÖжÏÀ´¸ú×Ùʱ¼äÁ÷£¬Ê±ÖÓÖжÏÓÉϵͳ¶¨Ê±Ó²¼þÒÔÖÜÆÚÐԵļä¸ô²úÉú£¬Õâ¸ö¼ä¸ôÓÉÄں˸ù¾ÝHZµÄÖµÉ趨¡£
HZÓëÌåϵ½á¹¹Óйأ¬¶¨ÒåÔÚ<linux/param.h>ÖлòÕ߸ÃÎļþ°üº¬µÄij¸ö×Óƽ̨Ïà¹ØµÄÎļþÖС ......

linux »ù±¾ÃüÁî1

×¢Òâµã£ºlinux ÏÂÇø·Ö´óСд
ÃüÁîÐÐ
exit                    ×¢Ïúϵͳ
ls -al/root             ÁгörootÎļþ¼ÐÏÂËùÓÐÒþ²ØÎļþÓëÏà¹ØµÄÎļþÊôÐÔ
sh u ......

linuxϵͳϲ鿴ºÍÉèÖÃÈÕÆÚʱ¼äµÄÃüÁî

linuxϵͳϲ鿴ºÍÉèÖÃÈÕÆÚʱ¼äµÄÃüÁÊÇdate¡£
²é¿´ÈÕÆÚʱ¼äÃüÁdate
ÉèÖÃÈÕÆÚʱ¼äÃüÁdate -s [date|time]
ÉèÖÃϵͳÈÕÆÚºÍʱ¼äΪ:2008Äê9ÔÂ9ÈÕ14ʱ25·Ö49Ãë
date -s '20080909 14:25:49'   //Ò»¶¨Òª¼ÓÒýºÅ²ÅÐС£ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ