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

LinuxÏÂscpµÄÓ÷¨


scp¾ÍÊÇsecure copy£¬Ò»¸öÔÚlinuxÏÂÓÃÀ´½øÐÐÔ¶³Ì¿½±´ÎļþµÄÃüÁî¡£
ÓÐʱÎÒÃÇÐèÒª»ñµÃÔ¶³Ì·þÎñÆ÷ÉϵÄij¸öÎļþ£¬¸Ã·þÎñÆ÷¼ÈûÓÐÅäÖÃftp·þÎñÆ÷£¬Ò²Ã»ÓÐ×ö¹²Ïí£¬ÎÞ·¨Í¨¹ý³£¹æÍ¾¾¶»ñµÃÎļþʱ£¬Ö»ÐèҪͨ¹ý¼òµ¥µÄscpÃüÁî±ã¿É´ïµ½Ä¿µÄ¡£
Ò»¡¢½«±¾»úÎļþ¸´ÖƵ½Ô¶³Ì·þÎñÆ÷ÉÏ
#scp /home/administrator/news.txt root@192.168.6.129:/etc/squid
/home/administrator/      ±¾µØÎļþµÄ¾ø¶Ô·¾¶
news.txt                          Òª¸´ÖƵ½·þÎñÆ÷Éϵı¾µØÎļþ
root                                 ͨ¹ýrootÓû§µÇ¼µ½Ô¶³Ì·þÎñÆ÷£¨Ò²¿ÉÒÔʹÓÃÆäËûÓµÓÐͬµÈȨÏÞµÄÓû§£©
192.168.6.129                Ô¶³Ì·þÎñÆ÷µÄipµØÖ·£¨Ò²¿ÉÒÔʹÓÃÓòÃû»ò»úÆ÷Ãû£©
/etc/squid                       ½«±¾µØÎļþ¸´ÖƵ½Î»ÓÚÔ¶³Ì·þÎñÆ÷ÉϵÄ·¾¶
Èçͼͨ¹ýrootÓû§µÇ¼Զ³Ì·þÎñÆ÷£¬ÊäÈëyes±íʾͬÒ⽨Á¢sshÁ¬½Ó
°´ÌáʾÊäÈërootÓû§µÄÃÜÂë
ÈçͼËùʾ½¨Á¢Á¬½Óºó¿ªÊ¼´«ÊäÎļþ£¬ÏÔʾ°Ù·Ö±È¡¢Êµ¼Êʱ¼äºÍ´«ËÍËٶȵÈÐÅÏ¢
¶þ¡¢½«Ô¶³Ì·þÎñÆ÷ÉϵÄÎļþ¸´ÖƵ½±¾»ú
#scp remote@www.abc.com:/usr/local/sin.sh /home/administrator
remote                       ͨ¹ýremoteÓû§µÇ¼µ½Ô¶³Ì·þÎñÆ÷£¨Ò²¿ÉÒÔʹÓÃÆäËûÓµÓÐͬµÈȨÏÞµÄÓû§£©
www.abc.com              Ô¶³Ì·þÎñÆ÷µÄÓòÃû£¨µ±È»Ò²¿ÉÒÔʹÓø÷þÎñÆ÷ipµØÖ·£©
/usr/local/sin.sh           Óû¸´ÖƵ½±¾»úµÄλÓÚÔ¶³Ì·þÎñÆ÷ÉϵÄÎļþ
/home/administrator  ½«Ô¶³ÌÎļþ¸´ÖƵ½±¾µØµÄ¾ø¶Ô·¾¶
×¢ÒâÁ½µã£º
1.Èç¹ûÔ¶³Ì·þÎñÆ÷·À»ðǽÓÐÌØÊâÏÞÖÆ£¬scp±ãÒª×ßÌ


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì£¨Èý£© HCI²ã±à³Ì

1. HCI²ãЭÒé¸ÅÊö£º
HCIÌṩһÌ×ͳһµÄ·½·¨À´·ÃÎÊBluetoothµ×²ã¡£ÈçͼËùʾ£º
´ÓͼÉÏ¿ÉÒÔ¿´³ö£¬Host Controller Interface(HCI)  ¾ÍÊÇÓÃÀ´¹µÍ¨HostºÍModule¡£Hostͨ³£¾ÍÊÇPC£¬ ModuleÔòÊÇÒÔ¸÷ÖÖÎïÀíÁ¬½ÓÐÎʽ£¨USB,serial,pc-cardµÈ£©Á¬½Óµ½PCÉϵÄbluetooth Dongle¡£
ÔÚHostÕâÒ»¶Ë£ºapplication,SDP,L2capµÈЭÒé ......

ʵսLinux Bluetooth±à³Ì (Æß) SDPЭÒé

Service Discovery Protocol(SDP)ÌṩһÖÖÄÜÁ¦£¬ÈÃÓ¦ÓóÌÐòÓз½·¨·¢ÏÖÄÄÖÖ·þÎñ¿ÉÓÃÒÔ¼°ÕâÖÖ·þÎñµÄÌØÐÔ¡£
·þÎñ·¢ÏÖЭÒé(SDP»òBluetooth SDP)ÔÚÀ¶ÑÀЭÒéÕ»ÖжÔÀ¶ÑÀ»·¾³ÖеÄÓ¦ÓóÌÐòÓÐÌØÊâµÄº¬Ò⣬·¢ÏÖÄĸö·þÎñÊÇ¿ÉÓõĺÍÈ·¶¨ÕâЩ¿ÉÓ÷þÎñµÄÌØÕ÷¡£SDP¶¨ÒåÁËbluetooth client·¢ÏÖ¿ÉÓÃbluetooth server·þÎñºÍËüÃǵÄÌØÕ÷µÄ·½·¨¡£ ......

linux Ö® ifconfig ÃüÁ

Ò»°ãÔÚlinuxÏÂ²é¿´ÍøÂçÅäÖÿÉÒÔʹÓÃifconfigÃüÁ¿ÉÒÔÏÔʾµ±Ç°Íø¿¨µÄ»ù±¾ÅäÖÃÐÅÏ¢¡£
ÖÕ¶ËÊäÈëifconfig »á³öÏÖÒ»ÏÂÄÚÈÝ£º
eth0
Link encap:Ethernet HWaddr 00:0C:29:0C:4B:0F
inet addr:192.168.37.128 Bcast:192.168.37.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:33 er ......

ͨ¹ýxmanagerÔ¶³ÌÁ¬½Óredhat linux as 5

rhel5Óërhel4²»Í¬µÄµØ·½ÊÇ£¬rhel5ÀïûÓÐ/etc/X11/gdm/Õâ¸öĿ¼£¬rhel5µÄgdmµÄÅäÖÃÎļþ·ÅÔÚÕâÀï/usr/share/gdm/defaults.conf¡£
ÐèÒªÐ޸ĵĵط½ÈçÏ£º
ÐÞ¸Ä/usr/share/gdm/defaults.confÎļþ£¬È·±£ÀïÃæÓÐÒÔϼ¸ÐУº
Enable=true
DisplaysPerHost=10
Port=177
ÔÙÐÞ¸Ä/etc/inittabÎļþ£¬°ÑĬÈϼ¶±ð¸ÄΪ5,ÔÙ¼ÓÈëÒÔÏÂÐ ......

Anatomy of the Linux slab allocator

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 ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ