光。
2013年10月7日 星期一
vim以root身份存檔(save as root)
:w !sudo tee %
http://stackoverflow.com/questions/2600783/how-does-the-vim-write-with-sudo-trick-work
http://www.cyberciti.biz/faq/vim-vi-text-editor-save-file-without-root-permission/
沒有留言:
張貼留言
較新的文章
較舊的文章
首頁
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言