Modify file in Whonix

Hello
I tried to modify file with GEDIT and VI but in terminal I can’t delete or add lines.
Any tip?

Regards