On Thu, Mar 27, 2025 at 08:29:50PM -0500, David Wright wrote:
Excellent, that solves the problem for those on old terminals or lacking copy/paste. As for me, I'll continue to use /bin/su --login, as I have for nigh on three decades, so that I land in my preferred, consistent cwd, /root.
su -does the same thing, is less to type, and is portable. (It's technically deprecated in favor of su -l, but it's unlikely to go anywhere.)