CSchantz Wiki

Path related commands and checking

Path's

Debian users should use su -

Ubuntu users should user sudo

Rhel Based users should use sudo

Check current paths

echo $PATHS

Standard set of paths that are needed.

PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"

If you are having issues with a specific command use “locate” to find it

apt install locate or mlocate
updatedb
locate “a command that is not working”

Standard locations PATH information is stored

nano /etc/profile
nano /etc/bash.bashrc