I need to create 26 files named a to z in single command. I thought touch
command would be sufficient with the regex, but it doesn't expand [a-z]
instead it creates a single file with name "[a-z]".
$ touch [a-z]
Any way to achieve these?
Note:
$ bash -version
GNU bash, version 4.3.30(1)-release (i686-pc-linux-gnu)
..
and not hyphen.. Thanks – mtk Aug 20 '15 at 17:20bash
,ksh
andzsh
. – cuonglm Aug 20 '15 at 17:21