More times than I want to admit I will open a config as a non-super user and will go about making the changes I need. As soon as I save in nano, or vi I am met with permissions errors.
At this point I c/p foo my way around so I can close and reopen with sudo
.
Is there a way to escalate to a super user in order to save without closing and reopening in vi or nano?