how to set micro as default for sudo? #2670
-
Ubuntu 20.04 export VISUAL=micro it doesn't work for sudo |
Beta Was this translation helpful? Give feedback.
Answered by
tomodachi94
Jan 1, 2023
Replies: 1 comment 1 reply
-
From Stack Overflow:
sudo -E visudo
After executing |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
lockcher4
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From Stack Overflow:
After executing
sudo -E visudo
, try executingvisudo /etc/some-file-that-needs-sudo
.