Update /etc/hosts via shell

How can i update /etc/hosts ? I need to add some config for an ip.

Hey,

You won’t be able to edit /etc/hosts permanently on a Render instance. What are you trying to do?

Jérémy.
Render Support, UTC+3