You've got one of these lying around. Just make it has a 4GB capacity or better. While most Ubuntu distros are less than 2GB, some like Ubuntu Studio are larger. On Ubuntu, hit your Super key ...
It's a modal text editor, and it has both an insert and command mode. Ubuntu terminal with the vi command being used to open a new file. Remember to use sudo if you want to edit a system file.