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.
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