![]() |
![]() |
EnderUNIX tipsMail to My Friend , Home Page[ Shell Scripting ] "BASH SELL OPTION" - Ülkü SAYILAN - (2005-02-01 15:32:35) [3996] If you are using bash shell. There is a way to cd a particular directory even if you spelled incorrectly on the command line. Set the shell option to: shopt -s cdspell eg:- Suppose you want to cd to "cd /tmp" and you have miss typed to "cd /pmp" still it will cd to "cd /tmp". This setting will be very usefull if you have a long named directory. Mail to My Friend , Home Page |
|