一句话mac操作

在mac里添加环境变量,可以更改系统的/etc/profile,或者更改用户的.bash-profile.推荐后者。
在Terminal下执行echo命令:(以添加Derby_home为例来添加derby的环境变量,其中xxx为路径)
echo ‘export DERBY_HOME=xxx$DERBY_HOME’ >> ~/.bash_profile
或者直接用vi更改也可以

This entry was posted on Thursday, March 18th, 2010 at 7:43 pm and is filed under MAC . You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.

Comments are closed.

  • English Version

    • Cannot read Chinese? Please take a look at my English site, hope you can find more you need there!
  • 感谢支持

  • twitter

    facebook

    linkedin

  • Categories