OK - I am linux newbie - I am trying to edit a file from bash via
edit <filename> command in whatever the default mode is (I am assuming 'vi'?).
Problem is for the hell of me I cannot how to save and out of edit mode - this cheatsheet seems to suggest ESC should do the trick but it doesn't seem to work.
I am connecting via ssh from a mac to a linux suse enterprise 11 box.
Any help appreciated!