this post was submitted on 24 Mar 2024
355 points (95.4% liked)

linuxmemes

20865 readers
2344 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 15 points 6 months ago (10 children)

Is there an editor that can request root privileges without restarting it? That would be quite useful.

[โ€“] Botzo 5 points 6 months ago

It's a simple trick in Vim:

https://stackoverflow.com/a/7078429

For the lazy: :w !sudo tee > /dev/null %

load more comments (9 replies)