Linux: Unavailable Commands in Bash

If commands such as halt, ifconfig, ip, shutdown, etc. are “missing” from the command-line interpreter (typically bash), the PATH variable needs to be updated as follows.

echo 'export PATH="$PATH:/sbin"' >> ~/.bashrc
source ~/.bashrc
Advertisements
This entry was posted in Linux and tagged , , . Bookmark the permalink.