【发布时间】:2012-04-20 19:00:37
【问题描述】:
嗨,我在远程设备上运行 linux angstrom 发行版,我将 .bash_profile 和 .bashrc 添加到 /home/root,因为它们不存在,我在其中写了这个
PATH=/opt/qt-arm/lib:$PATH
export PATH
但是现在当我登录到这个设备并输入 $PATH 时,我看不到新添加的路径...有什么想法吗??
【问题讨论】:
-
我找到了,不知何故我需要在 /home/root 中创建 .profile 并用上面的两行填充它。不知何故,Angstrom 需要 .profile 而不是 .bash_profile
标签: linux path environment-variables