What is the etymology of $PWD? Is it an acronym?
I know there is a command pwd which prints working directory, but to my mind, it would have made more sense to name the variable $CWD for Current Working Directory, since shell variables contain data, rather than print them.
pwdis described as “print working directory pathname” in Thompson&Ritchie's UNIX Programmer's manual 5th edition, dated June 1974. And it's not in the 3rd edition. Alas, I cannot find a copy of 4th.pwdthe utility and thepwddata structure field come from MULTICS. I believePWDthe environment variable was added on UNIX. It certainly predatesksh88though.