Save a file you edited in vim without the needed permissions Sometime it's needed elevate permission in vim editor when file was opened by user that doesn't have permission. Belowe one-liner (I always love one-liner commands/script) command saves the day.
Because I usually need it and I always forget.
Step 1 Log into 'Oracle VM Manager' CLI. Step 2 Find the guest VM 'Config File Mounted Path'. Step 3 Connect to the Oracle VM Server host (hypervisior). Step 4 Create a symbolic link to the 'vm.cfg' file of guest VM. example: Step 5 Restart Oracle VM Server host.