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

¼òµ¥linuxÍøÂç±à³Ì

linuxÍøÂç±à³Ì
1. »ù±¾¸ÅÄî
 
 
˵µ½ÍøÂç±à³Ì,²»µÃ²»ÏÈÌáµ½OSI²Î¿¼Ä£ÐÍ,ÆäÆß²ãÄ£ÐÍ´Óϵ½ÉÏ·Ö±ðΪ
 
1.ÎïÀí²ã(Physical Layer,PH)
 
2.Êý¾ÝÁ´Â·²ã(Data Link Layer,DL)
 
3.ÍøÂç²ã(Network Layer,N)
 
4.ÔËÊä²ã(Transport Layer,T)
 
5.»á»°²ã(Session Layer,S)
 
6.±íʾ²ã(Presentation Layer,P)
 
7.Ó¦Óòã(Application Layer,A)
 
ÏÖÔÚ×îÁ÷ÐеÄÍøÂçЭÒéÎÞÒɾÍÊÇTCP/IP(Transmission Control Protocol/Internet Protocol)ЭÒé.
 
 
×¢:
 
l        IP £¨Internet Protocol£©£¬Íø¼ÊЭÒ飻IPÊÇTCP/IPµÄ×îµ×²ã£¬¸ß²ãЭÒ鶼Ҫת»¯ÎªIP°ü£¬IP°üº¬ÁËÔ´µØÖ·ºÍÄ¿µÄµØÖ·£¬Â·Óɾö²ßÒ²·¢ÉúÔÚIP²ã£»
 
l        ICMP £¨Internet Control Message Protocol£©£¬Íø¼Ê±¨ÎÄЭÒ飻Ëü°üÀ¨ÁËÊý¾Ý°üµÄ´íÎ󡢿ØÖƵÈÏà¹ØÐÅÏ¢¡£±ÈÈçpingÃüÁî¾ÍÊÇÀûÓÃICMPÀ´²âÊÔÒ»¸öÍøÂçµÄÁ¬½ÓÇé¿öµÄ¹¤¾ß£»
 
l        TCP £¨Transmission Control Protocol£©£¬´«Êä¿ØÖÆЭÒé¡£TCPÔËÐÐÔÚIPÖ®ÉÏ£¬ÊÇ»ùÓÚÊý¾ÝÁ÷Á¬½ÓºÍÃæÏòµÄЭÒ飬ӦÓóÌÐò°ÑÊý¾ÝÒª¾­¹ýTCP/IPµÄ·Ö¸î³ÉÈô¸É°ü£¬ÕâÑùÊý¾Ý¾ÍÒÔ×Ö½ÚÁ÷·¢ËͺͽÓÊÕ£¬µ½´ïÄ¿µÄµØºó£¬TCP/IPÔÙ°´Ë³Ðò½øÐÐ×é×°¡£TCP/IPÒª±£Ö¤»úÆ÷Óë»úÆ÷Ö®¼äµÄÁ¬½ÓµÄ¿É¿¿ÐÔ£¬»¹ÒªÓоÀ´í¡£TCPÊÇ·ñ±»Ñ¡Ôñ£¬È¡¾öÓÚÓ¦ÓóÌÐò»ò·þÎñ£»
 
l        UDP £¨User Datagram Protocol£© £¬Óû§Êý¾Ý±¨Ð­Òé £¬ÏóTCPÒ»ÑùÔËÐÐÔÚIPÖ®ÉÏ£¬ÊÇ»ùÓÚÊý¾Ý±¨»ò·Ö×éµÄЭÒ飬UDP/IP¿ÉÒÔÖ±½Ó·¢ËͺͽÓÊÕÊý¾Ý±¨ÎÄ£¬¶ø²»±Ø×öÑéÖ¤£¬ÕâÒ»µãÓëTCP/IP²»Í¬¡£TCPÊÇ·ñ±»Ñ¡Ôñ£¬È¡¾öÓÚÓ¦ÓóÌÐò»ò·þÎñ£»
 
 
 
2.        »ù±¾½Ó¿Ú
ÒÔUnix/Linuxƽ̨ΪÀý,ϵͳ»á½¨Á¢Ðí¶àÍøÂç·þÎñ³ÌÐò
 
$netstat -a
 
Proto Recv-Q Send-Q Local Address      Foreign Address          State 
 
tcp        0      0         *:1975         &n


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì£¨ËÄ£© L2CAP²ã±à³Ì

£¨L2CAPЭÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPЭÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼­Á¬½Ó¿ØÖƺÍÊÊÅäЭÒé (L2CAP) ΪÉϲãЭÒéÌṩÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àЭÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãЭÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......

Linux Shell ½ø¶ÈÌõÏÔʾº¯Êý£¨±¸Íü£©

1.µãºÅ½ø¶ÈÏÔʾcode 1
#!/bin/sh
#Êä³ö"."½ø¶ÈÌõº¯Êý£¬¼æÈÝbsh¡¢ksh¡¢bash
#Ê×ÏÈtrap 1 2 3 15Ðźţ¬ÖØÒª
trap 'kill $BG_PID;echo;exit' 1 2 3 15
function dots
      {
      stty -echo >/dev/null 2>&1
      ......

linuxÍøÂç±à³Ì»ù±¾Á÷³Ì

1.        »ù±¾¸ÅÄî
 
˵µ½ÍøÂç±à³Ì,²»µÃ²»ÏÈÌáµ½OSI²Î¿¼Ä£ÐÍ,ÆäÆß²ãÄ£ÐÍ´Óϵ½ÉÏ·Ö±ðΪ
1.ÎïÀí²ã(Physical Layer,PH)
2.Êý¾ÝÁ´Â·²ã(Data Link Layer,DL)
3.ÍøÂç²ã(Network Layer,N)
4.ÔËÊä²ã(Transport Layer,T)
5.»á»°²ã(Session Layer,S)
6.±íʾ²ã(Presentation Layer, ......

Linux½ø³Ìµ÷¶Èʱ»ú


http://www.chineselinuxuniversity.net/articles/30602.shtml
Linux½ø³Ìµ÷¶È³ÌÐòËäÈ»
Ìرð
ÖØÒª
£¬µ«Ëü²»¹ýÊÇÒ»¸ö´æÔÚÓÚÄں˿ռäÖеĺ¯Êý¶øÒÑ£¬²¢²»ÉñÃØ¡£LinuxµÄµ÷¶È³ÌÐòÊÇÒ»¸ö½ÐSchedule£¨£©µÄº¯Êý£¬Õâ¸öº¯Êý±»µ÷ÓõÄƵÂʺܸߣ¬ÓÉËüÀ´¾ö¶¨ÊÇ·ñ
Òª½øÐнø³ÌµÄÇл»£¬Èç¹ûÒªÇл»µÄ»°£¬Çл»µ½Äĸö½ø³ÌµÈµÈ¡£ÎÒÃÇ
ÏÈÀ´ ......

ÔÚlinuxÖÐÉèÖö¨Ê±Æô¶¯³ÌÐò

  LinuxÖУ¬cron±»ÓÃÀ´µ÷¶ÈÖظ´µÄÈÎÎñ£¬linux atÃüÁî±»ÓÃÀ´ÔÚÖ¸¶¨Ê±¼äÄÚµ÷¶ÈÒ»´ÎÐÔµÄÈÎÎñ¡£
  ҪʹÓÃlinux atÃüÁÄã±ØÐë°²×°ÁËat RPMÈí¼þ°ü£¬²¢ÇÒ atd·þÎñ±ØÐëÔÚÔËÐС£
  ¿ÉÒÔʹÓÃÒ»ÏÂÃüÁîÆô¶¯atd·þÎñ£º
  [root@sso_4 sbin]# /sbin/service atd start
 
  ÒªÅж¨¸ÃÈí¼þ°üÊÇ·ñ±»°²×° ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ