linux - bash: “export: command not found... -bash: export: `/usr/local/git/bin': not a valid identifier when opening terminal -


i followed setup git: https://www.howtoforge.com/how-to-install-the-latest-git-version-on-centos , seemed bash file broken. gives me error: bash: “export: command not found... -bash: export: `/usr/local/git/bin': not valid identifier

any step step solution this? tried restarting computer still appears.

you doing this:

export $var 

and var has value /usr/local/git/bin. export wants variable name.

$ var=/usr/local/git/bin $ export $var bash: export: `/usr/local/git/bin': not valid identifier 

Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -