bash - commands not working after editing bashrc file -


i need install programming software called cuda academic purpose. googling how install , found these , have done that.

cd ~/downloads sudo ./cudatoolkit_3.2.16_linux_32_ubuntu10.04.run  gedit ~/.bashrc 

add following entries

export cuda_install_path=/usr/local/cuda export path=$cuda_install_path/bin 

save , exit. run on bash.

source ~/.bashrc 

now command not working saying command not located because '/bin' not included in path environment variable.

i not understand new this. can please me.

you needed preserve earlier path. instead of saying:

export path=$cuda_install_path/bin 

say:

export path=${cuda_install_path}/bin:${path} 

Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

How to get multiresult with multicondition in Sql Server -