Bash brace expansion

Brace expansion is a Bash shell feature that I never seem to remember.

[dan@ganymede ~]$ echo httpd.conf{,.bak}
httpd.conf httpd.conf.bak
[dan@ganymede ~]$ echo abcd{1,2}
abcd1 abcd2

Leave a Reply

Your email address will not be published.