Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

vim sudo write

:w !sudo tee %
Comment

vim sudo write

For Neovim: https://github.com/lambdalisue/suda.vim

"In init.vim
Plug 'lambdalisue/suda.vim'

Run :SudaRead
It will prompt for password when you next try to :w
Comment

PREVIOUS NEXT
Code Example
Shell :: git merge theirs 
Shell :: ubuntu history select 
Shell :: error timed out while waiting for handshake digitalocean 
Shell :: apply gitignore to current commit 
Shell :: npm install discord.js 
Shell :: mac os htop not returning cpu 
Shell :: how to overwrite symlink linux 
Shell :: php enable module 
Shell :: ffmpeg take screenshot 
Shell :: gcloud select project 
Shell :: how to upgrade snap packages 
Shell :: bash: ufw : commande introuvable 
Shell :: powershell progress bar 
Shell :: libevent ubuntu install 
Shell :: linux replace spaces with underscore from all files in directory 
Shell :: how to remove git hooks 
Shell :: react native git error: src refspec main does not match 
Shell :: bash script write linux 
Shell :: change ownership of a directory in ubuntu 
Shell :: no such file or directory scandir node-sass/vendor 
Shell :: Upgrading/ updating dart sdk 
Shell :: check disk space ubuntu from terminal 
Shell :: git reset head 2 commits 
Shell :: apt find package 
Shell :: how to install deb package on manjaro 
Shell :: how to grep if the first letter is a character not a number 
Shell :: g++ use c++20 
Shell :: magento 2 reindex command line 
Shell :: Permission denied (publickey,gssapi-keyex,gssapi-with-mic). 
Shell :: wsl install cmake 
ADD CONTENT
Topic
Content
Source link
Name
2+8 =