Just FYI. Basically autocd option was added only in Bash 4.0 Check this link : http://stackoverflow.com/questions/890086/bash-blank-alias-to-cd
-D <http://stackoverflow.com/questions/890086/bash-blank-alias-to-cd> On Wed, Dec 15, 2010 at 5:26 PM, sasi <[email protected]> wrote: > On Wed, Dec 15, 2010 at 4:02 PM, Tha.Suresh <[email protected]> > wrote: > > > Autocd: > > > > It's a Auto Directory changing command. We can change into any > > directory without the use of 'cd' command.So we can utilize the time > > of typing "cd" command. ;) > > > > > > th...@tha-admin-da ~ $ shopt -s autocd > > th...@tha-admin-da ~ $ Desktop/ > > cd Desktop/ > > th...@tha-admin-da ~/Desktop $ cd > > th...@tha-admin-da ~ $ /var/log/cups/ > > cd /var/log/cups/ > > th...@tha-admin-da /var/log/cups $ > > > > To reside the above option as a permanent one, edit the .bashrc file > > and add this line "shopt -s autocd" into it. > > > > Enjoy :) > > > > > > -- > > Regards, > > Tha.Suresh > > http://thasulinux.wordpress.com > > _______________________________________________ > > ILUGC Mailing List: > > http://www.ae.iitm.ac.in/mailman/listinfo/ilugc > > > > > $ shopt -s autocd > bash: shopt: autocd: invalid shell option name > > How to solve this?????? > -- > Best Regards, > R.Sasikala , D.C.E., M.C.A. > Associate System Engineer, > Chennai. > _______________________________________________ > ILUGC Mailing List: > http://www.ae.iitm.ac.in/mailman/listinfo/ilugc > _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
