Article 4VCFN Issue with linux path

Issue with linux path

by
lonewolve
from LinuxQuestions.org on (#4VCFN)
I messed up my path but for some reason I cannot fix it I have not looked at those settings in a while and really I forgot but every time I open a new terminal I have to set the path:

root@root:PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

If I don't then I get:

bash: ls: command not found

For all commands so every time I open a new terminal I have to set the path I don't know whats going on.

I have looked everywhere and i cant find any answers was hoping someone could help me on this and also my /etc/environment for some reason is empty now.

"setup"
root@root:uname -a
Linux dondata 5.3.0-kali2-amd64 #1 SMP Debian 5.3.9-1kali1 (2019-11-11) x86_64 GNU/Linuxlatest?d=yIl2AUoC8zA latest?i=nyYDZ8C-aLA:mVG5hx1nzpo:F7zBnMy latest?i=nyYDZ8C-aLA:mVG5hx1nzpo:V_sGLiP latest?d=qj6IDK7rITs latest?i=nyYDZ8C-aLA:mVG5hx1nzpo:gIN9vFwnyYDZ8C-aLA
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments