Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

vim save as sudo

Encouraging Elk answered on May 5, 2023 Popularity 3/10 Helpfulness 5/10

Contents


More Related Answers

  • ubuntu set sudoers to use vim
  • vim sudo write
  • save vim file unix
  • take sudo access inside vim
  • how to insert in vim and save
  • save and quit keys vim
  • save and close vim
  • vim sudo write
  • vim save exit
  • vim save session
  • vim save file
  • linux vim save

  • vim save as sudo

    0

    vim save sudo

    What the vim and shell command does: 

      :w – Write a file (actually buffer).

      !sudo – Call shell with sudo command.

      tee – The output of write (vim :w) command redirected using tee.

      % – The % is nothing but current file name.

    Popularity 3/10 Helpfulness 5/10 Language whatever
    Link to this answer
    Share Copy Link
    Contributed on May 05 2023
    Encouraging Elk
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.