ÔõÑù׼ȷʹÓÃLinuxµÄ¾ø¶Ô·¾¶ÓëÏà¶Ô·¾¶
ÔõÑù׼ȷʹÓÃLinuxµÄ¾ø¶Ô·¾¶ÓëÏà¶Ô·¾¶
Linux×÷ΪһÖÖ³£ÓõIJÙ×÷ϵͳ£¬ÆäÎļþϵͳµÄ·¾¶ÊÇÓû§²Ù×÷Öв»¿É»òȱµÄÒ»²¿·Ö¡£ÔÚLinuxϵͳÖУ¬±£´æÁ½ÖÖ³£ÓõÄ·¾¶ÌåÏÖ·½·¨£¬»®·ÖÊǾø¶Ô·¾¶ºÍÏà¶Ô·¾¶¡£×¼È·Ê¹Óþø¶Ô·¾¶ºÍÏà¶Ô·¾¶ÊÇÌá¸ßÊÂÇéЧÂʵÄÒªº¦£¬ÏÂÃ潫ÍŽáÏêϸ´úÂëʾÀýÀ´ÏÈÈÝÔõÑù׼ȷʹÓÃLinuxµÄ¾ø¶Ô·¾¶ÓëÏà¶Ô·¾¶¡£
Ò»¡¢¾ø¶Ô·¾¶
¾ø¶Ô·¾¶ÊÇÖ¸´Ó¸ùĿ¼×îÏÈÖ±µ½Îļþ»òĿ¼µÄÍêÕû·¾¶¡£ÔÚLinuxϵͳÖУ¬¸ùĿ¼һÑùƽ³£ÌåÏÖΪ¡°/¡±£¬¾ø¶Ô·¾¶Ò»Ñùƽ³£ÒÔ¸ùĿ¼¡°/¡±ÎªÆðʼ¡£¾ø¶Ô·¾¶µÄÓŵãÊǶ¨Î»×¼È·¡¢Ê¼ÖÕΨһ£¬²»»áÊÜÄ¿½ñÊÂÇéĿ¼µÄÓ°Ïì¡£½ÓÏÂÀ´£¬ÎÒÃÇͨ¹ýÒ»¸öÏêϸµÄʾÀýÀ´ÑÝʾÔõÑùʹÓþø¶Ô·¾¶¡£
¼ÙÉèÎÒÃÇÒª²éÕÒ²¢½øÈëÃûΪ¡°test¡±µÄĿ¼£¬Ê×ÏÈÎÒÃÇ¿ÉÒÔʹÓá°ls¡±ÏÂÁîÉó²éÄ¿½ñĿ¼ÏµÄÄÚÈÝ£º
ls
µÇ¼ºó¸´ÖÆ
È»ºóÎÒÃÇ¿ÉÒÔʹÓþø¶Ô·¾¶À´²éÕÒ²¢½øÈë¡°test¡±Ä¿Â¼£¬¼ÙÉè¡°test¡±Ä¿Â¼ÔÚ¸ùĿ¼µÄ×ÓĿ¼ÖУº
cd /root/test
µÇ¼ºó¸´ÖÆ
ͨ¹ýÉÏÊö´úÂëʾÀý£¬ÎÒÃÇÀֳɵØʹÓÃÁ˾ø¶Ô·¾¶À´½øÈëÄ¿µÄĿ¼¡£ÐèҪעÖصÄÊÇ£¬¾ø¶Ô·¾¶Öв»µ«°üÀ¨Ä¿Â¼µÄÃû³Æ£¬»¹¿ÉÄÜ°üÀ¨ÎļþµÄÍêÕû·¾¶ºÍÃû³Æ¡£
¶þ¡¢Ïà¶Ô·¾¶
Ïà¶Ô·¾¶ÊÇÏà¹ØÓÚÄ¿½ñÊÂÇéĿ¼µÄ·¾¶£¬Ïà¶Ô·¾¶²»ÒÔ¡°/¡±¿ªÍ·¡£Ïà¶Ô·¾¶µÄÀûÒæÊǾ«Á·¡¢Ò׼ǣ¬ÊʺÏÔÚͳһ¸öĿ¼Ï¾ÙÐвÙ×÷¡£½ÓÏÂÀ´£¬ÎÒÃÇͨ¹ýÒ»¸öÏêϸµÄʾÀýÀ´ÑÝʾÔõÑùʹÓÃÏà¶Ô·¾¶¡£
¼ÙÉèÎÒÃÇÔÚ¡°/root¡±Ä¿Â¼Ï£¬ÏëÒª½øÈë¡°test¡±Ä¿Â¼£¬ÎÒÃÇ¿ÉÒÔʹÓÃÏà¶Ô·¾¶£º
cd test
µÇ¼ºó¸´ÖÆ
ͨ¹ýÉÏÊö´úÂëʾÀý£¬ÎÒÃÇÀֳɵØʹÓÃÁËÏà¶Ô·¾¶À´½øÈëÄ¿µÄĿ¼¡£ÐèҪעÖصÄÊÇ£¬Ïà¶Ô·¾¶ÊÇÏà¹ØÓÚÄ¿½ñÊÂÇéĿ¼µÄ£¬ÒÔÊÇÔÚ²î±ðµÄÊÂÇéĿ¼Ï£¬Ïà¶Ô·¾¶¿ÉÄÜ»áÓвî±ðµÄ¼ÄÒå¡£
×ܽá
׼ȷʹÓÃLinuxµÄ¾ø¶Ô·¾¶ºÍÏà¶Ô·¾¶ÊÇÌá¸ßÊÂÇéЧÂʵÄÒªº¦¡£ÔÚÏÖʵÊÂÇéÖУ¬Æ¾Ö¤²î±ðÇéÐÎÑ¡ÔñºÏÊʵÄ·¾¶ÌåÏÖ·½·¨£¬Äܹ»Ô½·¢¸ßЧµØÖÎÀíºÍ²Ù×÷ÎļþºÍĿ¼¡£Ï£Íûͨ¹ý±¾ÎĵÄÏÈÈÝ£¬¶ÁÕßÄܹ»×¼È·Ã÷È·²¢ÎÞаÔËÓÃLinuxµÄ¾ø¶Ô·¾¶ÓëÏà¶Ô·¾¶¡£
ÒÔÉϾÍÊÇÔõÑù׼ȷʹÓÃLinuxµÄ¾ø¶Ô·¾¶ÓëÏà¶Ô·¾¶µÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡