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

Small pedantic correction, but you can’t preface every command with sudo; only executables can be invoked with sudo as it can’t elevate your current shell. Naturally, the way to execute non-executables such as builtin routines as root is to just spawn into a root shell with sudo su.

  • source
  • parent