# prompt means root shell. If you are at a root shell then you don’t need to use sudo. For a normal-user shell the prompt is $ not #. Furthermore, Debian includes /sbin in the path when you use sudo, so if you are using sudo then “sudo ifconfig” will work just fine without needing the full path.
You can create the alias of ifconfig like:
leafpad .bashrc
alias ifconfig=’/sbin/ifconfig’
Save, exit, close console & reopen.
Then type ifconfig as normal user as u wish
The anwser is /usr/src/linux-headers-x.xx.x-xx/tools/hv/hv_set_ifconfig.sh
In your other terminal when you want to install vmware tool with sudo ./vmware-install.pl -d and when he ask “setup is unable to find the “ifconfig” program etc” write yes and write this :
/usr/src/linux-headers-x.xx.x-xx/tools/hv/hv_set_ifconfig.sh
Enter
And they finish alone to install vmware tools.
Edit : For me, it’s was : /usr/src/linux-headers-4.10.0-19/tools/hv/hv_set_ifconfig.sh