LinuxϵͳÐÂÊÖѧϰµÄ11µã½¨Òé
Ëæ×ÅLinuxÓ¦ÓõÄÀ©Õ¹Ðí¶àÅóÓÑ¿ªÊ¼½Ó´¥Linux£¬¸ù¾ÝѧϰWindwosµÄ¾ÑéÍùÍùÓÐһЩãȻµÄ¸Ð¾õ£º²»Öª´ÓºÎ´¦¿ªÊ¼Ñ§Æð¡£ÕâÀï½éÉÜѧϰLinuxµÄһЩ½¨Òé¡£
Ò»¡¢´Ó»ù´¡¿ªÊ¼£º³£³£ÓÐЩÅóÓÑÔÚLinuxÂÛ̳ÎÊһЩÎÊÌ⣬²»¹ý£¬ÆäÖдó¶àÊýµÄÎÊÌⶼÊǺܻù´¡µÄ¡£ÀýÈ磺ΪʲôÎÒʹÓÃÒ»¸öÃüÁîµÄʱºò£¬ÏµÍ³¸æËßÎÒÕÒ²»µ½¸ÃĿ¼£¬ÎÒÒªÈçºÎÏÞÖÆʹÓÃÕßµÄȨÏÞµÈÎÊÌ⣬ÕâЩÎÊÌâÆäʵ¶¼²»ÊǺÜÄѵģ¬Ö»ÒªÁ˽âÁË Linux µÄ»ù´¡Ö®ºó£¬Ó¦¸Ã¾Í¿ÉÒÔºÜÇáÒ׵Ľâ¾öµôÕâ·½ÃæµÄÎÊÌâ¡£¶øÓÐЩÅóÓÑÃdz£³£Ò»½Ó´¥Linux ¾ÍÊÇÏ£Íû¹¹¼ÜÍøÕ¾£¬¸ù±¾Ã»ÓÐÏëµ½ÒªÏÈÁ˽âÒ»ÏÂLinux µÄ»ù´¡¡£ÕâÊÇÏ൱À§Äѵġ£
¶þ¡¢LinuxÃüÁîÊDZØÐëѧϰËäÈ»Linux×ÀÃæÓ¦Ó÷¢Õ¹ºÜ¿ì£¬µ«ÊÇÃüÁîÔÚLinuxÖÐÒÀÈ»ÓкÜÇ¿µÄÉúÃüÁ¦¡£LinuxÊÇÒ»¸öÃüÁîÐÐ×é³ÉµÄ²Ù×÷ϵͳ,¾«ËèÔÚÃüÁîÐУ¬ÎÞÂÛͼÐνçÃæ·¢Õ¹µ½Ê²Ã´Ë®Æ½Õâ¸öÔÀíÊDz»»á±äµÄ£¬LinuxÃüÁîÓÐÐí¶àÇ¿´óµÄ¹¦ÄÜ£º´Ó¼òµ¥µÄ´ÅÅ̲Ù×÷¡¢Îļþ´æÈ¡¡¢µ½½øÐи´ÔӵĶàýÌåͼÏóºÍÁ÷ýÌåÎļþµÄÖÆ×÷¡£¾ÙÒ»¸öÀý×Ó: LinuxµÄ³£ÓÃÃüÁîfind,²ì¿´manÎĵµ,³õѧÕßÒ»¶¨»á¾õµÃÌ«¸´ÔÓ¶ø²»ÔÒâÓÃ,µ«ÊÇÄãÒ»µ©Ñ§»á¾Í°®²»ÊÍÊÖ.ËüµÄ¹¦ÄÜʵÔÚÌ«Ç¿ÁË,ÔÚÅäºÏexec²ÎÊý»òÕßͨ¹ý¹ÜµÀÖض¨Ïòµ½xargsÃüÁîºÍgrepÃüÁî,¿ÉÒÔÍê³É·Ç³£¸´ÔӵIJÙ×÷,Èç¹ûͬÑùµÄ²Ù×÷ÓÃͼÐνçÃæµÄ¹¤¾ßÀ´Íê³É,¿ÖÅÂÒª¶à»¨Ê®¼¸ÅãµÄʱ¼ä. ²»Í¬°æ±¾µÄLinuxÃüÁîÊýÁ¿²»Ò»Ñù£¬ÕâÀï±ÊÕß°ÑËüÃÇÖбȽÏÖØÒªµÄºÍʹÓÃƵÂÊ×î¶àµÄÃüÁ°´ÕÕËüÃÇÔÚϵͳÖеÄ×÷Ó÷ֳɼ¸¸ö²¿·Ö½éÉܸø´ó¼Ò£¬Í¨¹ýÕâЩ»ù´¡ÃüÁîµÄѧϰÎÒÃÇ¿ÉÒÔ½øÒ»²½Àí½âLinuxϵͳ£º °²×°ºÍµÇ¼ÃüÁlogin¡¢ shutdown¡¢ halt¡¢ reboot ¡¢mount¡¢umount ¡¢chsh Îļþ´¦ÀíÃüÁfile¡¢ mkdir¡¢ grep¡¢dd¡¢ find¡¢ mv ¡¢ls ¡¢diff¡¢ cat¡¢ ln ϵͳ¹ÜÀíÏà¹ØÃüÁ df¡¢ top¡¢ free¡¢ quota ¡¢at¡¢ lp¡¢ adduser¡¢ groupadd kill¡¢ crontab¡¢ tar¡¢ unzip¡¢ gunzip ¡¢last ÍøÂç²Ù×÷ÃüÁifconfig¡¢ ip ¡¢ping ¡¢ netstat ¡¢telnet¡¢ ftp¡¢ route¡¢ rlogin rcp ¡¢finger ¡¢mail ¡¢nslookup ϵͳ°²È«Ïà¹ØÃüÁ passwd ¡¢su¡¢ umask ¡¢chgrp¡¢ chmod¡¢chown¡¢chattr¡¢sudo¡¢ pswho
Èý¡¢Ñ¡ÔñÒ»¸öÊʺÏÄãµÄLinux·¢Ðа汾ĿǰȫÇòÓг¬¹ý1°Ù¶à¸öLinux·¢Ðа汾£¬ÔÚ¹úÄÚÒ²ÄÜÕÒµ½Ê®¼¸¸ö³£¼û°æ±¾¡£ÈçºÎÑ¡ÔñÇë¸ù¾ÝÄãµÄÐèÇóºÍÄÜÁ¦£¬Redhat Linux ºÍDebian LinuxÊÇÍøÂç¹ÜÀíÔ±µÄÀíÏëÑ¡Ôñ¡£¶ÔÓÚÓ¢Óï²»ÊǺܺõĶÁÕߺìÆìLinux¡¢ÖбêLinuxÕâЩÖÐÎÄ°æ±¾±È½ÏÊʺϡ£ÏÖÔÚһЩLinuxÍøÕ¾ÓÐһЩ Linux°æ±¾µÄÃâ·ÑÏÂÔØ£¬ÕâÀïҪ˵µÄÊDz¢²»ÊʺÏLinu
Ïà¹ØÎĵµ£º
LinuxÖ§³Ö¶àÖÖÎļþϵͳ£¬°üÀ¨ext2¡¢ext3¡¢vfat¡¢ntfs¡¢iso9660¡¢jffs¡¢romfsºÍnfsµÈ£¬ÎªÁ˶Ը÷ÀàÎļþϵͳ½øÐÐͳһ¹ÜÀí£¬LinuxÒýÈëÁËÐéÄâÎļþϵͳVFS(Virtual File System)£¬Îª¸÷ÀàÎļþϵͳÌṩһ¸öͳһµÄ²Ù×÷½çÃæºÍÓ¦Óñà³Ì½Ó¿Ú¡£
LinuxϵÄÎļþϵͳ½á¹¹ÈçÏ£º
LinuxÆô¶¯Ê ......
Á´±íµÄɾ³ý
83/*
84 * Delete a list entry by making the prev/next entries
85 * point to each other.
86 *
87 * This is only for internal list manipulation where we know
88 * the prev/next entries already!
89 */
90static inline void __list_del(struct list_head * prev, struct list_head * next)
......
I/OÖض¨ÏòÏê½â¼°Ó¦ÓÃʵÀý
1¡¢ »ù±¾¸ÅÄÕâÊÇÀí½âºóÃæµÄ֪ʶµÄÇ°ÌᣬÇëÎñ±ØÀí½â£©
a¡¢ I/OÖض¨Ïòͨ³£Óë FDÓйأ¬shellµÄFDͨ³£Îª10¸ö£¬¼´ 0¡«9£»
b¡¢ ³£ÓÃFDÓÐ3¸ö£¬Îª0£¨stdin£¬±ê×¼ÊäÈ룩¡¢1£¨stdout£¬±ê×¼Êä³ö£©¡¢2£¨stderr£¬±ê×¼´íÎóÊä³ö£©£¬Ä¬ÈÏÓëkeyboard¡¢monitor¡¢monitorÓйأ»
c¡¢ Óà < À´¸Ä±ä¶Á½øµÄ ......
Ò»¡¢×ܽáһϣº
1.linuxÏÂÆô¶¯mysqlµÄÃüÁ
mysqladmin start
/ect/init.d/mysql start (Ç°ÃæΪmysqlµÄ°²×°Â·¾¶)
2.linuxÏÂÖØÆômysqlµÄÃüÁ
mysqladmin restart
/ect/init.d/mysql restart (Ç°ÃæΪmysqlµÄ°²×°Â·¾¶)
3.linuxϹرÕmysqlµÄÃüÁ
mysqladmin shut ......
ÔÚWindowsÏÂʹÓÃSSH·½Ê½Ô¶³ÌµÇ¼Linux·þÎñÆ÷ÊÇ×î¼òµ¥µÄÒ»ÖÖ·½Ê½¡£putty¾ÍÊÇÒ»¿î¿ªÔ´Ãâ·Ñ¡¢¼òµ¥Ç¿´óµÄSSHÔ¶³ÌµÇ¼¹¤¾ß¡£
¹Ù·½ÍøַΪ£ºhttp://www.chiark.greenend.org.uk/~sgtatham/putty/
ʹÓý̳̣ºÕâÀïÍƼöÒ»¸ö¸öÈ˾õµÃдµÄºÜºÃºÃÈ«µÄ½Ì²Ä£ºPuTTY ÖÐÎĽ̳Ìhttp://docs.google.com/View?docid=ajbgz6fp3pj ......