Linux Óû§£¨user£©ºÍÓû§×飨group£©¹ÜÀí¸ÅÊö
Ò»¡¢Àí½âLinuxµÄµ¥Óû§¶àÈÎÎñ£¬¶àÓû§¶àÈÎÎñ¸ÅÄ
Linux ÊÇÒ»¸ö¶àÓû§¡¢¶àÈÎÎñµÄ²Ù×÷ϵͳ£»ÎÒÃÇÓ¦¸ÃÁ˽ⵥÓû§¶àÈÎÎñºÍ¶àÓû§¶àÈÎÎñµÄ¸ÅÄ
1¡¢Linux µÄµ¥Óû§¶àÈÎÎñ£»
µ¥Óû§¶àÈÎÎñ£»±ÈÈçÎÒÃÇÒÔbeinan µÇ¼ϵͳ£¬½øÈëϵͳºó£¬ÎÒÒª´ò¿ªgedit À´Ð´Îĵµ£¬µ«ÔÚдÎĵµµÄ¹ý³ÌÖУ¬ÎҸоõÉÙµãÒôÀÖ£¬ËùÒÔÓÖ´ò¿ªxmms À´µãÒôÀÖ£»µ±È»ÌýµãÒôÀÖ»¹²»ÐУ¬MSN »¹µÃ´ò¿ª£¬ÏëÖªµÀ¼¸¸öµÜÐÖÏÖÔÚÕýÔÚ×öʲô£¬ÕâÑùÒ»Ñù£¬ÎÒÔÚÓÃbeinan Óû§µÇ¼ʱ£¬Ö´ÐÐÁËgedit ¡¢xmmsÒÔ¼°msnµÈ£¬µ±È»»¹ÓÐÊäÈë·¨fcitx £»ÕâÑù˵À´¾ÍÓеã¼òµ¥ÁË£¬Ò»¸öbeinanÓû§£¬ÎªÁËÍê³É¹¤×÷£¬Ö´ÐÐÁ˼¸¸öÈÎÎñ£»µ±È»beinanÕâ¸öÓû§£¬ÆäËüµÄÈË»¹ÄÜÒÔÔ¶³ÌµÇ¼¹ýÀ´£¬Ò²ÄÜ×öÆäËüµÄ¹¤×÷¡£
2¡¢Linux µÄ¶àÓû§¡¢¶àÈÎÎñ£»
ÓÐʱ¿ÉÄÜÊǺܶàÓû§Í¬Ê±ÓÃͬһ¸öϵͳ£¬µ«²¢²»ËùÓеÄÓû§¶¼Ò»¶¨¶¼Òª×öͬһ¼þÊ£¬ËùÒÔÕâ¾ÍÓжàÓû§¶àÈÎÎñ֮˵£»
¾Ù¸öÀý×Ó£¬±ÈÈçLinuxSir.Org ·þÎñÆ÷£¬ÉÏÃæÓÐFTP Óû§¡¢ÏµÍ³¹ÜÀíÔ±¡¢web Óû§¡¢³£¹æÆÕͨÓû§µÈ£¬ÔÚͬһʱ¿Ì£¬¿ÉÄÜÓеĵÜÐÖÕýÔÚ·ÃÎÊÂÛ̳£»ÓеĿÉÄÜÔÚÉÏ´«Èí¼þ°ü¹ÜÀí×ÓÕ¾£¬±ÈÈçluma »òYuking ÐÖÔÚ¹ÜÀíËûÃǵÄÖ÷ҳϵͳºÍFTP £»ÔÚÓë´Ëͬʱ£¬¿ÉÄÜ»¹»áÓÐϵͳ¹ÜÀíÔ±ÔÚά»¤ÏµÍ³£»ä¯ÀÀÖ÷Ò³µÄÓõÄÊÇnobody Óû§£¬´ó¼Ò¶¼ÓÃͬһ¸ö£¬¶øÉÏ´«Èí¼þ°üÓõÄÊÇFTPÓû§£»¹ÜÀíÔ±µÄ¶ÔϵͳµÄά»¤»ò²é¿´£¬¿ÉÄÜÓõÄÊÇÆÕͨÕʺŻò³¬¼¶È¨ÏÞrootÕʺţ»²»Í¬Óû§Ëù¾ßÓеÄȨÏÞÒ²²»Í¬£¬ÒªÍê³É²»Í¬µÄÈÎÎñµÃÐèÒª²»Í¬µÄÓû§£¬Ò²¿ÉÒÔ˵²»Í¬µÄÓû§£¬¿ÉÄÜÍê³ÉµÄ¹¤×÷Ò²²»Ò»Ñù£»
ÖµµÃ×¢ÒâµÄÊÇ£º¶àÓû§¶àÈÎÎñ²¢²»ÊÇ´ó¼Òͬʱ¼·µ½Ò»½ÓÔÚһ̨»úÆ÷µÄµÄ¼üÅ̺ÍÏÔʾÆ÷Ç°À´²Ù×÷»úÆ÷£¬¶àÓû§¿ÉÄÜͨ¹ýÔ¶³ÌµÇ¼À´½øÐУ¬±ÈÈç¶Ô·þÎñÆ÷µÄÔ¶³Ì¿ØÖÆ£¬Ö»ÒªÓÐÓû§È¨ÏÞÈκÎÈ˶¼ÊÇ¿ÉÒÔÉÏÈ¥²Ù×÷»ò·ÃÎʵģ»
3¡¢Óû§µÄ½ÇÉ«Çø·Ö£»
Óû§ÔÚϵͳÖÐÊÇ·Ö½ÇÉ«µÄ£¬ÔÚLinux ϵͳÖУ¬ÓÉÓÚ½ÇÉ«²»Í¬£¬È¨ÏÞºÍËùÍê³ÉµÄÈÎÎñÒ²²»Í¬£»ÖµµÃ×¢ÒâµÄÊÇÓû§µÄ½ÇÉ«ÊÇͨ¹ýUIDºÍʶ±ðµÄ£¬ÌرðÊÇUID£»ÔÚϵͳ¹ÜÀíÖУ¬ÏµÍ³¹ÜÀíÔ±Ò»¶¨Òª¼áÊØUID ΨһµÄÌØÐÔ£»
root Óû§£ºÏµÍ³Î¨Ò»£¬ÊÇÕæʵµÄ£¬¿ÉÒԵǼϵͳ£¬¿ÉÒÔ²Ù×÷ϵͳÈκÎÎļþºÍÃüÁӵÓÐ×î¸ßȨÏÞ£»
ÐéÄâÓû§£ºÕâÀàÓû§Ò²±»³Æ֮ΪαÓû§»ò¼ÙÓû§£¬ÓëÕæʵÓû§Çø·Ö¿ªÀ´£¬ÕâÀàÓû§²»¾ßÓеǼϵͳµÄÄÜÁ¦£¬µ«È´ÊÇϵͳÔËÐв»¿ÉȱÉÙµÄÓû§£¬±ÈÈçbin¡¢daemon¡¢adm¡¢ftp¡¢mailµÈ£»ÕâÀàÓû§¶¼ÏµÍ³×ÔÉíÓµÓеģ¬¶ø·ÇºóÀ´Ìí¼ÓµÄ£¬µ±È»ÎÒÃÇÒ²¿ÉÒÔÌí¼ÓÐéÄâÓû§£»
ÆÕͨÕæʵÓû§£ºÕâÀàÓû§ÄܵǼϵͳ£¬µ«Ö»ÄܲÙ×÷×Ô¼º¼ÒĿ¼µÄÄÚÈÝ£»È¨ÏÞÓÐÏÞ£
Ïà¹ØÎĵµ£º
ÀýÒ»£º·¢ËÍSignaling Packet£º
Signaling CommandÊÇ2¸öBluetoothʵÌåÖ®¼äµÄL2CAP²ãÃüÁî´«Êä¡£ËùÒÔµÃSignaling CommandʹÓÃCID 0x0001.
¶à¸öCommand¿ÉÒÔÔÚÒ»¸öC-frame£¨control frame£©Öз¢ËÍ¡£
Èç¹ûÒªÖ±½Ó·¢ËÍSignaling Command.ÐèÒª½¨Á¢SOCK_RAWÀàÐ͵ÄL2CAPÁ¬½ÓSocket¡£ÕâÑù²ÅÓлú»á×Ô¼ºÌî³äCommand Code£¬Identi ......
Service Discovery Protocol(SDP)ÌṩһÖÖÄÜÁ¦£¬ÈÃÓ¦ÓóÌÐòÓз½·¨·¢ÏÖÄÄÖÖ·þÎñ¿ÉÓÃÒÔ¼°ÕâÖÖ·þÎñµÄÌØÐÔ¡£
·þÎñ·¢ÏÖÐÒé(SDP»òBluetooth SDP)ÔÚÀ¶ÑÀÐÒéÕ»ÖжÔÀ¶ÑÀ»·¾³ÖеÄÓ¦ÓóÌÐòÓÐÌØÊâµÄº¬Ò⣬·¢ÏÖÄĸö·þÎñÊÇ¿ÉÓõĺÍÈ·¶¨ÕâЩ¿ÉÓ÷þÎñµÄÌØÕ÷¡£SDP¶¨ÒåÁËbluetooth client·¢ÏÖ¿ÉÓÃbluetooth server·þÎñºÍËüÃǵÄÌØÕ÷µÄ·½·¨¡£ ......
1) linuxĿ¼¼Ü¹¹
/ ¸ùĿ¼
/bin ³£ÓõÄÃüÁî
binary file µÄÄ¿錄
/boot ´æ·ÅϵͳÆô¶¯Ê±±ØÐë¶ÁÈ¡µÄµµ°¸£¬°üÀ¨ºËÐÄ
(kernel) ÔÚÄÚ
/boot/grub/menu.lst GRUBÉèÖÃ
/boot/vmlinuz ÄÚºË
  ......
Linux°²×°JDKÏêϸ²½ÖèÄؽ«ÏòÄã½éÉÜLinux°²×°JDKµÄÿһ¸öϸ½Ú£¬Õâ¶ÔÓÚ³ÌÐò¿ª·¢³õѧÕßÊÇÊ®·ÖÓаïÖúµÄ¡£
Linux°²×°JDK²½Öè1. ÏÈ´ÓÍøÉÏÏÂÔØjdk(jdk-1_5_0_02-linux-i586.rpm) £¬ÍƼöSUNµÄ¹Ù·½ÍøÕ¾www.sun.com£¬ÏÂÔغó·ÅÔÚ/homeĿ¼ÖУ¬µ±È»ÆäËüµØ·½Ò²ÐС£
½øÈ밲װĿ¼
#cd /home
#cp jdk-1_5_0_02-linux-i586.rpm /usr/l ......
ת×Ô£ºhttp://roclinux.cn/?p=1288#more-1288
½ñÌìµÄÄÚÈÝÊÇLinuxµÄwcÃüÁÕâ¸öÃû×ֺܺüǣ¬ÒòΪʲô£¬ÄãÒ²ÖªµÀ¡£
Õâ¸öÃüÁîµÄ¹¦ÄÜÒ²ºÜºÃ¼Ç£¬ÒòΪËü¹¦ÄܺÜÓÐÏÞ£º
wc -c filename£ºÏÔʾһ¸öÎļþµÄ×Ö½ÚÊý
wc -m filename£ºÏÔʾһ¸öÎļþµÄ×Ö·ûÊý
wc -l filename£ºÏÔʾһ¸öÎļþµÄÐÐÊý
wc -L filename£ºÏÔʾһ¸öÎļþÖеÄ×î³ ......