I am getting a following error message:
"Error found when loading /home/user/.profile:
/home/user/.profile: line 30: export =': not a valid identifier /home/user/.profile: line 30:export: home/user/bin:/home/user/.local/bin:/home/user/.local/bin:/usr/
local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/ga
mes:/snap/bin':not a valid identifier
As a result a session will not be configured correctly. You should fix the problem as soon as feasible."
After using shellcheck.net I corrected both .profiles and .bashrc so it gives no error msg anymore. Now, when I restart my PC, I get the following msg: " /home/user/.profile line 16: /home/user/.bashrc: Permission denied. " When I open a terminal the first line is:
bash: /usr/share/bash-completion/bash_completion: Permission denied
Any ideas on how to proceed ?
Many thanks in advance !
/home/user/.profilein an editor, go to line 30 and fix it there. - KamilCuk=. Copy the content of.profilefile into shellcheck.net and fix the mistakes. - KamilCuk