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_badwindow` and diff them. Same forsttysettings. Good luck. – shellter Oct 5 '12 at 19:15cdalone takes you to your home directory. No need for the~– Stephane Chazelas Oct 5 '12 at 20:24