我正在尝试将几个目录添加到我的路径中,以便该目录中的文件及其子目录可供我从跨会话的命令提示符使用。
export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/username/OpenFOAM/OpenFOAM-2.1.0/etc/bashrc:/usr/share/texmf-texlive/tex/latex:/etc/crontab:/home/username/Research/Dissertation/wigner/ic/L=lambda:/home/username/Research/Dissertation/wigner/ic/L=2lambda:/home/username/Research/Dissertation/wigner/ic/L=3lambda:/home/username/Research/Dissertation/wigner/ic
追加以下内容
/home/username/Research/Dissertation/wigner/ic/L=lambda:/home/username/Research/Dissertation/wigner/ic/L=2lambda:/home/username/Research/Dissertation/wigner/ic/L=3lambda:/home/username/Research/Dissertation/wigner/ic
到export PATH
我的生产线.bashrc
并采购它并没有帮助。我究竟做错了什么?当我尝试从 say 访问文件时/home/username/Research/Dissertation/wigner/ic
,我不能。
我在这里阅读了一些帖子,但它们并没有真正帮助。我是否缺少冒号、分号、美元符号?