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 for
stty` settings. Good luck. – shellter Oct 05 '12 at 19:15cd
alone takes you to your home directory. No need for the~
– Stéphane Chazelas Oct 05 '12 at 20:24