[已解决]环境变量设置好了 但是不能成功运行程序
发表于 : 2008-04-07 21:09
如题
path中已经有 /usr/games 但csmash不能运行
每次必须
csmash才能运行的
谁知道为什么,指教下
代码: 全选
***@ubuntu-PC:~$ echo $PATH
”/home/anny/bin:/bin:/usr/bin:/usr/lib/jvm/java-6-sun-1.6.0.00/bin:/usr/local/bin:/usr/games”
***@ubuntu-PC:~$ csmash
Command 'csmash' is available in '/usr/games/csmash'
The command could not be located because '/usr/games' is not included in the PATH environment variable bash: csmash: command not found.
每次必须
代码: 全选
***@ubuntu-PC:~$ export PATH=”$PATH:/usr/games
谁知道为什么,指教下