you are viewing a single comment's thread
view the rest of the comments
[–] 3 points 1 year ago

Correct but it uses the SUDO_EDITOR environment variable. The benefit is more security while editing system files, it creates a temporary file and when you finish it writes changes to the original. There is more to it but that is all I know, it prevents some exploits.

  • source
  • parent