• NiHaDuncan@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    7 hours 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.