Score:0

How to fix error not valid identifier?

qa flag
Leo

every time i open a bash session i am having the following error message in the terminal.

bash: export: `Files/Docker/Docker/resources/bin:/mnt/c/ProgramData/DockerDesktop/version-bin:/mnt/c/Users/Myusername/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/Myusername/AppData/Local/Programs/Microsoft': not a valid identifier

bash: export: `Code/bin:/snap/bin:/usr/local/go/bin:/root/go/bin': not a valid identifier

I am new to linux and bash, i don't really understand what is wrong here. Can someone help me fix this, please?

hr flag
Did you recently try to add a PATH to one of your shell startup files?
Leo avatar
qa flag
Leo
yes i did a lot of that lately, got a new laptop, so i had to set environments variable here and there. Last one was golan, which makes sense but for the 1st line of error i am totally lost, can you help with that? @steeldriver
hr flag
Without seeing the contents of the file(s) you edited (~/.bashrc ? ~/.bash_profile ?) it's hard to help - most likely you made a mistake with whitespace and/or quoting
hr flag
... as well, if you're using WSL please make that clear either in the body of the question or by adding the [windows-subsystem-for-linux tag](https://askubuntu.com/questions/tagged/windows-subsystem-for-linux)
Leo avatar
qa flag
Leo
i run ~/.bash_profile, i get no such file in directory
Bodo avatar
pt flag
Don't cross-post the same question. https://unix.stackexchange.com/q/722389/330217 https://askubuntu.com/q/1437006/1186757 https://stackoverflow.com/q/74191044/10622916
Leo avatar
qa flag
Leo
I have been stuck on this for a couple of days, not getting answers here I thought it was the wrong community. Should I delete or flag it as related? @Bodo
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.