• Skip to primary navigation
  • Skip to content
  • Skip to footer
Antonio.Cloud
  • Tags
  • Categories
  • Quotes
  • Training
  • Certifications
  • About
  • Contact
    Antonio Feijao UK

    Antonio Feijao UK

    AWS Infrastructure Architect at Genomics England, with Advanced Networking and Security Speciality certifications. Opinions are my own

    • London, United Kingdom
    • Antonio.Cloud
    • LinkedIn
    • Twitter
    • GitHub

    Vim Forgot Sudo To Save

    less than 1 minute read

    vim and forgot to sudo and now?

    vim forgot to sudo

    Forgot to sudo vim before opening the file and now cannot save the file within vim.

    Here is the solution:

    :w !sudo tee %

    • source https://intelligentbee.com/2017/06/08/save-file-vim-forgetting-use-sudo/

    Tags: linux, root, security, sudo

    Categories: Linux

    Updated: September 15, 2019

    Twitter Facebook LinkedIn
    Previous Next

    Comments

    You May Also Enjoy

    Python3 create and active a python virtual environment

    less than 1 minute read

    Intro to Python3 environments

    AWS pages with dark-theme feature

    less than 1 minute read

    Have you tried the AWS dark theme feature with cookie named awsc-color-theme?

    Raspberry Pi 4 Usb Wireless Drivers That Work Out Of The Box

    2 minute read

    Raspberry Pi 4 USB Wireless dongles that work out-of-the-box

    Micro-SD cards write speed test

    less than 1 minute read

    While copy the Raspberry Pi image into a couple of micro-sd cards using the method “setting up a headless raspberry pi” (link below),

    • Antonio.Cloud
    • LinkedIn
    • GitHub
    • Twitter
    • Feed
    © 2019-2022, Antonio.Cloud. All rights reserved. Powered by Jekyll & Minimal Mistakes.