I have two PuTTy sessions open to the same host. One one cd ~ gets me back to my home dir fine and on another one it doesn't -- stays in the same dir.
I have never seen something like this happen.
Any idea why this might be happening?
OS: SunOS 5.10
set > env_goodwindow; set > env_badwindowand diff them. Same forstty` settings. Good luck. – shellter Oct 05 '12 at 19:15cdalone takes you to your home directory. No need for the~– Stéphane Chazelas Oct 05 '12 at 20:24