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
echo $PATH
and edit your original question to show the resuilt, your current PATH. – sudodus Nov 04 '21 at 17:42PATH
variable aren't listed anymore. We recently had a similar case where a typo in a line to extend thePATH
probably was the cause. Maybe it's a similar cause in your case. – Henning Kockerbeck Nov 04 '21 at 17:44echo $PATH
. Maybe you set it literally (within single quotes), so that it is not expanded. In my computer it is/home/sudodus/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/games
(one line) – sudodus Nov 04 '21 at 17:50PATH
? I've seen cases where people copied some stuff in and wound up with curly quotes. Maybe the line that adds$HOME/.local/bin
was printed with a similar glyph replacing$
where you copied it from. – Henning Kockerbeck Nov 04 '21 at 17:57