ÔõÑùÉó²éÄ¿½ñËùÔÚµÄĿ¼£¿
ÔÚLinuxϵͳÖУ¬ÒªÏÔʾĿ½ñËùÔÚµÄĿ¼£¬¿ÉÒÔʹÓÃpwdÏÂÁî¡£pwdÊÇprint working directoryµÄËõд£¬ÓÃÓÚÏÔʾĿ½ñÊÂÇéĿ¼µÄÍêÕû·¾¶¡£
ÏÂÃæÊÇÏêϸµÄ´úÂëʾÀý£º
·¿ªÖնˣ¨Terminal£©»òÕßÏÂÁîÐнçÃæ¡£
ÊäÈëÒÔÏÂÏÂÁ
pwd
µÇ¼ºó¸´ÖÆ
°´Ï»سµ¼üºó£¬Öն˻áÏÔʾĿ½ñËùÔÚĿ¼µÄÍêÕû·¾¶£¬ÀýÈ磺
/home/user/Documents
µÇ¼ºó¸´ÖÆ
Õâ¾ÍÌåÏÖÄ¿½ñËùÔÚĿ¼ÊÇ¡°/home/user/Documents¡±¡£
ͨ¹ýpwdÏÂÁÓû§¿ÉÒÔËæʱÉó²é×Ô¼ºÄ¿½ñËùÔÚµÄĿ¼λÖã¬Àû±ã¾ÙÐÐÎļþ²Ù×÷»òÕß¾ÙÐÐÆäËû²Ù×÷¡£
ÒÔÉϾÍÊÇÔõÑùÉó²éÄ¿½ñËùÔÚµÄĿ¼£¿µÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡
ÃâÔð˵Ã÷£ºÒÔÉÏչʾÄÚÈÝȪԴÓÚÏàÖúýÌå¡¢ÆóÒµ»ú¹¹¡¢ÍøÓÑÌṩ»òÍøÂçÍøÂçÕûÀí£¬°æȨÕùÒéÓë±¾Õ¾Î޹أ¬ÎÄÕÂÉæ¼°¿´·¨Óë¿´·¨²»´ú±í×ðÁú¿Ê±ÂËÓÍ»úÍø¹Ù·½Ì¬¶È£¬Çë¶ÁÕß½ö×ö²Î¿¼¡£±¾ÎĽӴýתÔØ£¬×ªÔØÇë˵Ã÷À´ÓÉ¡£ÈôÄúÒÔΪ±¾ÎÄÇÖÕ¼ÁËÄúµÄ°æȨÐÅÏ¢£¬»òÄú·¢Ã÷¸ÃÄÚÈÝÓÐÈκÎÉæ¼°ÓÐÎ¥¹«µÂ¡¢Ã°·¸Ö´·¨µÈÎ¥·¨ÐÅÏ¢£¬ÇëÄúÁ¬Ã¦ÁªÏµ×ðÁú¿Ê±ÊµÊ±ÐÞÕý»òɾ³ý¡£