Can someone explain why these commands doesn't work
me@suse:~> ifconfig
Absolute path to 'ifconfig' is '/sbin/ifconfig', so running it may require superuser privileges (eg. root).
.
me@suse:~> sudo ifconfig
root's password:
sudo: ifconfig: command not found
And why these work
me@suse:~> sudo /sbin/ifconfig
.
suse:/home/me # ifconfig
I know is something related with root user, but I want a better explanation.