ifconfig command not found ?

Thank you @Fourdee,
I’ve already set TERM=linux in .bashrc according to your recommendation, see this thread: https://dietpi.com/forum/t/xterm-16color-unknown-terminal-type/1108/1

No joy …
PATH KO from LXterminal via RDP and PATH OK when from OSX terminal.
Seems PATH is set differently when i’m logging from RDP (Microsoft Remote Desktop).
/usr/sbin is not in the PATH replaced by /usr/X11R6/bin

For example, same issue when running other command from LXterminal via RDP:

root@DietPi:~# reboot
root@DietPi:~# bash: reboot: command not found

Everything else is running perfectly …
Any idea ?