LinuxµÄȨÏÞ
Ò»¸öÓû§¡¢Ò»¸ö×é
ÎÒÃÇÀ´¿´Ò»¿´ LinuxȨÏÞºÍËùÓÐȨģÐÍ¡£ÎÒÃÇÒѾ¿´µ½Ã¿¸öÎļþÊôÓÚÒ»¸öÓû§ºÍÒ»¸ö×é¡£ÕâÕýÊÇLinux ÖÐȨÏÞÄ£Ð͵ĺËÐÄ¡£Äú¿ÉÒÔÔÚ ls -lÇåµ¥Öв鿴Óû§ºÍ×飺
$ ls -l /bin/bash
-rwxr-xr-x 1 root wheel 430540 Dec 23 18:27 /bin/bash
ÔÚÕâ¸öÌØÊâµÄʾÀýÖУ¬/bin/bash ¿ÉÖ´ÐÐÎļþÊôÓÚroot Óû§£¬²¢ÇÒÔÚwheel ×éÖС£LinuxȨÏÞÄ£ÐÍͨ¹ýÔÊÐí¸øÿ¸öÎļþϵͳ¶ÔÏóÉèÖÃÈýÖÖ¶ÀÁ¢µÄȨÏÞ¼¶±ðÀ´¹¤×÷ —ËüÃÇΪÎļþµÄËùÓÐÕß¡¢ÎļþµÄ×éÒÔ¼°ËùÓÐÆäËûÓû§¡£
Àí½â¡°ls -l¡±
ÎÒÃÇÀ´¿´Ò»¿´ÎÒÃÇµÄ ls -lÊä³ö£¬¼ì²éÒ»ÏÂÕâ¸öÇåµ¥µÄµÚÒ»À¸£º
$ ls -l /bin/bash
-rwxr-xr-x 1 root wheel 430540 Dec 23 18:27 /bin/bash
µÚÒ»¸ö×ֶΠ-rwxr-xr-x°üº¬¸ÃÌØÊâÎļþµÄȨÏ޵ķûºÅ±íʾ¡£¸Ã×Ö¶ÎÖеÄÊ××Ö·û£¨-£©Ö¸¶¨¸ÃÎļþµÄÀàÐÍ£¬±¾ÀýÖÐËüÊÇÒ»¸ö³£¹æÎļþ¡£ÆäËü¿ÉÄܵÄÊ××Ö·û»¹ÓУº
¡°d¡±Ä¿Â¼
¡°l¡±·ûºÅÁ´½Ó
¡°c¡±×Ö·ûרÃÅÉ豸Îļþ
¡°b¡±¿éרÃÅÉ豸Îļþ
¡°p¡±ÏȽøÏȳö
¡°s¡±Ì×½Ó×Ö
Èý¸öÈýÔª×é
$ ls -l /bin/bash
-rwxr-xr-x 1 root wheel 430540 Dec 23 18:27 /bin/bash
¸Ã×ֶεÄÆäÓಿ·ÖÓÉÈý¸öÈýÔª×é×Ö·û×é³É¡£µÚÒ»¸öÈýÔª×Ö·û×é´ú±íÎļþËùÓÐÕßµÄȨÏÞ£¬µÚ¶þ¸ö´ú±íÎļþµÄ×éµÄȨÏÞ£¬µÚÈý¸ö´ú±íËùÓÐÆäËûÓû§µÄȨÏÞ£º
"rwx"
"r-x"
"r-x"
ÉÏÃ棬r±íʾÔÊÐí¶Á£¨²é¿´ÎļþÖеÄÊý¾Ý£©£¬w±íʾÔÊÐíд£¨ÐÞ¸ÄÎļþÒÔ¼°É¾³ý£©£¬x±íʾÔÊÐí¡°Ö´ÐС±£¨ÔËÐгÌÐò£©¡£½«ËùÓÐÕâЩÐÅÏ¢·ÅÔÚÒ»Æð£¬ÎÒÃÇ¿ÉÒÔ·¢ÏÖÿ¸öÈ˶¼Äܹ»¶Á¸ÃÎļþµÄÄÚÈݺÍÖ´ÐиÃÎļþ£¬µ«ÊÇÖ»ÔÊÐíÎļþËùÓÐÕߣ¨rootÓû§£©¿ÉÒÔÒÔÈκη½Ê½Ð޸ĸÃÎļþ¡£Òò´Ë£¬ËäȻһ°ãÓû§¿ÉÒÔ¸´ÖƸÃÎļþ£¬µ«ÊÇÖ»ÔÊÐíroot Óû§¸üлòɾ³ýËü¡£
ÎÒÊÇË£¿
ÔÚÎÒÃÇ¿´ÔõÑù¸Ä±äÎļþµÄÓû§ËùÓÐȨºÍ×éËùÓÐȨ֮ǰ£¬ÎÒÃÇÊ×ÏÈÀ´¿´Ò»¿´ÔõÑùµÃÖªÄúµ±Ç°µÄÓû§±êʶºÍ×é³ÉÔ±×ʸñ¡£³ý·Ç×î½üÄúʹÓùý su ÃüÁ·ñÔòÄúµ±Ç°µÄÓû§±êʶÊÇÄúÓÃÀ´µÇ¼ϵͳµÄÓû§±êʶ¡£µ«ÊÇ£¬Èç¹ûÄú¾³£Ê¹Óà su£¬Äú¿ÉÄܲ»¼ÇµÃÄúµ±Ç°ÓÐЧµÄÓû§±êʶ¡£Òª²é¿´Óû§±êʶ£¬ÊäÈë whoami£º
# whoami
root
# su drobbins
$ whoami
drobbins
ÎÒÔÚÄÄÒ»×飿
Òª¿´¿´ÄúÊôÓÚÄÄÒ»×飬ʹÓà group ÃüÁ
$ groups
drobbins wheel audio
ÔÚÉÏÃæµÄʾÀýÖУ¬ÎÒÊÇdrobbins¡¢wheel ºÍ audio×éµÄ³ÉÔ±¡£Èç¹ûÄúÏë¿´¿´ÆäËûÓû§ÔÚʲô×飬ָ¶¨ËûÃǵÄÓû§Ãû×÷Ϊ²ÎÊý£º
$ groups root daemon
root : root bin daemon sys adm disk wheel floppy
Ïà¹ØÎĵµ£º
Service Discovery Protocol(SDP)ÌṩһÖÖÄÜÁ¦£¬ÈÃÓ¦ÓóÌÐòÓз½·¨·¢ÏÖÄÄÖÖ·þÎñ¿ÉÓÃÒÔ¼°ÕâÖÖ·þÎñµÄÌØÐÔ¡£
·þÎñ·¢ÏÖÐÒé(SDP»òBluetooth SDP)ÔÚÀ¶ÑÀÐÒéÕ»ÖжÔÀ¶ÑÀ»·¾³ÖеÄÓ¦ÓóÌÐòÓÐÌØÊâµÄº¬Ò⣬·¢ÏÖÄĸö·þÎñÊÇ¿ÉÓõĺÍÈ·¶¨ÕâЩ¿ÉÓ÷þÎñµÄÌØÕ÷¡£SDP¶¨ÒåÁËbluetooth client·¢ÏÖ¿ÉÓÃbluetooth server·þÎñºÍËüÃǵÄÌØÕ÷µÄ·½·¨¡£ ......
ÔÎÄ£ºhttp://www.cnitblog.com/201/archive/2009/08/20/60887.html
ÊìϤʹÓÃifconfig »á·Ç³£·½±ã¡£¡¡
¡¡ifconfig eth0 ÐÂip
¡¡¡¡È»ºó±à¼/etc/sysconfig/network-scripts/ifcfg-eth0£¬ÐÞ¸Äip
¡¡¡¡Ò»¡¢ÐÞ¸ÄIPµØÖ·
¡¡¡¡[aeolus@db1 network-scripts]$ vi ifcfg-eth0
¡¡¡¡DEVICE=eth0
¡¡¡¡ONBOOT=yes
¡¡¡¡BOOTPROTO=s ......
Ò»¡¢Ê²Ã´ÊÇtelnet
TelnetµÄÓ¦Óò»½ö·½±ãÁËÎÒÃǽøÐÐÔ¶³ÌµÇ¼£¬Ò²¸øhackerÃÇÌṩÁËÓÖÒ»ÖÖÈëÇÖÊֶκͺóÃÅ£¬µ«ÎÞÂÛÈçºÎ£¬ÔÚÄ㾡ÇéÏíÊÜTelnetËù´ø¸øÄãµÄ±ã½ÝµÄͬʱ£¬ÄãÊÇ·ñÕæÕýµÄÁ˽âTelnetÄØ£¿¡¡¡¡
¡¡¡¡¶þ Ô¶³ÌµÇ¼¡¡¡¡
¡¡¡¡Telnet·þÎñËäȻҲÊôÓÚ¿Í»§»ú/·þÎñÆ÷Ä£Ð͵ķþÎñ£¬µ«Ëü¸ü´óµÄÒâÒåÔ ......
ÎÒÓõÄÊÇCentos5.4 DVD¹âÅÌ°²×°µÄlinux²Ù×÷ϵͳ£¬°²×°linuxµÄʱºòÑ¡ÉÏ¿ª·¢¹¤¾ß£¬Xmanager,ÓëÊý¾Ý¿âÏà¹ØµÄ°ü¡£
²Ù×÷ϵͳ°²×°Íê³ÉÖ®ºóÐèÒª½øÐÐһϵÁеÄÅäÖòÅÄÜ°²×°oracle10g£¬ÏÂÃæ°ÑÖ÷Òª²½Öè¼Ç¼ÏÂÀ´¡£
1.°²×°Íê²Ù×÷ϵͳ֮ºó»¹ÊÇÓÐЩ°üûÓа²×°£¬È»¶ø°²×°oracle10gµÄʱºòÐèÒªÓõ½£¬Ã»Óа²×°µÄ°üÓÐ:
libXp-1.0.0-8.i386.rp ......
ÕýÔò±í´ïʽ(regular expression)
[code:1]ÕýÔò±í´ïʽ(regular expression)
--------------------------------------------------------------------------------
¹Ø¼ü×Ö£º ÕýÔò±í´ïʽ£¬Regular Expression
ÔÖø£ºÐ¦ÈÝ
´´×÷ÓÚ£º2004Äê05ÔÂ03ÈÕ
×îºó¸üУº2004Äê05ÔÂ04ÈÕ 21:12
°æȨÉùÃ÷£ºÊ¹Óô´×÷¹«ÓðæȨÐÒ ......