Create directories using brace expansion

Posted on May 30, 2007 in Linux

Say you wan't to create several directories, for example rc0.d to rc6.d (vmware needs them for example to install)

you type:

mkdir rc{0..6}.d