>_ linuxcommand.dev
Startseite :w sudo tee %
Vim

:w sudo tee %

Write out the current file using `sudo`.

Syntax
$:w sudo tee %
Examples
Examples
$:w sudo tee %
Typical use cases
Save with sudo
:w sudo tee %
Note Global and Exiting. Saves the file with sudo privileges.
Export