setedit -a /etc/hosts -s "127.0.1.1 example.com"
Note: For the open-source F-Droid version, the package name may change to io.github.muntashirakon.setedit . 🚀 Top SetEdit Commands for Performance Setedit Command