CMD cannot "read" my phones /etc/hosts file when editing it via adb
I managed to do it via pulling it on my pc and pushing it back on my phone:

adb pull /system/etc/hosts F:\hosts # then edit it with notepad, etc
adb push F:\hosts /system/etc/      # pushing it back on my phone