当前位置: 技术问答>linux和unix
环境变量设置没问题,确实存在的目录,为什么会出现no such file or directory
来源: 互联网 发布时间:2017-04-16
本文导语: 本帖最后由 Chirive 于 2013-06-19 21:50:22 编辑 [chirive@localhost ~]$ $PATH bash: /usr/lib/qt-3.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/chirive/bin:/home/chirive/Download/Sublime: No such file or directory [chirive@localhost ~]$ cd /home/chirive...
[chirive@localhost ~]$ $PATH
bash: /usr/lib/qt-3.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/chirive/bin:/home/chirive/Download/Sublime: No such file or directory
[chirive@localhost ~]$ cd /home/chirive/Downloads/Sublime
[chirive@localhost Sublime]$ ls
Icon PackageSetup.py Pristine Packages sublime_plugin.py
lib PackageSetup.pyc sublime sublime_plugin.pyc
[chirive@localhost Sublime]$ sublime
bash: sublime: command not found
|
PATH=$PATH:/home/chirive/Downloads/Sublime:.
export PATH