cd
by itself not working. A long time ago I setup cd
with no parameter to be a help screen which I thought was "helpful" but which some frowned upon. I imagine the same like minded folks are behind the two down votes. I was torn between deleting the answer or leaving it there. It is off-topic you could say, but new users might appreciate it.