Skip to content

Instantly share code, notes, and snippets.

@mikbe
mikbe / md.sh
Created March 8, 2011 14:59
Bash: Make a directory and change into it in one easy command
#!/bin/bash
# You should add this to your .profile file
md () { mkdir -p "$@" && cd "$@"; }