Hallo,
before I can execute most commands on my OSMC I have to run
export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
Why is this and what is the best way to fix this?
Mebus
Hallo,
before I can execute most commands on my OSMC I have to run
export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
Why is this and what is the best way to fix this?
Mebus
Can you give an example command?
It’s not normal and must be related to a specific change on your system
Have you made any changes to your .bashrc or .profile files?
The default $PATH comes from /etc/profile and then the addition of further entries from /etc/profile.d/100-add-sbin.sh and /etc/profile.d/104-add-osmc-bin.sh but if you have incorrectly set the $PATH in your .bashrc or .profile it’s easy to overwrite these.
How are you logging in (via SSH?) and what user are you logging in as?
At this point we need more information from the OP.