在路径中添加〜/bin目录 [英] adding ~/bin directory in your path
本文介绍了在路径中添加〜/bin目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要在您的路径中添加〜/bin目录.
I need to add ~/bin directory in your path.
但是我不确定实际的命令是什么,我知道它在我的.bash_profile中
But I am not sure what the actual command for this is, I know it goes in my .bash_profile
有人知道吗,或者是有关如何在新的Mac(UNIX)上为终端设置新的.bash_profile的教程
Does anyone know this, or a tutorial on how to set up a new .bash_profile for a terminal on a new mac (UNIX)
推荐答案
将此添加到.bash_profile:
Add this to .bash_profile:
export PATH ="$ PATH":〜/bin
如果您没有.bash_profile,则只需创建它即可.
If you don't have a .bash_profile, just create it.
这篇关于在路径中添加〜/bin目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文