Whenever i execute a command it says: Command 'name of command i am trying to run' is available in the following places: [closed]
Whenever I type neofetch, i get this error:
Command 'neofetch' is available in the following places
* /bin/neofetch
* /usr/bin/neofetch
The command could not be located because '/usr/bin:/bin' is not included in the PATH environment variable.
neofetch: command not found
This also happens to a lot of other commands that I run. Here is what happens when I run echo $PATH:
$HOME/.local/bin:$PATH
Solution 1:
To fix this issue use this command in terminal
export PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"