@WinEunuuchs2Unix Sorry about the fragmentary comments posted on
that answer about
sudo
-related side topics that aren't actually relevant enough to be worth commenting about there (the question is about
su
, after all). I hadn't meant to press Enter on either of them (and didn't immediately notice that I had in either case). Anyway, I've edited the post to mention that stuff like
cd ~
works for the regular
cd
command.