×ðÁú¿­Ê±

linuxÊÂÇé·¾¶ÔÚÄÇÀï

linux¿ÉÒÔͨ¹ý¡°pwd¡±ÏÂÁîÀ´Éó²éÄ¿½ñËùÔÚµÄĿ¼·¾¶£¬ÏàʶĿ½ñÊÂÇé·¾¶µÄÒâÒåºÍÓô¦ÈçÏ£º1¡¢×ÊÖúÖ´ÐÐÌض¨µÄÏÂÁ2¡¢½¨ÉèÎļþ/Ŀ¼£»2¡¢Ô½·¢Àû±ãµØä¯ÀÀÎļþϵͳ¡£

±¾½Ì³Ì²Ù×÷ϵͳ£ºLinux5.18.14ϵͳ¡¢Dell G3µçÄÔ¡£

ÔÚ Linux ÖУ¬Ä¿½ñÊÂÇé·¾¶£¨Current Working Directory£©Í¨³£³ÆΪ`pwd`£¬¿ÉÒÔͨ¹ý `pwd` ÏÂÁîÀ´Éó²é¡£´ËÏÂÁÊä³öÄúÄ¿½ñËùÔÚµÄĿ¼·¾¶¡£

ÔÚLinuxÖУ¬Äú¿ÉÒÔʹÓÃ`cd`ÏÂÁî¸ü¸ÄÄ¿½ñÊÂÇéĿ¼¡£ÀýÈ磬ÈôÊÇÄúÏ£Íû½øÈë `/home/user/Documents` Ŀ¼£¬Ôò¿ÉÒÔʹÓÃÒÔÏÂÏÂÁ

```
cd /home/user/Documents
```

µÇ¼ºó¸´ÖÆ

Õ⽫¸ü¸ÄÊÂÇéĿ¼²¢Ê¹Æä³ÉΪĿ½ñĿ¼¡£

ÔÚLinuxÖУ¬ÊÂÇé·¾¶Ö¸µÄÊÇÄ¿½ñÏÂÁîÐлỰËù´¦µÄĿ¼¡£ÏàʶĿ½ñÊÂÇé·¾¶µÄÒâÒåºÍÓô¦ÈçÏ£º

Ö´ÐÐÏÂÁµ±ÄãÔÚÖÕ¶ËÖÐÊäÈëij¸öÏÂÁîʱ£¬ÈôÊÇûÓÐÖ¸¶¨ËüµÄÍêÕû·¾¶£¨Èç/user/bin/ls£©£¬ÄÇô¾ÍÐèҪȷ±£ÄãÄ¿½ñ´¦ÓÚ¸ÃÏÂÁîËùÔÚĿ¼»òÕßÔÚ $PATH ÇéÐαäÁ¿°üÀ¨µÄĿ¼֮һÖС£Òò´Ë£¬ÖªµÀÄ¿½ñµÄÊÂÇé·¾¶¿ÉÒÔ×ÊÖúÄãÖ´ÐÐÌض¨µÄÏÂÁî¡£

½¨ÉèÎļþ/Ŀ¼£ºÈôÊÇÄãÍýÏ뽨ÉèÎļþ»òĿ¼£¬¶øûÓÐÖ¸¶¨ÍêÕûµÄ·¾¶£¬ÄÇô¸ÃÎļþ»òĿ¼»á½¨ÉèÔÚÄ¿½ñµÄÊÂÇé·¾¶Ï¡£

ä¯ÀÀÎļþϵͳ£ºÏàʶĿ½ñÊÂÇé·¾¶»¹ÄÜÈÃÄãÔ½·¢Àû±ãµØä¯ÀÀÎļþϵͳ£¡Äã¿ÉÒÔͨ¹ýÖ¸Áî¡°cd /¡±À´Ç°Íù¸ùĿ¼£¬È»ºóͨ¹ýͨÀýµÄLinuxÏÂÁÀýÈç¡°ls¡±£©À´Éó²éϵͳÖб£´æÄÄЩÎļþ¼ÐºÍÎļþ¡£

±ÜÃâÏÂÁî¹ýʧ£º×îÖ÷ÒªµÄÊÇ£¬¼ì²éÊÂÇé·¾¶¿ÉÒÔ±ÜÃâÄã×ö³öÖÂÃüµÄÊäÈë¹ýʧ£»ÀýÈ磬ÔÚɾ³ýÎļþʱ£¬ÈôÊÇÒâÍ⽫ÊÂÇé·¾¶ÉèÖÃΪ¡°/¡±£¬ÔòËùÓÐÎļþ¶¼½«±»³¹µ×ɾ³ý¡£

×ÛÉÏ£¬ÖªµÀÄ¿½ñµÄÊÂÇé·¾¶ÊÇʹÓà Linux ÏÂÁî¼°²Ù×÷µÄÐëÒª×é³É²¿·Ö¡£

ÒÔÉϾÍÊÇlinuxÊÂÇé·¾¶ÔÚÄÇÀïµÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡

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

Ïà¹ØÐÂÎÅ

ÁªÏµ×ðÁú¿­Ê±

13452372176

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

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

QR code
¡¾ÍøÕ¾µØͼ¡¿¡¾sitemap¡¿