Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB
ÈÈÃűêÇ©£º c c# c++ asp asp.net linux php jsp java vb Python Ruby mysql sql access Sqlite sqlserver delphi javascript Oracle ajax wap mssql html css flash flex dreamweaver xml
 ×îÐÂÎÄÕ : linux

linuxÖÐͬ²½ÓëÔ­×Ó²Ù×÷µÄÏà¹Ø֪ʶ±æÎö¡¾Çë½Ì¸ßÊÖ¡¿

    ÔÚlinuxÖеÄͬ²½²Ù×÷º¯Êý lll_lock()£¬lll_unlock()º¯ÊýÊÇÔÚÄÄÒ»²ãÌṩµÄ£¿
ÊÇÔÚÏ߳̿âÖУ¬»¹ÊÇÔÚuclibc/glibc,ÖÐÌṩµÄ½Ó¿Ú£¿
    ͬ²½²Ù×÷ΪʲôҪÓõ½Ô­×Ó²Ù×÷º¯Êý£¿ÊÇÐèÒªÓÃÔ­×Ó²Ù×÷º¯ÊýÈ¥¸Ä±ä¼ÆÊýÆ÷Âð£¿
Çë½Ìһϡ£

лл¥ÉϵĸçÃÇ£¬
    ÓиöÎÊÌ⣬lll_lock()/lll_ ......

linux×ÀÃæ½ø²»È¥ÁË£¬Ôõô°ì¡­¡­¡­¡­¡­¡­

ÔÚ×Ô¼ºµÄµçÄÔÉÏ°²×°ÁËubuntu ¾ÍÊÇÏëÍæÒ»ÏÂ3D×ÀÃ棬ÓÚÊÇÏÂÔØÁË 
compizconfig-settings-manager 
emerald 
simple-ccsm 
fusion 
ÕâЩ¶«Î÷£¬°²×°ÍêÖ®ºó£¬ÎÒÔÚµçÄÔÀïµã»÷ÁËemerald£¬ºÃÏñÊÇѯÎÊÊÇ·ñҪɾ³ý×ÀÃæͼ±ê£¬ÒòΪÊÇÓ¢ÎÄ£¬µ±Ê±Ò²Ã»ÓÐ×Ðϸ¿´£¬¾ÍËæ±ãµãÁËһϣ¬½á¹û·¢ÏÖÎÒ×ÀÃæͼ±ê¾Íû ......

RuntimeÀà»òÕßÓÐʲôÀà¿ÉÒÔÓëlinuxÃüÁî½»»¥

RT
ÔÚlinuxÏÂ
ÎÒÒª×÷һЩ²Ù×÷£¬ÀàËÆÓÚ
Runtime rt = Runtime.getRuntime();
Process p = rt.exec("/bin/su root");
È»ºó²Ù×÷pдÈëÃÜÂë
µ«rt.exec¾ÍÒ»Ö±×èÈûÁË£¬Ã»·¨·µ»Ø¡£

²»Öª»¹ÓÐʲôÆäËü·½·¨£¿


{{ ......

LinuxÏÂc++ÇóĿ¼´óС

ÏëÓá°du -sh¡±½áºÏ¡°popen£¨£©¡±ÇóĿ¼´óС£¬µ«ÕâÖÖ·½·¨Èç¹ûĿ¼ºÜ´óµÄ»°¾ÍºÜÈÝÒ׳ö´í£»
ÈôÓñéÀúÇóºÍµÄ»°ÓÖÂé·³¡£ÇëÎÊÓÐÆäËû·½·¨¿ÉÒÔ½â¾öÂ𣿶àл£¡£¡£¡
±éÀúÎļþ,ÀÛ¼ÓºÃÒ»µã°É,ËäÈ»Âé·³

°¥£¬ÄѵÀÕæûÓÐÆäËü·½·¨ÁË£¿£¡

ÄãÕâÀïĿ¼´óСָµÄÊǸÃĿ¼ÏÂËùÓÐÎļþ´óСÂð£¿
Ö»ÄܱéÀúĿ¼ÎļþµÝ¹é½øÐÐÀÛ¼Ó¼ÆËãÁË¡£ ......

linuxÃüÁÇó¸ßÊÖ

1. #./red5.h >a &

2.tail aºÍtail -f a ÓÐʲô²»Í¬

3.ÈçºÎ²éÕÒ/opt/red5 Ŀ¼ÏµÄËùÓÐjavaÔ´Îļþ

4£®find / -name ¡°h*¡± –exec rm –f {} \;
Õâ¾ä»°´ú±íʲôÒâ˼£¿

5£®tail –f abc|grep ¡°def¡±|grep ¡°ddd¡±|grep ¡°dddddddd¡±> c.log

6. man – ......

linuxÏÂDBUS·½·¨µ÷ÓõÄÎÊÌâ

´ó¼Ò¶¼ÖªµÀlinuxµÄÆÕͨÓû§²»ÄÜÖ±½Ó¹Ø»ú£¬ÎÒÏëд¸ö³ÌÐò£¬ÈóÌÐò²»ÌáȨ¾Í¿ÉÒԹػú£¬ÕÒ°¡ÕÒ°¡£¬×îºó·¢ÏÖÖ»ÄÜͨ¹ýDBUS·¢ËÍÇëÇó¸øÓÐȨÏ޵ijÌÐò£¬ÈÃËû°ïæ¹Ø»ú£¬ÓÚÊÇÎÒ¾ÍÔÚDBUSÖÐÕÒ£¬·¢ÏÖDBUSµÄsession busÖÐÓиöorg.freedesktop.PowerManagement£¬ÏÂÃæÓÖÓиö/org/freedesktop/PowerManagement£¬ÔÚËûÌṩµÄ½Ó¿ÚÀïÓиöShutdown·½· ......
×ܼǼÊý:1408; ×ÜÒ³Êý:235; ÿҳ6 Ìõ; Ê×Ò³ ÉÏÒ»Ò³ [135] [136] [137] [138] 139 [140] [141] [142] [143] [144]  ÏÂÒ»Ò³ βҳ
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ