mkdir foo e imediatamente entra nele
http://superuser.com/questions/152794/is-there-a-shortcut-to-mkdir-foo-and-immediately-cd-into-it # ~/.bashrcfunction mkcd { if [ ! -n “$1” ]; then echo “Enter a directory name” elif [ -d $1 ]; then echo “`$1′ already exists” else mkdir $1 …
Continuar lendo