×ðÁú¿­Ê±¹ÙÍøµÇ¼

linuxÔõôÐÞ¸ÄÎļþÃû

linuxÐÞ¸ÄÎļþÃûµÄ°ì·¨£º1¡¢·­¿ªlinuxϵͳµÄÖն˴°¿Ú £»2¡¢Ê¹Óá°cd¡±ÏÂÁîÀÍÆÈ´»µ½ÐèÒªÐÞ¸ÄÎļþÃûµÄÎļþËùÔÚµÄĿ¼ £»3¡¢Ê¹Óá°ls¡±ÏÂÁîÀ´Éó²éÄ¿½ñĿ¼ÖеÄÎļþÁбí £»4¡¢Ê¹Óá°mv¡±ÏÂÁîÀ´ÐÞ¸ÄÎļþÃû £»5¡¢Ê¹Óá°ls¡±ÏÂÁîÔÙ´ÎÉó²éĿ¼ÖеÄÎļþÁбí £¬¿ÉÒÔ¼ì²éÎļþÃûÊÇ·ñÒÑÀֳɸü¸Ä¡£

ÔÚLinux²Ù×÷ϵͳÖÐ £¬ÈôÊÇÓû§ÐèÒªÐÞ¸ÄÎļþÃû £¬¿ÉÒÔͨ¹ýÒÔÏ°취À´Íê³É¡£ÕâЩ°ì·¨¼È¿ÉÒÔÔÚÏÂÁîÐнçÃæÖÐʹÓà £¬Ò²¿ÉÒÔÔÚͼÐνçÃæÖÐʹÓᣱ¾ÎĽ«ÏÈÈÝÔÚÏÂÁîÐнçÃæÖÐÐÞ¸ÄÎļþÃûµÄÒªÁì¡£

°ì·¨Ò»£º·­¿ªÖÕ¶Ë

ÒªÐÞ¸ÄÎļþÃû £¬ÐèÒªÊ×ÏÈ·­¿ªLinuxϵͳµÄÖն˴°¿Ú¡£Í¨³£ £¬Ôڲ˵¥À¸»òʹÃüÀ¸ÖпÉÒÔÕÒµ½ÖÕ¶ËÓ¦ÓóÌÐòµÄͼ±ê¡£µã»÷ͼ±ê¼´¿É·­¿ªÖն˽çÃæ¡£

°ì·¨¶þ£ºÇл»µ½ÎļþËùÔÚµÄĿ¼

ʹÓÃ`cd`ÏÂÁîÀÍÆÈ´»µ½ÐèÒªÐÞ¸ÄÎļþÃûµÄÎļþËùÔÚµÄĿ¼¡£ÀýÈç £¬ÈôÊÇÒªÐÞ¸üÃûΪ`old_name.txt`µÄÎļþÃû £¬¸ÃÎļþλÓÚ`/home/user/documents`Ŀ¼Ï £¬¿ÉÒÔʹÓÃÒÔÏÂÏÂÁ

cd /home/user/documents

µÇ¼ºó¸´ÖÆ

°ì·¨Èý£ºÉó²éÎļþÏà¹ØÐÅÏ¢

ʹÓÃ`ls`ÏÂÁîÀ´Éó²éÄ¿½ñĿ¼ÖеÄÎļþÁбí¡£Õ⽫×ÊÖúÄúÈ·¶¨Òª¸ü¸üÃû³ÆµÄÎļþ¼òÖ±ÇÐÃû³Æ¡£ÀýÈç £¬¿ÉÒÔʹÓÃÒÔÏÂÏÂÁîÀ´Éó²éĿ¼ÖеÄÎļþÁÐ±í£º

ls

µÇ¼ºó¸´ÖÆ

°ì·¨ËÄ£ºÐÞ¸ÄÎļþÃû

ʹÓÃ`mv`ÏÂÁîÀ´ÐÞ¸ÄÎļþÃû¡£`mv`ÏÂÁîÓÃÓÚÒƶ¯»òÖØÃüÃûÎļþºÍĿ¼¡£ÒÔÏÂÊÇʹÓÃ`mv`ÏÂÁîÀ´ÐÞ¸ÄÎļþÃûµÄÓï·¨£º

mv [¾ÉÎļþÃû] [ÐÂÎļþÃû]

µÇ¼ºó¸´ÖÆ

ÀýÈç £¬Òª½«ÎļþÃû`old_name.txt`ÐÞ¸ÄΪ`new_name.txt` £¬¿ÉÒÔʹÓÃÒÔÏÂÏÂÁ

mv old_name.txt new_name.txt

µÇ¼ºó¸´ÖÆ

°ì·¨Î壺ȷÈÏÎļþÃûÐÞ¸ÄÀÖ³É

ʹÓÃ`ls`ÏÂÁîÔÙ´ÎÉó²éĿ¼ÖеÄÎļþÁбí £¬¿ÉÒÔ¼ì²éÎļþÃûÊÇ·ñÒÑÀֳɸü¸Ä¡£ÈôÊÇÎļþÃû¸ü¸ÄÀÖ³É £¬Äú½«ÔÚÁбíÖп´µ½ÐµÄÎļþÃû¡£

×¢ÖØÊÂÏ

– ÇëÈ·±£ÊäÈëµÄÎļþÃû׼ȷÎÞÎó¡£ÈôÊÇÎļþÃûÖаüÀ¨¿Õ¸ñ»òÌØÊâ×Ö·û £¬½¨ÒéʹÓÃÒýºÅ½«ÎļþÃûÀ¨ÆðÀ´ £¬ÀýÈç`”file name.txt”`¡£

– Ä¿½ñĿ¼ÏµÄÎļþÃûÊÇÇø·Ö¾ÞϸдµÄ¡£Òò´Ë £¬ÇëÈ·±£ÔÚÐÂÎļþÃûÖÐʹÓÃ׼ȷµÄ¾Þϸд¡£

×ÛÉÏËùÊö £¬Í¨¹ý·­¿ªÖÕ¶Ë £¬Çл»µ½ÎļþËùÔÚµÄĿ¼ £¬Ê¹ÓÃ`mv`ÏÂÁîÐÞ¸ÄÎļþÃû £¬È»ºóÔÙ´ÎÉó²éÎļþÁбí £¬¼´¿ÉÀÖ³ÉÐÞ¸ÄLinuxϵͳÖеÄÎļþÃû¡£ÕâЩ°ì·¨¿ÉÒÔ×ÊÖúÓû§¿ìËÙÇáËɵØÍê³ÉÎļþÃûµÄÐÞ¸ÄÊÂÇé¡£

ÒÔÉϾÍÊÇlinuxÔõôÐÞ¸ÄÎļþÃûµÄÏêϸÄÚÈÝ £¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡

ÃâÔð˵Ã÷£ºÒÔÉÏչʾÄÚÈÝȪԴÓÚÏàÖúýÌå¡¢ÆóÒµ»ú¹¹¡¢ÍøÓÑÌṩ»òÍøÂçÍøÂçÕûÀí £¬°æȨÕùÒéÓë±¾Õ¾ÎÞ¹Ø £¬ÎÄÕÂÉæ¼°¿´·¨Óë¿´·¨²»´ú±í×ðÁú¿­Ê±¹ÙÍøµÇ¼ÂËÓÍ»úÍø¹Ù·½Ì¬¶È £¬Çë¶ÁÕß½ö×ö²Î¿¼¡£±¾ÎĽӴýתÔØ £¬×ªÔØÇë˵Ã÷À´ÓÉ¡£ÈôÄúÒÔΪ±¾ÎÄÇÖÕ¼ÁËÄúµÄ°æȨÐÅÏ¢ £¬»òÄú·¢Ã÷¸ÃÄÚÈÝÓÐÈκÎÉæ¼°ÓÐÎ¥¹«µÂ¡¢Ã°·¸Ö´·¨µÈÎ¥·¨ÐÅÏ¢ £¬ÇëÄúÁ¬Ã¦ÁªÏµ×ðÁú¿­Ê±¹ÙÍøµÇ¼ʵʱÐÞÕý»òɾ³ý¡£

Ïà¹ØÐÂÎÅ

ÁªÏµ×ðÁú¿­Ê±¹ÙÍøµÇ¼

18523999891

¿É΢ÐÅÔÚÏß×Éѯ

ÊÂÇéʱ¼ä£ºÖÜÒ»ÖÁÖÜÎå £¬9:30-18:30 £¬½ÚãåÈÕÐÝÏ¢

QR code
ÍøÕ¾µØͼ