Skip to main content

Thread: PATH is not permanently stored in file


i newbie ubuntu. want add following variables path. doing following steps.

1- open terminal window.
2- write following commands :
export goroot=/home/linux/go/hg
export goos=linux
export goarch=386
export gobin=/home/linux/go/bin

export path=$path:$gobin

when type following command in terminal window:
env | grep '^go'

shows following:
gobin=/home/linux/go/bin/
goarch=386
goroot=/home/linux/go/hg
goos=linux

have tried following command in terminal window
gedit ~/.bashrc

, pasted following lines in end of file.
goroot=/home/linux/go/hg
goos=linux
goarch=386
gobin=/home/linux/go/bin


problem , env not showing above mentioned variables in path. or using wrong command stored paths or storing path variables in wrong file ?

can 1 guide me , how store above mentioned variables in path permanently.

in advance

you forgot export.


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] PATH is not permanently stored in file


Ubuntu

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support