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

¡¾×ª¡¿LinuxÓû§£¨User£©ºÍÓû§×é¹ÜÀí¸ÅÊö

±¾ÎÄÖ÷Òª½²ÊöÔÚLinux ϵͳÖÐÓû§(user)ºÍÓû§×é(group)¹ÜÀíÏàÓ¦µÄ¸ÅÄÓû§(user)ºÍÓû§×é(group)Ïà¹ØÃüÁîµÄÁо٣»ÆäÖÐÒ²¶Ôµ¥Óû§¶àÈÎÎñ£¬¶àÓû§¶àÈÎÎñÒ²×öÒÔ½â˵£¬±¾ÎÄÓ¦¸Ã˵ÊDZȽϻù´¡µÄÎĵµ¡£
Ò»¡¢Àí½â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 Óû§£ºÏµÍ³Î¨Ò»£¬ÊÇÕæʵµÄ£¬¿ÉÒԵǼϵͳ£¬¿ÉÒÔ²Ù×÷ϵͳÈκÎÎļþºÍÃüÁӵÓÐ×î¸ßȨÏÞ£»
ÐéÄâÓû§£ºÕâÀàÓû§Ò²±»³Æ֮ΪαÓû§»ò¼ÙÓû§£¬ÓëÕæʵÓû§Çø·Ö¿ªÀ´£¬ÕâÀàÓû§²»¾ßÓеǼϵͳµÄÄÜÁ¦£¬µ«È´ÊÇϵͳÔËÐв»¿ÉȱÉÙµÄÓû§£¬±È


Ïà¹ØÎĵµ£º

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

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

[תÌû]LinuxÇý¶¯¿ª·¢Ñ§Ï°µÄһЩ±ØÒª²½Öè

 1. ѧ»áд¼òµ¥µÄmakefile
2. ±àһЩӦÓÃ
³ÌÐò
£¬¿ÉÒÔÓÃmakefileÅÜÆðÀ´
3. ѧ»áдÇý¶¯
µÄmakefile
4. дһ¼òµ¥charÇý¶¯£¬makefile±àÒëͨ¹ý£¬¿ÉÒÔinsmod£¬ lsmod£¬ rmmod. ÔÚÇý¶¯µÄinitº¯ÊýÀï´òÓ¡hello world£¬insmodºóÓ¦¸ÃÄܹ»Í¨¹ýdmesg¿´µ½Êä³ö
¡£
5. дһÍêÕûÇý¶¯£¬ ¼ÓÉÏread£¬ write£¬ ioctl£¬ pollingµÈ¸ ......

LinuxÃüÁî du

ת×Ô£ºhttp://www.cnblogs.com/hopeworld/archive/2009/08/07/1541444.html
 Í³¼Æ×ÜÊý´óС
    du -sh xmldb/
    du -sm * | sort -n //ͳ¼Æµ±Ç°Ä¿Â¼´óС ²¢°²´óС ÅÅÐò
    du -sk * | sort -n
    du -sk * | grep guojf //¿´Ò»¸öÈ˵ĴóС
&nb ......

linux gccÓ÷¨¼°²ÎÊý˵Ã÷

 1¡¢linux gcc°üº¬µÄc/c++±àÒëÆ÷
¡¡¡¡gcc¡¢cc¡¢c++¡¢g++£º
¡¡¡¡gccºÍccÊÇÒ»ÑùµÄ£¬c++ºÍg++ÊÇÒ»ÑùµÄ£¬Ò»°ãc³ÌÐò¾ÍÓÃgcc±àÒ룬c++³ÌÐò¾ÍÓÃg++±àÒë
2¡¢linux gccµÄ»ù±¾Ó÷¨
¡¡¡¡gcc test.cÕâÑù½«±àÒë³öÒ»¸öÃûΪa.outµÄ³ÌÐògcc test.c -o testÕâÑù½«±àÒë³öÒ»¸öÃûΪtestµÄ³ÌÐò
¡¡¡¡-o²ÎÊýÓÃÀ´Ö¸¶¨Éú³É³ÌÐòµÄÃû×Ö
3¡¢Î ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ