½â¾ölinuxϲ»ÄÜɾ³ýÂÒÂëÎļþµÄ±¿·½·¨
1.Ò»´Î¿ª»ú£¬ÓôÃÆ£¬·¢ÏÖ~Ŀ¼ÏÂÓÐÒ»¸ö³¤ÎļþÃûµÄÂÒÂëÎļþ£¬Ôõôɾ¶¼É¾²»µô£¬Ä¿Â¼Ò²²»ÄÜɾ¡£×îºóÏëÁËÒ»¸ö±¿·½·¨É¾µôÁË
ÏÈÔÚ¸ÃĿ¼ÏÂmkdir zz È»ºó mv *.* zz OK£¬È»ºórm -rf zzÎļþ¼Ð¾ÍÐÐÁË¡£ºÇºÇ
Ïà¹ØÎĵµ£º
1. HCI²ãÐÒé¸ÅÊö£º
HCIÌṩһÌ×ͳһµÄ·½·¨À´·ÃÎÊBluetoothµ×²ã¡£ÈçͼËùʾ£º
´ÓͼÉÏ¿ÉÒÔ¿´³ö£¬Host Controller Interface(HCI) ¾ÍÊÇÓÃÀ´¹µÍ¨HostºÍModule¡£Hostͨ³£¾ÍÊÇPC£¬ ModuleÔòÊÇÒÔ¸÷ÖÖÎïÀíÁ¬½ÓÐÎʽ£¨USB,serial,pc-cardµÈ£©Á¬½Óµ½PCÉϵÄbluetooth Dongle¡£
ÔÚHostÕâÒ»¶Ë£ºapplication,SDP,L2capµÈÐÒé ......
ÒýÓÃhttp://www.icanwen.cn/article.asp?id=13
Ò».¶Ôlinux¼ì²âµÄÁ½ÖÖ·½·¨£º
ssh:(check_by_ssh):±ÈÓÃnrpe²å¼þ¸ü°²È«£¬µ«»á·Ç³£Õ¼Óüà¿ØÖ÷»úºÍÔ¶³ÌÖ÷»úµÄCPU,ÌرðÊÇÔÚ±»¼à¿ØÉ豸ÊýÁ¿¶àµÄʱºò£¬Çé¿ö»á¸üÔã¡£
nrpe:Ï൱ÓÚÖм̳ÌÐò£¬×°ÔÚ±»¼à¿ØµÄunix/linuxϵͳÉÏ¡£Ïà¶ÔÓÚssh ,nrpeÕ¼ÓøüÉÙµÄϵͳ×ÊÔ´¡£ËùÒÔnrpe±»´ó²¿·ÖÍøÂç ......
ʲôÊÇSocket
¡¡¡¡Socket½Ó¿ÚÊÇTCP/IPÍøÂçµÄAPI£¬Socket½Ó¿Ú¶¨ÒåÁËÐí¶àº¯Êý»òÀý³Ì£¬³ÌÐòÔ±¿ÉÒÔÓÃËüÃÇÀ´¿ª·¢TCP/IPÍøÂçÉϵÄÓ¦ÓóÌÐò¡£ÒªÑ§InternetÉϵÄTCP/IPÍøÂç±à³Ì£¬±ØÐëÀí½âSocket½Ó¿Ú¡£
¡¡¡¡Socket½Ó¿ÚÉè¼ÆÕß×îÏÈÊǽ«½Ó¿Ú·ÅÔÚUnix²Ù×÷ϵͳÀïÃæµÄ¡£Èç¹ûÁ˽âUnixϵͳµÄÊäÈëºÍÊä³öµÄ»°£¬¾ÍºÜÈÝÒ×Á˽âSocketÁË¡£Í ......
errno
ÊǸöint±äÁ¿£¬·µ»Ø´íÎó
ÓдíÎóʱʹÓ÷½·¨
fprintf(fp, "%s", strerror(errno))
perrorÓ÷¨
#include <stdio.h>
#include <stdlib.h>
#include<errno.h>
int main(void)
{
FILE *fp;
if((fp=fopen("aaa.txt","r+"))==NULL)
{
puts("²»ÄܽøÈ ......
LinuxϵͳʡÂÔÊäÈëÓû§ÃûÃÜÂë(×Ö·û½çÃæÏ£©
1¡¢Ê¡ÂÔÃÜÂëÑéÖ¤
ºÜ¼òµ¥£¬Ö»Ðè°Ñ/etc/passwdÖеÄroot:x:0:0:root:/root:/bin/bash£¬¸ÄΪroot::0:0:root:/root:/bin/bash£¬¾Í¿ÉÒÔÁË£¬¾ÍÊÇÈ¥µôÁËÀïÃæµÄx£¬ÕâÑùrootÓû§¾Í²»ÓÃÃÜÂëÁË¡£ÆäËûÓû§Ò²Ò»Ñù¡£
2¡¢Ê¡ÂÔÊäÈëÓû§Ãû
(1)ÐÞ¸Ä/etc/inittab
ÔÚinittabÖУ¬ÓÐÈçÏÂÅä ......