bash: ifconfig: command not found
use "su -l" to switch to root account, not just "su" only
who to test
1. login as root
echo $PATH
2. login as normal user
echo $PATH
3. login as normal user, su to root by
su
echo $PATH
4. login as normal user, su to root by
su -l
echo $PATH