Linux¸÷¸öĿ¼µÄ×÷ÓÃ
¸Õ¿ªÊ¼Ñ§Linux£¬¿´µ½ÄÇЩ·×·±¸´ÔÓµÄĿ¼ÕæÊǸоõÓеãÊÖ×ãÎ޴룬ÏÖÔÚ×ÜËãÖªµÀ×Ô¼ºµÄÈí¼þÓ¦¸Ã×°ÔÚ/usrĿ¼Ï£¬ºÇºÇ¡«¡«
ÏÂÃæÊǸ÷¸öĿ¼µÄ˵Ã÷£º
/bin
¸ÃĿ¼Öдæ·ÅLinuxµÄ³£ÓÃÃüÁÔÚÓеİ汾ÖÐÊÇһЩºÍ¸ùĿ¼ÏÂÏàͬµÄĿ¼¡£
/boot
¸ÃĿ¼Ï´æ·ÅµÄ¶¼ÊÇϵͳÆô¶¯Ê±ÒªÓõ½µÄ³ÌÐò£¬µ±ÓÃliloÒýµ¼Linuxʱ£¬»áÓõ½ÕâÀïµÄһЩÐÅÏ¢
/dev
¸ÃĿ¼°üº¬ÁËLinuxϵͳÖÐʹÓõÄËùÓÐÍⲿÉ豸£¬Ëüʵ¼ÊÉÏÊÇ·ÃÎÊÕâЩÍⲿÉ豸µÄ¶Ë¿Ú£¬Äã¿ÉÒÔ·ÃÎÊÕâЩÍⲿÉ豸£¬Óë·ÃÎÊÒ»¸öÎļþ»òÒ»¸öĿ¼ûÓÐÇø±ð¡£
/etc
¸ÃĿ¼´æ·ÅÁËϵͳ¹ÜÀíʱҪÓõ½µÄ¸÷ÖÖÅäÖÃÎļþºÍ×ÓĿ¼£¬ÀýÈçÍøÂçÅäÖÃÎļþ¡¢Îļþϵͳ¡¢XϵͳÅäÖÃÎļþ¡¢É豸ÅäÖÃÐÅÏ¢¡¢ÉèÖÃÓû§ÐÅÏ¢µÈ¡£
/sbin
¸ÃĿ¼ÓÃÀ´´æ·Åϵͳ¹ÜÀíÔ±µÄϵͳ¹ÜÀí³ÌÐò¡£
/home
Èç¹û½¨Á¢Ò»¸öÃûΪ“xx”µÄÓû§£¬ÄÇôÔÚ/homeĿ¼Ï¾ÍÓÐÒ»¸ö¶ÔÓ¦µÄ“/home/xx”·¾¶£¬ÓÃÀ´´æ·Å¸ÃÓû§µÄÖ÷Ŀ¼¡£
/lib
¸ÃĿ¼ÓÃÀ´´æ·Åϵͳ¶¯Ì¬Á¬½Ó¹²Ïí¿â£¬¼¸ºõËùÓеÄÓ¦ÓóÌÐò¶¼»áÓõ½¸ÃĿ¼ÏµĹ²Ïí¿â
/mnt
¸ÃĿ¼ÔÚÒ»°ãÇé¿öÏÂÒ²Êǿյģ¬Äã¿ÉÒÔÁÙʱ½«±ðµÄÎļþϵͳ¹ÒÔÚ¸ÃĿ¼Ï¡£ÀýÈç¹ÒÔØUÅÌ£º #mount /dev/sda1 /mnt
/root
Èç¹ûÄãÊÇÒÔ³¬¼¶Óû§µÄÉí·ÝµÇ¼µÄ£¬Õâ¸ö¾ÍÊdz¬¼¶Óû§µÄÖ÷Ŀ¼
/tmp
ÓÃÀ´´æ·Å²»Í¬³ÌÐòÖ´ÐÐʱ²úÉúµÄÁÙʱÎļþ
/usr
Óû§µÄºÜ¶àÓ¦ÓóÌÐòºÍÎļþ¶¼´æ·ÅÔÚ¸ÃĿ¼ÏÂ
Ïà¹ØÎĵµ£º
£¨L2CAPÐÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPÐÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼Á¬½Ó¿ØÖƺÍÊÊÅäÐÒé (L2CAP) ΪÉϲãÐÒéÌṩÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àÐÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãÐÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......
ÕâÁ½Ìì¸ÕÄõ½¿ª·¢°å£¬ÒªÅäÖÃLINIXÏÂÃæµÄµÄ±àÒë»·¾³¡£ÅäÖÃNFS·þÎñÆ÷ºÍTFTP,ÔÚÍíÉÏÓкܶàºÃÐĵÄÈË°Ñ×Ô¼ºÅäÖõĹý³Ì˵ÁËÒ»±é£¬µ«ÊÇÔÚʵ¼Ê²Ù×÷Öл¹ÊdzöÏֺܶàÎÊÌ⣬ÏÖÔÚ½«×Ô¼ºÕâÁ½ÌìµÄÅäÖùý³Ì×ܽáÈçÏ£¬Ï£Íû¶Ô´ó¼ÒÓÐËù°ïÖú£º
1¡¢NFS·þÎñ
1£©ÔÚ¿Í»§¶ËÖÐÊäÈësetup->Syst ......
¡¡Èç¹ûÄãµÄ·þÎñÆ÷apache»¹Ã»Óа²×°£¬ÄǺܼòµ¥£¬ÔÚ±àÒëapacheʱ½«mod_rewriteÄ£¿é±àÒë½øÈ¥¾Í¿ÉÒÔ£¬Ïà¹ØÎĵµ¿ÉÒÔÔÚhttp://man.ddvip.com/soft/apache2.2/misc/rewriteguide.html
ÖÐÕÒµ½¡£Èç¹ûÄãµÄapacheÒѾ°²×°ºÃÁË£¬ÏÖÔÚÖ»Ïë±àÒë³ömod_rewrite.soÄ£¿é£¬ÔÚapacheÖнøÐмÓÔØ£¬ÏÂÃæÎÒÃǾͽéÉÜÕâ¸ö·½·¨¡£
¡¡¡¡ÒÔFedora² ......
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("²»ÄܽøÈ ......
¶¨Ê±Ö´ÐÐcrontabʹÓ÷½·¨Ïê½â
¡¡¡¡Ê¹Ó÷½Ê½:
¡¡¡¡crontab [ -u user ] filecrontab [ -u user ] { -l | -r | -e }
¡¡¡¡ËµÃ÷:
¡¡¡¡crontab ÊÇÓÃÀ´ÈÃʹÓÃÕßÔڹ̶¨Ê±¼ä»ò¹Ì¶¨¼ä¸ôÖ´ÐгÌʽ֮ÓÃ,»»¾ä»°Ëµ,Ò²¾ÍÊÇÀàËÆʹÓÃÕßµÄʱ³Ì±í¡£-u user ÊÇÖ¸É趨ָ¶¨ user
µÄʱ³Ì±í,Õâ¸öÇ°ÌáÊÇÄã±ØÐëÒªÓÐÆäȨÏÞ(±ÈÈç˵ÊÇ root)²ÅÄ ......