Created: 2022-07-08
Tags: #permanent
:w !sudo tee %:w – Write a file
!sudo – Call shell with sudo command
tee – The output of write command redirected using tee
% - Indicate the Current filename. Here it is /etc/hosts
:wqw is for save
q is for quit