💻 Software
Logged in to vi, made changes, forgot to sudo first - now what
Fresh7 days ago
Mar 15, 20263575 viewsConfidence Score0%
0%
Problem
I made lengthy changes to a configuration file on a Ubuntu Linux computer with the vi editor. Unfortunately, I forgot to sudo first, so now I'm in the editor, but can't save my changes because of missing rights. Can I retroactively sudo the user on that terminal, or what would be the best course of…
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Logged in to vi, made changes, forgot to sudo first - now what
Low Risk
From SO: I actually find myself using this way to do it more frequently now: I think it's a little more intuitive, as I know what does, whereas I don't have a visceral understanding of . Also, it's easy to miss the very important space between the a…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix