linuxÖеĹÅÀÏËõÂÔÓï
ÎÞÒâÖп´µ½ÁËһƪzz
http://hi.baidu.com/lyricidyll/blog/item/54e8f9a9c35bb8bbca130c7c.html
ÍÚLinuxÖеĹÅÀÏËõÂÔÓï
UnixÒѾÓÐ35ÄêÀúÊ·ÁË¡£Ðí¶àÈËÈÏΪËü¿ªÊ¼ÓÚÖÐÊÀ¼Í£¬Õâ¸öÖÐÊÀ¼ÍÊÇÏà¶ÔÓÚ¼ÆËã»ú¼¼ÊõµÄ²úÉúºÍ·¢Õ¹À´ËµµÄ¡£ÔÚ¹ýÈ¥µÄʱ¼äÀUnixºÍËüµÄ×Ó·ÖÖ§
LinuxÊÕ¼¯ÓÐÐí¶àµÄÀúÊ·ºÍһЩÍêÈ«¹ÅÀϵÄÓïÑÔ¡£ÔÚÕâƪ¼¼ÇÉÎÄÕÂÖУ¬ÎÒÃǽ«½éÉÜÒ»ÉÙ²¿·Ö¹ÅÀϵÄÓïÑÔºÍËüÃǵÄÄ¿µÄºÍ×÷Óã¬ÒÔ¼°ËüÃÇÕæÕýµÄÀ´Ô´¡£
RC
ÔÚLinuxÖУ¬×îΪ³£ÓõÄËõÂÔÓïÒ²ÐíÊÇ“rc”£¬ËüÊÇ“runcomm”µÄËõд¨D¨D¼´Ãû´Ê“run
command”(ÔËÐÐÃüÁî)µÄ¼òд¡£½ñÌ죬“rc”ÊÇÈκνű¾ÀàÎļþµÄºó׺£¬ÕâЩ½Å±¾Í¨³£ÔÚ³ÌÐòµÄÆô¶¯½×¶Î±»µ÷Óã¬Í¨³£ÊÇLinuxϵͳÆô¶¯Ê±¡£Èç
/etc/rsÊÇLinuxÆô¶¯µÄÖ÷½Å±¾£¬¶ø.bashrcÊǵ±LinuxµÄbash
shellÆô¶¯ºóËùÔËÐеĽű¾¡£.bashrcµÄǰ׺“.”ÊÇÒ»¸öÃüÃû±ê×¼£¬Ëü±»Éè¼ÆÓÃÀ´ÔÚÓû§ÎļþÖÐÒþ²ØÄÇЩÓû§Ö¸¶¨µÄÌØÊâÎļþ;“ls”ÃüÁîĬÈÏÇé¿ö
ϲ»»áÁгö´ËÀàÎļþ£¬“rm”ĬÈÏÇé¿öÏÂÒ²²»»áɾ³ýËüÃÇ¡£Ðí¶à³ÌÐòÔÚÆô¶¯Ê±£¬¶¼ÐèÒª“rc”ºó׺µÄ³õʼÎļþ»òÅäÖÃÎļþ£¬Õâ¶ÔÓÚUnixµÄÎļþϵͳÊÓͼÀ´
˵£¬Ã»ÓÐʲôÉñÃصġ£
ETC
ÔÚ“etc/bin”Öеēetc”ÕæÕý´ú±íµÄÊÇ“etcetera”(¸½¼ÓÎï)¡£ÔÚÔçÆÚµÄUnixϵͳÖУ¬×îΪÖØÒªµÄĿ¼ÊÇ“bin”Ŀ¼
(“bin”ÊÇ“binaries”¶þ½øÖÆÎļþ¨D¨D±àÒëºóµÄ³ÌÐòµÄËõд)£¬“etc”ÖÐÔò°üº¬ËöËéµÄ³ÌÐò£¬ÈçÆô¶¯¡¢¹Ø»úºÍ¹ÜÀí¡£ÔËÐÐÒ»¸öLinux±ØÐëµÄ
¶«Î÷µÄÁбíÊÇ:Ò»¸ö¶þ½øÖƳÌÐò£¬etcetera£¬etcetera¨D¨D»»¾ä»°Ëµ£¬ÊÇÒ»¸öµ×²ãµÄÖØÒªÏîÄ¿£¬Í¨³£Ìí¼ÓһЩ´ÎµÈÖØÒªµÄÁãËéÊÂÎï¡£½ñ
Ì죬“etc”°üº¬Á˹㷺µÄϵͳÅäÖÃÎļþ£¬ÕâЩÅäÖÃÎļþ¼¸ºõ°üº¬ÁËϵͳÅäÖõķ½·½ÃæÃ棬ͬÑù·Ç³£ÖØÒª¡£
Bin
½ñÌ죬Ðí¶àÔÚLinuxÉÏÔËÐеĴóÐÍ×Óϵͳ£¬ÈçGNOME»òOracle£¬Ëù±àÒë³ÉµÄ³ÌÐòʹÓÃËüÃÇ×Ô¼ºµÄ“bin”Ŀ¼(»òÕßÊÇ/usr/bin£¬»ò
ÕßÊÇ/usr/local/bin)×÷Ϊ±ê×¼µÄ´æ·ÅµØ¡£Í¬Ñù£¬ÏÖÔÚÒ²Äܹ»ÔÚÕâЩĿ¼¿´µ½½Å±¾Îļþ£¬ÒòΪ“bin”Ŀ¼ͨ³£Ìí¼Óµ½Óû§µÄPATH·¾¶ÖУ¬Õâ
ÑùËûÃDzÅÄܹ»Õý³£µÄʹÓóÌÐò¡£Òò´ËÔËÐнű¾Í¨³£ÔÚbinÖÐÔËÐÐÁ¼ºÃ¡£
TTY
ÔÚLinuxÖУ¬TTYÒ²ÐíÊǸúÖÕ¶ËÓйØϵµÄ×îΪ»ìÂÒµÄÊõÓï¡£TTYÊÇTeleTYpeµÄÒ»¸öÀÏËõд¡£Teletypes£¬»òÕß
teletypewriters£¬ÔÀ´Ö¸µÄ
Ïà¹ØÎĵµ£º
LAMPÕâ¸ö´ÊµÄÓÉÀ´×îÔçʼÓڵ¹úÔÓÖ¾“c't Magazine”£¬Michael KunzeÔÚ1990Äê×îÏÈ°ÑÕâЩÏîÄ¿×éºÏÔÚÒ»Æð´´ÔìÁËLAMPµÄËõд×Ö¡£ÕâЩ×é¼þËäÈ»²¢²»ÊÇ¿ª¿ªÊ¼¾ÍÉè¼ÆΪһÆðʹÓõģ¬µ«ÊÇ£¬ÕâЩ¿ªÔ´Èí¼þ¶¼¿ÉÒԺܷ½±ãµÄËæʱ»ñµÃ²¢Ãâ·Ñ»ñµÃ¡£Õâ¾Íµ¼ÖÂÁËÕâЩ×é¼þ¾³£ÔÚÒ»ÆðʹÓá£ÔÚ¹ýÈ¥µÄ¼¸ÄêÀÕâЩ×é¼þµÄ¼æÈÝÐÔ²»¶ÏÍêÉÆ£¬Ô ......
Arm linux ÄÚºËÒÆÖ²¼°ÏµÍ³³õʼ»¯¹ý³Ì·ÖÎö
±¾ÎÄÖ÷Òª½éÉÜÄÚºËÒÆÖ²¹ý³ÌÖÐÉæ¼°ÎļþµÄ·Ö²¼¼°ÆäÓÃ;£¬ÒÔ¼°¼òµ¥½éÉÜϵͳµÄ³õʼ»¯¹ý³Ì¡£Õû¸öarm linuxÄں˵ÄÆô¶¯¿É·ÖΪÈý¸ö½×¶Î£ºµÚÒ»½×¶ÎÖ÷ÒªÊǽøÐÐcpuºÍÌåϵ½á¹¹µÄ¼ì²é¡¢cpu±¾ÉíµÄ³õʼ»¯ÒÔ¼°Ò³±íµÄ½¨Á¢µÈ£»µÚ¶þ½×¶ÎÖ÷ÒªÊǶÔϵͳÖеÄһЩ»ù´¡ÉèÊ©½øÐгõʼ»¯£»×îºóÔòÊǸü¸ß²ã´ÎµÄ³õÊ ......
Linux System and Performance Monitoring
Linux System and Performance Monitoring(CPUƪ)
Date: 2009.07.21
Author: Darren Hoch
Òë: Tonnyom[AT]hotmail.com 2009.08.10
......
/*
file:string.h
#ifndef _LINUX_STRING_H_
#define _LINUX_STRING_H_
/* We don't want strings.h stuff being user by user stuff by accident */
#ifdef __KERNEL__
#include <linux/types.h> /* for size_t */
#include <linux/stddef.h> /* for NULL */
#include <linux/compiler.h&g ......
<!--
@page { margin: 2cm }
P { margin-bottom: 0.21cm }
-->
ʲôÊÇ
GNU/Linux
£¿Ê²Ã´ÊÇÕæÕýµÄ×ÀÃæ
Linux
£¿ÕâЩÎÊÌ⣬ÎÒÃDZØÐë¸ãÇå³þ£¬ËµÃ÷°×¡£×ÀÃæ
Linux
²»ÄÜÔÙÕÐÒ¡¹ýÊкöÓÆÈËÁË¡£
Àú ......