Skip to content

Non Omnis Moriar

Documenting is serious business

  • Home
  • About

Search

Categories

  • Gotchas
  • KnowledgeBase
  • Uncategorized

Save file in VIM that requires root permission

:w !sudo tee %:w !sudo tee %

Then press L to load content that you wished to save

Source: https://www.cyberciti.biz/faq/vim-vi-text-editor-save-file-without-root-permission

Posted on 2025-06-19Author srsbizCategories Uncategorized

Post navigation

Previous Previous post: Scope of “set” in twig templates
Proudly powered by WordPress