Remix.run Logo
bandrami 3 hours ago

20 years of administering Linux systems and I didn't know the read -s trick.

wahern 2 hours ago | parent [-]

read -s in pdksh does nearly the opposite, saving the string to your history file! See https://man.openbsd.org/ksh#read pdksh is the system shell on OpenBSD, among others, and I just confirmed this is indeed what it does in OpenBSD.

bandrami 15 minutes ago | parent [-]

Yeah, I came to Linux from BSD and still have some ksh and csh muscle memory from The Before Time