on trying to configurate go programming language i messed up my PATH in linux. I can not do any commands without specifing the path:
frede@frede-Lenovo-V110-15ISK:~$ ls Command 'ls' is available in '/bin/ls' The command could not be located because '/bin' is not included in the PATH environment variable. ls: command not found frede@frede-Lenovo-V110-15ISK:~$ echo $PATH /home/frede/bin:/home/frede/.local/bin:PATH:/home/frede/go/bin
However I can run it with the specified path. I tried to solve this problem at looking at similar threads, but I just couldn't find the solution for me. Can you please help me?
frede@frede-Lenovo-V110-15ISK:~$ grep 'PATH=' ~/.profile ~/.bashrc ~/.bash_profile /etc/profile /home/frede/.profile:PATH="$HOME/bin:$HOME/.local/bin:$PATH" /home/frede/.bashrc:export GOPATH=/home/frede/go /home/frede/.bashrc:export PATH=PATH:/home/frede/go/bin grep: /home/frede/.bash_profile: No such file or directory