Found this nifty lifehacking gem to create multiple directories: http://unix.stackexchange.com/a/640/7768
I was wondering if there are other commands support brace expansion?
The braces are a shell expansion, so you can use them with any command. For the record, it doesn't have to be
And you can nest, which I often use for installing/uninstalling (
which expands to
Further more, it can even have regular expressions. A correctly-formed brace expansion must contain unquoted opening and closing braces, and at least one unquoted comma or a valid sequence expression. Any incorrectly formed brace expansion is left unchanged. Example: