Pages

Thursday, August 16, 2012

Linux bash shell script to create multiple files

Linux/Unix bash shell script to multiple files.
There is no need to create a shell script to create multiple files. with just one command we can accomplish this.

touch {1..100}.txt 
This command will create files such as 1.txt to 100.txt. This is called brace expansion. Know more about it here.

0 comments:

Post a Comment