On Thu, May 19, 2022 at 05:47:29AM -0500, Tom Browder wrote: > $ sudo su > # ./myprog install
Again, there's no reason to use both "sudo" AND "su". Just "sudo -s" would give you the interactive root shell, without changing directory. I feel like you're doing "sudo su" out of some bad habit that you've developed. You'd be doing yourself a favor if you retrain yourself to use "sudo -s" instead.