• Skip to primary navigation
  • Skip to content
  • Skip to footer
Antonio Feijao UK, AWS Infrastructure Architect, Networking, Security, AWS, Python 3, Cyber Security, Linux, MacOS
  • Posts
  • Categories
  • Tags
  • About
  • Contact
  • Experience
  • Certifications
  • Skills
  • Feedback
  • Cyber-Security-Updates
    Antonio Feijao

    Antonio Feijao

    AWS Infrastructure Security Architect.

    • Website
    • Twitter
    • GitHub
    • Instagram

    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

    You May Also Enjoy

    AWS S3 PutObject automatically creates a S3 Presigned URl and emails the link via SNS topic

    less than 1 minute read

    Sample lambda functions that run based on event trigger from EventBridge on S3PutObject.

    Rubik’s cube solved in 3 minutes by Antonio Feijao

    less than 1 minute read

    Antonio Feijao solves the rubik’s cube in 3 minutes

    Finding duplicated files using command line CLI in Linux MacOS Ubuntu

    less than 1 minute read

    Easy way to find duplicated files in a folder or in all disk

    AWS Security Hub work in Python 3 and Boto3

    4 minute read

    Testing some commands with python3 and boto3

    © 2019-2022, Antonio Feijao. All rights reserved.

    • Twitter
    • GitHub
    • Instagram
    • Feed
    © 2022 Antonio Feijao UK, AWS Infrastructure Architect, Networking, Security, AWS, Python 3, Cyber Security, Linux, MacOS. Powered by Jekyll & Minimal Mistakes.