Vim
:w sudo tee %
Write out the current file using sudo.
Syntax
$:w sudo tee %
Beispiele
$:w sudo tee %
Typische Anwendungsfälle
?
Standardverwendung
:w sudo tee % --help
Hinweis
Global and Exiting. Speichert die Datei mit sudo-Rechten.
Export