can't open file for writing vim code example
Example: vim cant open file for writing
#close file using following command. This will request for account password
:w !sudo tee %
#close file using following command. This will request for account password
:w !sudo tee %