• rem26_art@fedia.io
    link
    fedilink
    arrow-up
    2
    ·
    4 hours ago

    sudo -i starts a login shell as the specified user. Login shell means it’ll read that user’s bashrc/zshrc/whatever other login files and apply those. If no user is specified, then it’ll login as root, so you get a root shell