For Greg: I'm trying to get my muscle memory to use "sudo -i" and "sudo -s" as you said to become root user for more work (thanks for the great explanation).
One more question: when I need a one-liner as root, do I also use the '-i' or '-s' with sudo to get the desired path? Thanks, -Tom