Re: [CentOS] CentOS6 and tilde expansion

2012-01-05 Thread isdtor
> It's not generally true, tilde works just as expected here on C6 with bash. > Perhaps something's been cached by bash from when NIS was setup incorrectly? That's most likely it. All is working fine after a reboot. > I'd assume cd ~root would work if that was the case. It does.

Re: [CentOS] CentOS6 and tilde expansion

2012-01-05 Thread m . roth
isdtor wrote: > Set up NIS and autofs on this new CentOS6 box, but it seems tilde > expansion no longer works in bash? > > [root@frodo ~]# cd ~john > -bash: cd: ~john: No such file or directory > [root@frodo ~]# cd /home/john Works jes' fine for me. There's something either in your environment, or

Re: [CentOS] CentOS6 and tilde expansion

2012-01-05 Thread John Hodrien
On Thu, 5 Jan 2012, isdtor wrote: > Set up NIS and autofs on this new CentOS6 box, but it seems tilde > expansion no longer works in bash? > > [root@frodo ~]# cd ~john > -bash: cd: ~john: No such file or directory > [root@frodo ~]# cd /home/john > [root@frodo john]# pwd > /home/john > [root@frodo

[CentOS] CentOS6 and tilde expansion

2012-01-05 Thread isdtor
Set up NIS and autofs on this new CentOS6 box, but it seems tilde expansion no longer works in bash? [root@frodo ~]# cd ~john -bash: cd: ~john: No such file or directory [root@frodo ~]# cd /home/john [root@frodo john]# pwd /home/john [root@frodo john]# It still works in t/csh: [root@frodo ~]# /b