A common idiom in UNIX is to create a dir and then cd into it to do something. This is is a ksh compliant function to make a dir and cd into it... note that if you are dumb and give it more than one arguement you'll probably be sad. To use put this in your .profile or .bashrc or where ever you put your shell tweaks. I've been told that this thing is easier to do in zsh. --snip--snip--snip-- cdmkdir () { mkdir "$*"; cd "$*"; } --snip--snip--snip-- --timball |