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

Reply via email to