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

linux³£ÓÃÏÂÁîexportÊÇʲôÒâ˼

export ÏÂÁîÔÚÄ¿½ñ shell ¼°Æä×Ó shell ÖÐÉèÖûòÐÞ¸ÄÇéÐαäÁ¿£¬Ê¹ÆäËûÀú³ÌºÍ¾ç±¾¿ÉÒÔ»á¼ûÖ¸¶¨µÄ±äÁ¿¼°ÆäÖµ¡£

export ÏÂÁîµÄ¼ÄÒå

export ÏÂÁîÓÃÓÚÔÚÄ¿½ñ shell ¼°ÆäËùÓÐ×Ó shell ÖÐÉèÖûòÐÞ¸ÄÇéÐαäÁ¿¡£Ëü½«Ö¸¶¨µÄ±äÁ¿¼°ÆäÖµÌí¼Óµ½ÇéÐÎÖУ¬ÒÔ±ãÆäËûÀú³ÌºÍ¾ç±¾¶¼¿ÉÒÔ»á¼û¡£

ʹÓÃÓï·¨

export ±äÁ¿Ãû=±äÁ¿Öµ

µÇ¼ºó¸´ÖÆ

Ïêϸ˵Ã÷

ÉèÖÃÇéÐαäÁ¿£ºÈôÊDz»Ö¸¶¨±äÁ¿Öµ£¬export ÏÂÁî»á½«±äÁ¿ÃûÉèÖÃΪÆäÄ¿½ñÖµ¡£

ÐÞ¸ÄÇéÐαäÁ¿£ºÈôÊDZäÁ¿ÒѾ­±£´æ£¬export ÏÂÁî»á¸üÐÂÆäÖµ¡£

×÷ÓÃÓò£ºexport ÏÂÁîÖ»ÔÚÄ¿½ñ shell ¼°Æä×Ó shell ÖÐÉúЧ¡£ÒªÊ¹±äÁ¿ÔÚËùÓÐ shell ÖпÉÓã¬ÐèÒªÔÚÿ¸ö shell Öл®·ÖʹÓà export ÏÂÁî¡£

ʾÀý

ÒÔÏÂʾÀý½« PATH ±äÁ¿µÄÖµÌí¼Óµ½ÇéÐÎÖУº

export PATH=/usr/local/bin:$PATH

µÇ¼ºó¸´ÖÆ

ÏÖÔÚ£¬ËùÓÐ×Ó shell ºÍÀú³Ì¶¼¿ÉÒÔ»á¼û¸üкóµÄ PATH ±äÁ¿¡£

×¢ÖØ

export ÏÂÁî²»»áÐ޸ĸ¸ shell ÖеıäÁ¿Öµ¡£

ÈôÊDZäÁ¿Öµ°üÀ¨¿Õ¸ñ£¬ÐèÒªÓÃÒýºÅ½«ÆäÒýÆðÀ´£ºexport VAR=”value with spaces”

ijЩ±äÁ¿£¨Èç HOME ºÍ SHELL£©ÓÉϵͳ×Ô¶¯ÉèÖ㬲»Ó¦Ê¹Óà export ÏÂÁîÐ޸ġ£

ÒÔÉϾÍÊÇlinux³£ÓÃÏÂÁîexportÊÇʲôÒâ˼µÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡

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

Ïà¹ØÐÂÎÅ

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

18523999891

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

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

QR code
ÍøÕ¾µØͼ