ѧϰLinuxϵͳµÄʮһµã½¨Òé
ѧϰLinuxϵͳµÄʮһµã½¨Òé
2007.06.12 À´×Ô£ºlingfen1552.cublog.c¡¡ [Êղص½ÎÒµÄÍøÕª]
Ëæ×ÅLinuxÓ¦ÓõÄÀ©Õ¹Ðí¶àÅóÓÑ¿ªÊ¼½Ó´¥Linux£¬¸ù¾ÝѧϰWindwosµÄ¾ÑéÍùÍùÓÐһЩãȻµÄ¸Ð¾õ£º²»Öª´ÓºÎ´¦¿ªÊ¼Ñ§Æð¡£ÈçºÎµÃµ½Áª»ú°ïÖúºÍ˽ÓвÙ×÷ϵͳ²»Í¬£¬¸÷¸öLinuxµÄ·¢Ðа汾µÄ¼¼ÊõÖ§³Öʱ¼ä¶¼½Ï¶Ì£¬Õâ¶ÔÓÚLinux³õѧÕßÊÇÍùÍù²»¹»µÄ¡£
Ëæ×Å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¡¢groupaddkill¡¢crontab¡¢tar¡¢unzip¡¢gunzip¡¢last
¡¡¡¡ÍøÂç²Ù×÷ÃüÁifconfig¡¢ip¡¢ping¡¢netstat¡¢telnet¡¢ftp¡¢route¡¢rloginrcp¡¢finger¡¢mail¡¢nslook
Ïà¹ØÎĵµ£º
ÎҼƻ®µÄѧϰÀú³Ì£º
1. cºÍc++µÄ»ù´¡ÖªÊ¶£¬Õâ¸öºÍ²Ù×÷ϵͳÎ޹أ¬ÔÚwindowsÉÏÒ²¿ÉÒÔѧ¡£cÓïÑÔÓï·¨Ïà¶Ô¼òµ¥Ò»µã£¬c++²»ÐèÒª°ÑËùÓеÄ֪ʶµã¶¼Ñ§»á£¬ÒªÖªµÀ»ù±¾µÄ·â×°£¬¼Ì³Ð£¬¶à̬֮ÀàµÄ£¬»¹ÓÐSTL¡£¸üÉîÈëµÄѧϰӦ¸ÃÊÇÔÚÒÔºóµÄ¹¤×÷ÖÐÓöµ½ÎÊÌâÁËÔÙÈ¥²é×ÊÁÏ¡£
2. ¿´Ê顶APUE¡·£¬×öÊéÉϵÄÏ°Ì⣬ÕÆÎÕÎļþ£¬ÏµÍ³µ÷Óã¬Ï̡߳¢½ø³Ì¡¢ ......
Console ÐÞ¸Ä/etc/inputrcÎļþ
set bell-style off
VIM Èç¹ûÊÇÔÚ console ģʽÏÂʹÓà vi/vim£¬Ò»µ©°´´í¼ü»á·¢³ö bi µÄÒ»Éù£¬ÕâÑù×ö¿ÉÒÔÌáÐÑÎÒÃÇ£¬µ«ÊǺܶàʱºò»áÓ°ÏìÆäËûÈ˹¤×÷¡¢Ñ§Ï°»òÕßÐÝÏ¢£¬ÈçºÎ¹Ø±ÕÄØ£¿
¿ÉÒÔÔÚ vi/vim ÖÐʹÓÃ
:set noeb
ÃüÁÆäÖÐ noeb ÊÇ noerrorbells µÄËõд£© ......
Anatomy of the Linux slab allocator
Learn how Linux manages memory
M. Tim Jones, Consultant Engineer, Emulex Corp.
M. Tim Jones is an embedded software architect and the author of GNU/Linux Application Programming, AI Application Programming, and BSD Sockets Programming from a Multilanguage Persp ......
ת×Ô http://hi.baidu.com/grantzhou/blog/item/56a91cf3b685cdc90a46e09d.html
ËÄ¡¢sched_setscheduler()ϵͳµ÷Óá£
Õâ¸öϵͳµ÷Óõĵ÷Óòã´ÎºÍ´úÂ붼±Ènice¸´ÔÓЩ£¬ËùÉæ¼°µÄÒ²Óв»ÉÙÎÒÃÇÕâÀï²»¸ÐÐËȤµÄ¶«Î÷£¬Òò´Ë¾Í²»ÔÙÒÔչʾ´úÂëµÄ·½·¨½éÉÜËüÃÇÁË¡£ÕâÀï½öÔÚ¹¦Äܲã´ÎÉÏ£¬´ÓÓënice()¶Ô±ÈµÄ½Ç¶ÈÉ϶ÔËü×öÒ»¸ ......