I try to set autocd option in bash so I don't have to type cd src and can just type src. However shopt -s autocd gives me:-bash: shopt: autocd: invalid shell option name(Ubuntu 8.04 hardy)
bash not setting autocd
bash;shopt
The autocd option was added in bash 4.0 (alpha). You shouldcheck your bash version ( echo $BASH_VERSION ) it is probably 3.2.