CentOS6 and tilde expansion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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 ~]# /bin/csh
[root@frodo ~]# cd ~john
[root@frodo ~john]# pwd
/home/john
[root@frodo ~john]#

I couldn't find anything in the bash man page that suggests this
feature needs explicit configuration.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux