Site icon Dan Siemon

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
Exit mobile version