Wouldn’t you want to just want to type q! As you’ve probably opened it and accidentally made changes you didn’t want to. So you wouldn’t want to save the config file. Or the text file you just created.
I’m not the most Linux savvy but when I ssh onto a work machine I’ll use a terminal editor instead of copying the file onto a local machine, editing the file in a GUI and then overwriting the file on the remote machine
Add comment