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

linux command


< id="MediaPlayerObject" style="visibility: hidden;" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" width="0" height="0" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701">
 1. ´´½¨Ä¿Â¼
     mkdir
     NO1. ÔÚµ±Ç°Â·¾¶´´½¨Ò»¼¶Ä¿Â¼
          [root@rehat root]# mkdir test
     NO2. ÔÚµ±Ç°Â·¾¶´´½¨¶à¼¶Ä¿Â¼
          [root@rehat root]# mkdir -p mytest/test1/test1_1
     NO3. ÔÚ´´½¨Ä¿Â¼µÄͬʱ¸øн¨µÄĿ¼¸³È¨ÏÞ
          [root@rehat root]# mkdir -m 777 testmod
          ÕâÑùÈκÎÈ˶ԴËĿ¼¶¼ÓÐÈκÎȨÏÞ
     2. ¸´ÖÆÎļþÓëÎļþ¼Ð
     cp
     NO1. ¸´ÖÆÖ¸¶¨Ä¿Â¼µÄÎļþµ½µ±Ç°Ä¿Â¼£¬²¢ÖØÃüÃû
          [root@rehat root]# cp ~/.bashrc bashrc_bak
     NO2. Ç¿ÖƸ´ÖÆÖ¸¶¨Ä¿Â¼µÄÎļþµ½µ±Ç°Ä¿Â¼£¬¶ø²»¹Üµ±Ç°Ä¿Â¼ÊÇ·ñº¬ÓиÃÎļþ
          [root@rehat root]# cp -f ~/.bashrc bashrc
     NO2. ¸´ÖÆÖ¸¶¨Ä¿Â¼µ½µ±Ç°Ä¿Â¼
          [root@rehat root]# cp -r /root/test .
          [root@rehat root]# cp -r /root/test/ .
          Á½ÕßЧ¹ûÒ»Ñù£¬ÔÚ¸´ÖÆĿ¼ʱ£¬»á½«Ô´Â·¾¶µÄ×îºóÒ»¼¶Ä¿Â¼È«²¿¸´ÖƹýÈ¥£¬°üÀ¨Ëü±¾Éí¡£
     NO3. ¸´ÖÆÖ¸¶¨Ä¿Â¼µÄÎļþµ½Ö¸¶¨Ä¿Â¼
          [root@rehat root]# cp ~/.bashrc /bak/.bashrc
     NO4. ÔÚ¸´ÖÆʱ½«Ô´ÎļþµÄÈ«²¿ÊôÐÔÒ²¸´ÖƹýÀ´¡£Èô²»Ö¸¶¨²ÎÊý£¬ÔòÄ¿±êÎļþÓëÔ´ÎļþÊôÐÔ¿ÉÄܲ»Ò»Ö¡£
          [root@rehat root]# cp


Ïà¹ØÎĵµ£º

ʵÏÖLinuxË«»úÎļþͬ²½rsync

rsync ÓÐʲôͻ³öÓŵãÄØ£¿Ê×ÏÈ£¬Ëü±»Éè¼Æ³ÉÖ»´«ËÍÎļþµÄ²»Í¬²¿·Ö£¬¶ø·Ç´«ËÍÕû¸öÎļþ£¬ÒÔ¼ÓËÙÎļþ´«Êä¡£±ÈÈ磬ÎÒÕýÔÚд×÷±¾ÎÄ£¬ÄÇÎҾͿÉÒÔÏÖÔÚʹÓÃ
rsync ¸´ÖÆÒ»´Î£¬¶øÖ®ºóÔÙ½øÐÐÒ»´Î´«Êä¡£µÚ¶þ´Î£¨µÚÈý´Î¡¢µÚËÄ´Î……£©¸¸×ÓÎļþµÄʱºò£¬rsync
Ö»´«ËÍÎļþµÄ²»Í¬²¿·Ö¡£Õ⽫¼«´óµØ½Úʡʱ¼ä£¬ÌرðÊÇÔÚÈÕ³£±¸·ÝµÄ¹ ......

linux tinyxml±éÀú

·½·¨Ò»¡¢
bool ReadElemnt(string& szFileName)
{
 TiXmlDocument myDocument(szFileName);   
  bool loadOkay = myDocument.LoadFile();
  if(loadOkay == false)
   return false;
 TiXmlElement *rootElement = myDocument.RootElement();
 if(rootEle ......

linux С¼¼ÇÉ

linux С¼¼ÇÉ
Ç°ÑÔ£ºÒòΪÓÃLinuxµÄʱ¼äÔ½À´Ô½³¤£¬ËùÐèÒª×öµÄÊÂÒ²Ô½À´Ô½¶à£¬Ð§ÂʳÉÁËÎÒ±ØÐèÍ»ÆƵÄÆ¿¾±¡£ÔÚ´Ë×ܽáÒ»ÏÂÕâ¶Îʱ¼äÓùýµÄһЩºÃµÄLinux¼¼ÇÉ¡£ÒÔºóʱ³£²¹³äÕâÑù×Ô¼ºÒªÓõÄʱºò¾ÍºÜ·½±ãÁË¡£ Author:Ajian[Îı¾´¦Àí]1¡¢ ...
Ç°ÑÔ£ºÒòΪÓÃLinuxµÄʱ¼äÔ½À´Ô½³¤£¬ËùÐèÒª×öµÄÊÂÒ²Ô½À´Ô½¶à£¬Ð§ÂʳÉÁËÎÒ±ØÐèÍ»ÆƵÄÆ¿¾±¡£ ......

linux tinyxml²åÈë½Úµã

bool InstertNode(string& szFileName)
{
 
  TiXmlDocument myDocument(szFileName);   
   bool loadOkay = myDocument.LoadFile();
   if(loadOkay == false)
    return false;
   //»ñµÃ¸ùÔªËØ
  TiXmlElement *r ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ