I vaguely recollect that in Unix v5 as distributed to universities by Western Electric in 1976, there was a chdir command. Which if only the first 3 chars were compared would have been like chd. But that's almost a half a century ago ... memories do get corrupted, e.g. by CP/M.