0

I got this error message when restarting my ubuntu laptop. I went into a login loop, and so I pressed ctrl + alt + F3

To access terminal, which I did, but I experienced this error:

Command 'lesspipe' is available in the following places
 * /bin/lesspipe
 * /usr/bin/lesspipe
The command could not be located because '/bin:/usr/bin' is not included in the PATH environment variable.
lesspipe: command not found
Command 'dircolors' is available in '/usr/bin/dircolors'
The command could not be located because '/usr/bin' is not included in the PATH environment variable.
dircolors: command not found
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

I temporarily fix this error running below command, but when I open again, this error is again coming, I again running below command.

export PATH="/usr/bin:/bin:$PATH"

But when I comeback to login, it still fails with same error. Any help to resolve this?
I am on ubuntu 20.04.1 LTS

echo $PATH returns

-bash: /home/username/.local/bin:/usr/local/bin:...: no such file or directory
Brian Ngeywo
  • 101
  • 1
  • @GerardH.Pille It is part of a Unix path export. Did you skip some steps in your Linux training? – DavidPostill Nov 24 '20 at 16:06
  • @DavidPostill It wasn't part of en export when I posted my comment. Perhaps you should have a look at the edit history, if you have the time. If you believe an "echo $PATH" would return "no such file", well, ... – Gerard H. Pille Nov 24 '20 at 19:12

0 Answers0