You can do either of the following:
-
Open your
~/.bashrc
file and write the following to the end:export PATH=$PATH:/sbin
and then do source ~/.bashrc
or open a new terminal instance.
-
or open your
/etc/environment
and add/sbin
to end of thePATH
variable, so that is as follows:PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/bin:/usr/games:/sbin"